/*
 * Fill Bar: components
 * Needs tokens.css first. Every class starts with "fb-" so it can sit next to any other CSS.
 */

/* Base */
.fb { margin: 0; background: var(--fb-page); color: var(--fb-ink); font-family: var(--fb-sans); font-size: var(--fb-text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.fb *, .fb *::before, .fb *::after { box-sizing: border-box; }
.fb img, .fb svg { max-width: 100%; display: block; }
.fb a { color: var(--fb-indigo); }
.fb-container { width: min(100% - 40px, var(--fb-container)); margin-inline: auto; }
.fb-narrow { width: min(100% - 40px, var(--fb-narrow)); margin-inline: auto; }
.fb-center { text-align: center; }
.fb-center .fb-lead { margin-inline: auto; }

/* Sections */
.fb-section { padding-block: var(--fb-section); }
.fb-section--white { background: var(--fb-white); border-block: var(--fb-border); }
.fb-section--ink { background: var(--fb-ink); color: var(--fb-white); }
.fb-section--ink .fb-lead { color: rgba(255, 255, 255, .68); }

/* Type: heavy rounded Manrope headlines, the second line in indigo */
.fb-hero-title, .fb-h2, .fb-h3 { margin: 0; font-family: var(--fb-display); font-weight: 800; color: inherit; }
.fb-hero-title { font-size: var(--fb-text-hero); letter-spacing: var(--fb-tracking-hero); line-height: 1.08; }
.fb-h2 { font-size: var(--fb-text-h2); letter-spacing: var(--fb-tracking-h2); line-height: 1.12; }
.fb-h3 { font-size: var(--fb-text-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.fb-accent { color: var(--fb-indigo); }
.fb-section--ink .fb-accent { color: var(--fb-tint-2); }
.fb-lead { max-width: 620px; margin: 18px 0 0; color: var(--fb-soft); font-size: var(--fb-text-lead); line-height: 1.55; }
.fb-eyebrow { display: inline-block; margin-bottom: 12px; color: var(--fb-indigo); font-size: var(--fb-text-small); font-weight: 600; }
.fb-mono { font-family: var(--fb-mono); font-size: var(--fb-text-micro); }
.fb-muted { color: var(--fb-soft); }

/* Nav: plain, white page top, centered links */
.fb-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.fb-nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.fb-nav__links a { color: var(--fb-soft); text-decoration: none; }
.fb-nav__links a:hover { color: var(--fb-ink); }
.fb-nav__actions { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; }
.fb-nav__actions a:not(.fb-btn) { color: var(--fb-soft); text-decoration: none; white-space: nowrap; }
.fb-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--fb-ink); font-family: var(--fb-display); font-size: 21px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.fb .fb-logo { color: var(--fb-ink); }
.fb-logo__mark { width: 24px; height: 24px; flex: none; }

/* Buttons: one indigo button, white bordered for the rest */
.fb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--fb-radius-sm); font-family: var(--fb-sans); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s var(--fb-ease), border-color .2s var(--fb-ease), color .2s var(--fb-ease); }
.fb .fb-btn--primary, .fb-btn--primary { background: var(--fb-indigo); color: var(--fb-white); box-shadow: var(--fb-shadow-btn); }
.fb-btn--primary:hover { background: var(--fb-indigo-deep); }
.fb .fb-btn--secondary, .fb-btn--secondary { border-color: var(--fb-line); background: var(--fb-white); color: var(--fb-indigo); box-shadow: var(--fb-shadow); }
.fb-btn--secondary:hover { border-color: var(--fb-tint-2); }
.fb .fb-btn--light, .fb-btn--light { background: var(--fb-white); color: var(--fb-ink); }
.fb-btn--sm { padding: 8px 14px; font-size: 14px; }
.fb-btn--lg { padding: 15px 28px; font-size: 17px; }
.fb-btn--block { width: 100%; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fb-center .fb-actions { justify-content: center; }
.fb-note { margin-top: 14px; color: var(--fb-faint); font-size: var(--fb-text-small); }

/* Hero */
.fb-hero { padding-block: clamp(56px, 8vw, 104px) 0; }

/* Browser frame: three dots and a white body. Wraps the product shot */
.fb-frame { margin-top: 56px; border: var(--fb-border); border-radius: var(--fb-radius-lg); background: var(--fb-white); box-shadow: var(--fb-shadow-lg); overflow: hidden; }
.fb-frame__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: var(--fb-border); background: var(--fb-page); }
.fb-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--fb-line-strong); }
.fb-frame__body { padding: clamp(14px, 2.4vw, 28px); }
.fb-frame__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; font-size: var(--fb-text-small); }
.fb-frame__site { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* Live dot */
.fb-live { display: inline-flex; align-items: center; gap: 7px; color: var(--fb-soft); font-size: var(--fb-text-small); white-space: nowrap; }
.fb-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fb-mint); box-shadow: 0 0 0 3px var(--fb-mint-soft); }

/* Stat tabs: a row of plain numbers with a small change. The selected one is tinted */
.fb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border: var(--fb-border); border-radius: var(--fb-radius); overflow: hidden; }
.fb-stat { padding: 12px 16px; border-right: var(--fb-border); background: var(--fb-white); }
.fb-stat:last-child { border-right: 0; }
.fb-stat--on { background: var(--fb-tint); }
.fb-stat__label { display: block; color: var(--fb-soft); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.fb-stat__value { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-family: var(--fb-display); font-size: var(--fb-text-stat); font-weight: 800; letter-spacing: -.02em; }
.fb-delta { font-family: var(--fb-mono); font-size: 12px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.fb-delta--up { color: var(--fb-mint); }
.fb-delta--down { color: var(--fb-coral); }

/* Area chart: inline SVG, an indigo line over a tint fill on faint grid lines */
.fb-chart { margin-top: 18px; }
.fb-chart svg { width: 100%; height: auto; }
.fb-chart__grid { stroke: var(--fb-line); stroke-width: 1; }
.fb-chart__area { fill: var(--fb-tint); }
.fb-chart__line { fill: none; stroke: var(--fb-indigo); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.fb-chart__axis { fill: var(--fb-faint); font-family: var(--fb-mono); font-size: 11px; }

/* Fill bars: the signature. A row with a tinted bar behind the label (sized by --w) and the number in its own column */
.fb-bars { border: var(--fb-border); border-radius: var(--fb-radius); background: var(--fb-white); padding: 14px 16px; }
.fb-bars__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--fb-soft); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.fb-bars__title { color: var(--fb-ink); font-family: var(--fb-display); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.fb-bar { display: flex; align-items: center; gap: 14px; font-size: var(--fb-text-small); }
.fb-bar + .fb-bar { margin-top: 4px; }
.fb-bar__label { position: relative; z-index: 0; flex: 1; min-width: 0; padding: 6px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-bar__label::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0; width: var(--w, 50%); border-radius: var(--fb-radius-sm); background: var(--fb-tint); }
.fb-bar__value { flex: none; min-width: 52px; font-family: var(--fb-mono); font-size: 13px; font-weight: 500; text-align: right; }

/* Cards and grids */
.fb-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.fb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.fb-card { padding: 26px; border: var(--fb-border); border-radius: var(--fb-radius-lg); background: var(--fb-white); box-shadow: var(--fb-shadow); }
.fb-card p { margin: 10px 0 0; color: var(--fb-soft); }
.fb-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: var(--fb-radius); background: var(--fb-tint); color: var(--fb-indigo); }
.fb-icon svg { width: 22px; height: 22px; }

/* Split: text next to a product panel */
.fb-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* Checklist */
.fb-checks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fb-checks li { display: flex; gap: 10px; }
.fb-checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--fb-mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%231c9f74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* Badge */
.fb-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: var(--fb-border); border-radius: var(--fb-radius-pill); background: var(--fb-white); color: var(--fb-ink); font-size: var(--fb-text-small); font-weight: 500; text-decoration: none; white-space: nowrap; }
.fb .fb-badge { color: var(--fb-ink); }
.fb-badge__tag { padding: 2px 9px; border-radius: var(--fb-radius-pill); background: var(--fb-tint); color: var(--fb-indigo); font-size: 12px; font-weight: 600; }

/* Quote strip */
.fb-quote { margin: 0; font-family: var(--fb-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.fb-quote__by { margin-top: 18px; color: var(--fb-soft); font-size: var(--fb-text-small); }

/* Pricing */
.fb-toggle { display: inline-flex; padding: 4px; border: var(--fb-border); border-radius: var(--fb-radius-sm); background: var(--fb-mist); }
.fb-toggle button { padding: 8px 16px; border: 0; border-radius: 4px; background: transparent; color: var(--fb-soft); font: 600 14px var(--fb-sans); white-space: nowrap; cursor: pointer; }
.fb-toggle button[aria-pressed="true"] { background: var(--fb-white); color: var(--fb-ink); box-shadow: var(--fb-shadow); }
.fb-slider { width: 100%; accent-color: var(--fb-indigo); }
.fb-plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.fb-plan { padding: 28px; border: var(--fb-border); border-radius: var(--fb-radius-lg); background: var(--fb-white); box-shadow: var(--fb-shadow); }
.fb-plan--on { border: 2px solid var(--fb-indigo); box-shadow: var(--fb-shadow-lg); }
.fb-plan__name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--fb-display); font-size: 20px; font-weight: 800; }
.fb-plan__price { margin-top: 14px; font-family: var(--fb-display); font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fb-plan__price small { color: var(--fb-soft); font-family: var(--fb-sans); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.fb-plan__desc { margin: 12px 0 22px; color: var(--fb-soft); font-size: 15px; }
.fb-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--fb-white); }
.fb-table th, .fb-table td { padding: 12px 14px; border-bottom: var(--fb-border); text-align: left; }
.fb-table thead th { background: var(--fb-mist); color: var(--fb-soft); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.fb-table td:not(:first-child), .fb-table th:not(:first-child) { text-align: center; }
.fb-table-wrap { border: var(--fb-border); border-radius: var(--fb-radius); overflow-x: auto; }
.fb-faq { border-top: var(--fb-border); }
.fb-faq details { padding: 18px 0; border-bottom: var(--fb-border); }
.fb-faq summary { cursor: pointer; font-family: var(--fb-display); font-size: 18px; font-weight: 700; }
.fb-faq p { margin: 10px 0 0; color: var(--fb-soft); }

/* Article */
.fb-article { font-size: 18px; line-height: 1.75; }
.fb-article h2 { margin: 44px 0 12px; font-family: var(--fb-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.fb-article p { margin: 0 0 20px; }
.fb-article blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--fb-indigo); font-family: var(--fb-display); font-size: 22px; font-weight: 700; line-height: 1.45; }
.fb-article figure { margin: 32px 0; }
.fb-article figcaption { margin-top: 10px; color: var(--fb-soft); font-size: var(--fb-text-small); }
.fb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; color: var(--fb-soft); font-size: 15px; }
.fb-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--fb-tint); color: var(--fb-indigo); font-family: var(--fb-display); font-weight: 800; }
.fb-callout { margin: 28px 0; padding: 18px 20px; border: var(--fb-border); border-radius: var(--fb-radius); background: var(--fb-mist); font-size: 16px; }

/* Forms */
.fb-form { display: grid; gap: 18px; }
.fb-field { display: grid; gap: 6px; }
.fb-label { font-size: var(--fb-text-small); font-weight: 600; }
.fb-input, .fb-select { width: 100%; padding: 11px 14px; border: 1px solid var(--fb-line-strong); border-radius: var(--fb-radius-sm); background: var(--fb-white); color: var(--fb-ink); font: 400 16px var(--fb-sans); }
.fb-input:focus, .fb-select:focus { outline: 0; border-color: var(--fb-indigo); box-shadow: 0 0 0 3px var(--fb-tint); }
.fb-hint { color: var(--fb-faint); font-size: 13px; }
.fb-check { display: flex; gap: 10px; align-items: flex-start; color: var(--fb-soft); font-size: 14px; }
.fb-check input { margin-top: 3px; accent-color: var(--fb-indigo); }

/* Footer */
.fb-footer { padding-block: 56px 40px; border-top: var(--fb-border); background: var(--fb-white); color: var(--fb-soft); font-size: var(--fb-text-small); }
.fb-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.fb-footer h4 { margin: 0 0 12px; color: var(--fb-ink); font-size: 14px; font-weight: 600; }
.fb-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fb-footer a { color: var(--fb-soft); text-decoration: none; }
.fb-footer a:hover { color: var(--fb-indigo); }
.fb-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: var(--fb-border); }

/* Phones */
@media (max-width: 760px) {
  .fb-nav__links { display: none; }
  .fb-nav__actions a:not(.fb-btn) { display: none; }
  .fb-stat { border-right: 0; border-bottom: var(--fb-border); }
  .fb-stats { grid-template-columns: 1fr 1fr; }
  .fb-stat:nth-child(odd) { border-right: var(--fb-border); }
}
