:root{--fb-accent:#4f58b8;--fb-accent-contrast:#ffffff;--fb-code-surface:rgba(20,30,50,.06);--fb-hover:rgba(20,30,50,.05);--fb-danger:#c0392b;--fb-font-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--fb-ink:#111827;--fb-paper:#ffffff;--fb-muted:#4b5563;--fb-line:#e1e5ea;--fb-surface:#f3f6f4;--fb-radius:18px;--fb-font-family:Inter, ui-sans-serif, system-ui, sans-serif;--fb-font-body:Inter, ui-sans-serif, system-ui, sans-serif;--fb-font-heading:'Playfair Display', Georgia, 'Times New Roman', serif;--fb-text-xs:12px;--fb-text-sm:14px;--fb-text-md:16px;--fb-text-lg:20px;--fb-text-xl:25px;--fb-text-2xl:31px;--fb-text-3xl:39px;--fb-space-1:4px;--fb-space-2:8px;--fb-space-3:12px;--fb-space-4:16px;--fb-space-5:24px;--fb-space-6:32px;--fb-space-7:48px;--fb-space-8:64px;--fb-measure:68ch;--fb-focus:#574df2;--fb-shadow-1:0 1px 3px color-mix(in srgb, #172033 10%, transparent);--fb-shadow-2:0 4px 12px color-mix(in srgb, #172033 14%, transparent);--fb-shadow-3:0 12px 32px color-mix(in srgb, #172033 20%, transparent);--fb-mark:color-mix(in srgb,var(--fb-accent-2,var(--fb-accent)) 30%,transparent);--accent:var(--fb-accent);--ink:var(--fb-ink);--paper:var(--fb-paper);--muted:var(--fb-muted);--line:var(--fb-line);--surface:var(--fb-surface);--fb-band:#172033;--fb-band-ink:#ffffff;--fb-accent-ink:#3d33c4;--fb-band-muted:#b8c0d0;--fb-accent-wash:#eeedfe;font-family:var(--fb-font-body)}h1,h2,h3,h4,h5,h6{font-family:var(--fb-font-heading)}mark{background:var(--fb-mark);color:inherit}:focus-visible{outline:2px solid var(--fb-focus);outline-offset:2px}html[data-fb-theme="dark"]{--fb-ink:#eef0f8;--fb-line:#2a3156;--fb-focus:#a3aaf2;--fb-muted:#a6acc6;--fb-paper:#0f1326;--fb-accent:#a3aaf2;--fb-surface:#161c36;--fb---fb-ink:#eef0f8;--fb---ca-sage:#73c5a9;--fb---fb-band:#090c1a;--fb---fb-line:#2a3156;--fb---fb-focus:#a3aaf2;--fb---fb-muted:#a6acc6;--fb---fb-paper:#0f1326;--fb---fb-accent:#a3aaf2;--fb-shadow-1:0 1px 3px color-mix(in srgb, #000000 10%, transparent);--fb-shadow-2:0 4px 12px color-mix(in srgb, #000000 14%, transparent);--fb-shadow-3:0 12px 32px color-mix(in srgb, #000000 20%, transparent);--fb---fb-surface:#161c36;--fb---ca-sage-ink:#a5e3cc;--fb---fb-band-ink:#ffffff;--fb---ca-sage-wash:#163a2e;--fb-accent-contrast:#0f1326;--fb---fb-accent-ink:#d3d6fb;--fb---fb-band-muted:#a6acc6;--fb---fb-accent-wash:#252c5c;--fb---fb-accent-contrast:#0f1326;--fb-band:#030819;--fb-band-ink:#ffffff;--fb-accent-ink:#ced5fe;--fb-band-muted:#b8c0d0;--fb-accent-wash:#292c43;}html[data-fb-theme="default"]{--fb-ink:#111827;--fb-line:#e1e5ea;--fb-focus:#4f58b8;--fb-muted:#4b5563;--fb-paper:#ffffff;--fb-accent:#4f58b8;--fb-surface:#f3f6f4;--fb---fb-ink:#111827;--fb---ca-sage:#73c5a9;--fb---fb-band:#161b45;--fb---fb-line:#e1e5ea;--fb---fb-focus:#4f58b8;--fb---fb-muted:#4b5563;--fb---fb-paper:#ffffff;--fb---fb-accent:#4f58b8;--fb-shadow-1:0 1px 3px color-mix(in srgb, #161b45 10%, transparent);--fb-shadow-2:0 4px 12px color-mix(in srgb, #161b45 14%, transparent);--fb-shadow-3:0 12px 32px color-mix(in srgb, #161b45 20%, transparent);--fb---fb-surface:#f3f6f4;--fb---ca-sage-ink:#1b6a4f;--fb---fb-band-ink:#ffffff;--fb---ca-sage-wash:#e4f3ec;--fb-accent-contrast:#ffffff;--fb---fb-accent-ink:#3f4aa8;--fb---fb-band-muted:#c3c7e6;--fb---fb-accent-wash:#eceefb;--fb---fb-accent-contrast:#ffffff;}@media (prefers-color-scheme:light){html:not([data-fb-theme]){--fb-ink:#111827;--fb-line:#e1e5ea;--fb-focus:#4f58b8;--fb-muted:#4b5563;--fb-paper:#ffffff;--fb-accent:#4f58b8;--fb-surface:#f3f6f4;--fb---fb-ink:#111827;--fb---ca-sage:#73c5a9;--fb---fb-band:#161b45;--fb---fb-line:#e1e5ea;--fb---fb-focus:#4f58b8;--fb---fb-muted:#4b5563;--fb---fb-paper:#ffffff;--fb---fb-accent:#4f58b8;--fb-shadow-1:0 1px 3px color-mix(in srgb, #161b45 10%, transparent);--fb-shadow-2:0 4px 12px color-mix(in srgb, #161b45 14%, transparent);--fb-shadow-3:0 12px 32px color-mix(in srgb, #161b45 20%, transparent);--fb---fb-surface:#f3f6f4;--fb---ca-sage-ink:#1b6a4f;--fb---fb-band-ink:#ffffff;--fb---ca-sage-wash:#e4f3ec;--fb-accent-contrast:#ffffff;--fb---fb-accent-ink:#3f4aa8;--fb---fb-band-muted:#c3c7e6;--fb---fb-accent-wash:#eceefb;--fb---fb-accent-contrast:#ffffff;}}@media (prefers-color-scheme:dark){html:not([data-fb-theme]){--fb-ink:#eef0f8;--fb-line:#2a3156;--fb-focus:#a3aaf2;--fb-muted:#a6acc6;--fb-paper:#0f1326;--fb-accent:#a3aaf2;--fb-surface:#161c36;--fb---fb-ink:#eef0f8;--fb---ca-sage:#73c5a9;--fb---fb-band:#090c1a;--fb---fb-line:#2a3156;--fb---fb-focus:#a3aaf2;--fb---fb-muted:#a6acc6;--fb---fb-paper:#0f1326;--fb---fb-accent:#a3aaf2;--fb-shadow-1:0 1px 3px color-mix(in srgb, #000000 10%, transparent);--fb-shadow-2:0 4px 12px color-mix(in srgb, #000000 14%, transparent);--fb-shadow-3:0 12px 32px color-mix(in srgb, #000000 20%, transparent);--fb---fb-surface:#161c36;--fb---ca-sage-ink:#a5e3cc;--fb---fb-band-ink:#ffffff;--fb---ca-sage-wash:#163a2e;--fb-accent-contrast:#0f1326;--fb---fb-accent-ink:#d3d6fb;--fb---fb-band-muted:#a6acc6;--fb---fb-accent-wash:#252c5c;--fb---fb-accent-contrast:#0f1326;--fb-band:#030819;--fb-band-ink:#ffffff;--fb-accent-ink:#ced5fe;--fb-band-muted:#b8c0d0;--fb-accent-wash:#292c43;}}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../_fonts/1/inter-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../_fonts/1/inter-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../_fonts/1/inter-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../_fonts/1/inter-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}
.fb-block{grid-column:1/-1;flex-basis:100%}
h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}.sc-nav>a,.sc-nav>.sc-nav-item{max-width:min(16rem,25vw);overflow-wrap:break-word}
.sc-nav-item{position:relative;display:inline-flex;align-items:center}.sc-nav-sub{position:absolute;left:0;top:100%;z-index:50;display:flex;flex-direction:column;width:max-content;max-width:min(20rem,calc(100vw - 16px));gap:1px;padding:5px;margin-top:6px;background:var(--fb-paper,#fff);border:1px solid color-mix(in srgb, var(--fb-line,rgba(20,30,50,.18)) 55%, transparent);border-radius:calc(var(--fb-radius,12px) * .4);box-shadow:var(--fb-shadow-1,0 1px 3px rgb(15 23 42 / 10%)),var(--fb-shadow-2,0 4px 12px rgb(15 23 42 / 14%));visibility:hidden;opacity:0;transform:translateY(-4px);transition:opacity 140ms ease,transform 140ms ease,visibility 0s linear 140ms}.sc-nav-sub::before{content:"";position:absolute;left:0;right:0;top:-7px;height:7px}.sc-nav-sub .sc-nav-sub{top:18px;left:100%;margin:0 0 0 6px}.sc-nav-sub .sc-nav-sub::before{left:-7px;right:auto;top:-26px;bottom:0;width:7px;height:auto}.sc-nav>.sc-nav-item:last-child>.sc-nav-sub{left:auto;right:0}.sc-nav>.sc-nav-item:last-child .sc-nav-sub .sc-nav-sub{left:auto;right:100%;margin:0 6px 0 0}.sc-nav>.sc-nav-item:last-child .sc-nav-sub .sc-nav-sub::before{left:auto;right:-7px}.sc-nav .sc-nav-has-children>a{display:flex;align-items:center;gap:6px}.sc-nav .sc-nav-has-children>a::after{content:"";display:inline-block;flex:none;width:0;height:0;vertical-align:middle;border:4px solid transparent;border-top-color:currentColor;border-bottom-width:0;margin-top:1px;opacity:.6}.sc-nav-sub .sc-nav-has-children>a{justify-content:space-between}.sc-nav-sub .sc-nav-has-children>a::after{border:4px solid transparent;border-left-color:currentColor;border-right-width:0;margin:0 0 0 6px}.sc-nav-has-children:hover>.sc-nav-sub,.sc-nav-has-children:focus-within>.sc-nav-sub{visibility:visible;opacity:1;transform:translateY(0);transition:opacity 140ms ease,transform 140ms ease,visibility 0s}.sc-nav-sub>a,.sc-nav-sub .sc-nav-item>a{display:block;padding:7px 11px;overflow-wrap:anywhere;border-radius:calc(var(--fb-radius,12px) * .28);transition:background-color 120ms ease,color 120ms ease}.sc-nav-sub>a:hover,.sc-nav-sub>a:focus-visible{background:var(--fb-hover,rgba(20,30,50,.06))}@media (prefers-reduced-motion:reduce){.sc-nav-sub{transform:none;transition:none}.sc-nav-has-children:hover>.sc-nav-sub,.sc-nav-has-children:focus-within>.sc-nav-sub{transform:none;transition:none}}.sc-page-index a[data-depth="1"]{margin-left:var(--fb-space-4,16px)}.sc-page-index a[data-depth="2"]{margin-left:var(--fb-space-6,32px)}.sc-page-index a[data-depth="3"]{margin-left:var(--fb-space-7,48px)}
/* styles/blocks.css */

/* block-recipe:core.products-apps */
.fb-products-apps{box-sizing:border-box;width:calc(100% - clamp(20px,5vw,72px) - clamp(20px,5vw,72px));max-width:calc(980px - clamp(20px,5vw,72px) - clamp(20px,5vw,72px));margin-block:clamp(28px,5vw,64px);margin-inline:auto}.fb-products-apps .fb-embed-frame,.fb-products-apps iframe{display:block;width:100%;max-width:100%;border:1px solid var(--fb-line,var(--line,rgba(20,30,50,.18)));border-radius:var(--fb-radius,16px);background:var(--fb-surface,#fff)}

/* styles/site.css */
/* ── Structure ────────────────────────────────────────────────────────────
   Shared by every style: layout, rhythm, and how the page reflows on a
   phone. Colours come from the theme tokens; the look itself — type, shape,
   surfaces — is the second half of this file.

   Classes, and what each is for (DESIGN.md → Components says how this
   style dresses them):
   .container      the centred page column
   .site-header    the top bar; .brand is the site name, fb-nav the links
   .site-footer    the bottom of every page
   .section        one block of the page; .section-head opens it
   .hero           the first section; .hero-grid puts copy beside a visual
   .band           a full-width tinted section; .band-dark the dark one
   .eyebrow        the small label above a heading
   .lead           the larger paragraph under a heading
   .highlight      the one accented word in a headline
   .muted          quieter text
   .btn            the main action; .btn-quiet the one beside it
   .btn-row        a row of actions
   .link-arrow     a text link that leads somewhere
   .card           a contained item; .card-grid lays cards out
   .panel          a product surface: status, lists, figures
   .badge          a short status or category; .badge-accent the loud one
   .stats          key figures: .stat, .stat-value, .stat-label
   .steps          a numbered list of what happens next
   .timeline       dated milestones; .is-done and .is-current mark progress
   .quote          a pull quote with its attribution
   .callout        a highlighted note
   .cta            the closing call to action
   .split          two columns that stack on a phone
   .avatar         initials in a circle; .avatars overlaps a row of them
   .progress       a bar; its inner span's width is the value

   Media and motion — large pictures and what moves as you scroll:
   .hero-media     a full-bleed opening: an <img> behind the copy, an overlay
                   from the style so the headline reads on any picture
   .band-media     a full-width picture band between sections, drifting
                   slower than the page
   .media-split    a picture beside the copy; .reverse puts it on the right
   .media-frame    a picture in the style's frame, anywhere
   .story          a picture pinned while its steps (.story-steps) scroll past
   .bento          a grid of picture tiles (.bento-tile; .bento-wide and
                   .bento-tall make larger ones; .bento-caption on a tile)
   .marquee        a slow strip of words or logos (.marquee-track, with its
                   items written twice so it loops)
   .reveal         rises into place as it enters the screen */

:root {
  --page-width: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-space: clamp(56px, 8vw, 104px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--fb-paper);
  color: var(--fb-ink);
  font-family: var(--fb-font-body);
  font-size: var(--fb-text-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--fb-font-heading);
  text-wrap: balance;
}

p,
blockquote,
figure {
  margin: 0;
}

/* The reset above leaves spacing to the container's gap — which is right
   inside the classes below, and wrong everywhere else: a heading and its
   paragraph in a plain <div> sat flush, a tight display heading's descenders
   touching the line under it, and the buttons glued to the text. So a
   heading, its text and its actions keep a floor of space between them by
   default. Zero specificity: any rule a site writes wins. */
:where(h1, h2, h3, h4) + :where(p, ul, ol, blockquote, figure) {
  margin-block-start: max(var(--fb-space-3, 12px), 0.4em);
}
:where(p, ul, ol, blockquote) + :where(p, ul, ol, blockquote) {
  margin-block-start: var(--fb-space-3, 12px);
}
:where(h1, h2, h3, h4, p, ul, ol, blockquote, figure) + :where(h2, h3, h4) {
  margin-block-start: var(--fb-space-5, 24px);
}
:where(h1, h2, h3, h4, p, ul, ol, blockquote, figure)
  + :where(.btn-row, .btn, .btn-quiet, form) {
  margin-block-start: var(--fb-space-5, 24px);
}
/* These already space their children with gap; a margin on top would
   double it. A container a site makes with its own gap gets both — more
   air than intended, never less. */
:where(
    .section-head,
    .hero-grid,
    .hero-copy,
    .split,
    .card,
    .card-grid,
    .panel,
    .stats,
    .stat,
    .steps,
    .steps > li,
    .timeline > li,
    .quote,
    .callout,
    .cta,
    .media-split,
    .story,
    .story-steps,
    .bento
  )
  > * {
  margin-block-start: 0;
}

.container {
  width: min(var(--page-width), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Header and footer */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  min-height: 68px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
}

/* A generated or uploaded logo mark replaces the initials: the picture fills
   the mark, which drops its own fill so the logo's ground shows. */
.brand-mark:has(> img) {
  overflow: hidden;
  background: none;
}

.brand-mark > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header .sc-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
}

.site-header .sc-nav a,
.footer-links a {
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* The palette picker the platform fills from the site's listed palettes
   (<fb-themes /> in a header or footer). Without this the buttons are the
   browser's own. */
button[data-fb-theme] {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

/* The two theme buttons sit together as one small control. */
button[data-fb-theme] + button[data-fb-theme] {
  margin-left: -6px;
}

button[data-fb-theme]:hover,
button[data-fb-theme][aria-pressed='true'] {
  background: color-mix(in srgb, currentColor 14%, transparent);
}

.site-footer {
  padding-block: 40px;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* Sections */

.section {
  padding-block: var(--section-space);
}

.section-head {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head.center {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.hero {
  padding-block: clamp(48px, 8vw, 112px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.band {
  background: var(--fb-surface);
}

.band-dark {
  background: var(--fb-band, var(--fb-ink));
  color: var(--fb-band-ink, var(--fb-paper));
}

.band-dark .muted,
.band-dark .lead,
.band-dark .eyebrow {
  color: var(--fb-band-muted, currentColor);
}

.band-dark :focus-visible {
  outline-color: var(--fb-band-ink, currentColor);
}

/* Type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lead {
  max-width: 38rem;
}

.muted {
  color: var(--fb-muted);
}

/* Actions */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn,
.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.btn {
  background: var(--fb-accent);
  color: var(--fb-accent-contrast);
}

.btn-quiet {
  border-color: var(--fb-line);
  background: transparent;
  color: inherit;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: '→';
  transition: transform 0.15s ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* Cards, panels, badges */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 24px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid var(--fb-line);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  white-space: nowrap;
}

.progress {
  height: 8px;
  overflow: hidden;
  background: var(--fb-line);
}

.progress > span {
  display: block;
  height: 100%;
  background: var(--fb-accent);
}

.avatars {
  display: flex;
}

.avatars > .avatar + .avatar {
  margin-left: -8px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}

/* Figures, lists, quotes */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 24px;
}

.stat {
  display: grid;
  align-content: start;
  gap: 8px;
}

.stat-value {
  font-family: var(--fb-font-heading);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: var(--fb-text-sm);
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px 18px;
  padding: 20px;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  grid-row: span 2;
  font-variant-numeric: tabular-nums;
}

.steps > li > :not(.badge) {
  grid-column: 2;
}

.steps > li > .badge {
  grid-column: 3;
  grid-row: 1;
}

.timeline {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 4px 20px;
  padding: 0 0 30px 30px;
}

.timeline > li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fb-paper);
  box-shadow: 0 0 0 2px var(--fb-line);
}

.timeline > li::after {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 4px;
  left: 5px;
  width: 2px;
  background: var(--fb-line);
}

.timeline > li:last-child {
  padding-bottom: 0;
}

.timeline > li:last-child::after {
  display: none;
}

.timeline > li.is-done::before {
  background: var(--fb-ink);
  box-shadow: 0 0 0 2px var(--fb-ink);
}

.timeline > li.is-current::before {
  background: var(--fb-accent);
  box-shadow:
    0 0 0 2px var(--fb-ink),
    0 0 0 6px var(--fb-paper),
    0 0 0 7px var(--fb-line);
}

.timeline time {
  font-variant-numeric: tabular-nums;
}

.quote {
  display: grid;
  gap: 22px;
  max-width: 52rem;
}

.quote figcaption {
  font-style: normal;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.callout:not(:last-child) {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.cta {
  display: grid;
  justify-items: start;
  gap: 20px;
  padding: clamp(32px, 5vw, 64px);
}

.cta.center {
  justify-items: center;
  text-align: center;
}

/* Media and motion. Pictures are real <img> elements with alt text; the
   overlay and tint come from the style (--fb-overlay, --fb-media-tint), so
   one photograph takes each look's cast. Motion is CSS scroll-driven
   animation: where a browser lacks it, or the visitor asks for reduced
   motion, the page is simply still. */

.hero-media,
.band-media,
.media-frame,
.story-media,
.bento-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-media > img,
.band-media > img,
.media-frame > img,
.story-media > img,
.bento-tile > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after,
.band-media::after,
.media-frame::after,
.story-media::after,
.bento-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(
    --fb-media-tint,
    color-mix(in srgb, var(--fb-accent) 28%, transparent)
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-media {
  display: grid;
  align-items: end;
  min-height: min(92vh, 860px);
  padding-block: clamp(120px, 16vw, 200px) clamp(48px, 8vw, 104px);
  color: var(--fb-band-ink, var(--fb-paper));
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(
    --fb-overlay,
    linear-gradient(
      to top,
      color-mix(in srgb, var(--fb-band, var(--fb-ink)) 82%, transparent),
      color-mix(in srgb, var(--fb-band, var(--fb-ink)) 20%, transparent) 72%
    )
  );
}

.hero-media .lead,
.hero-media .muted {
  color: var(--fb-band-muted, currentColor);
}

.hero-media :focus-visible {
  outline-color: var(--fb-band-ink, currentColor);
}

.band-media {
  height: clamp(260px, 44vw, 560px);
}

/* Room above and below the picture for it to drift into. */
.band-media > img {
  inset: -14% 0;
  height: 128%;
}

.media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.media-split > .media-frame {
  aspect-ratio: 4 / 3;
}

.media-split.reverse > .media-frame {
  order: 2;
}

.media-frame {
  border-radius: var(--fb-radius);
}

.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.story-media {
  position: sticky;
  top: calc(var(--header-height, 68px) + 24px);
  aspect-ratio: 4 / 5;
  border-radius: var(--fb-radius);
}

.story-steps {
  display: grid;
  gap: clamp(56px, 16vh, 160px);
  padding-block: clamp(24px, 12vh, 120px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 18vw, 240px);
  gap: 16px;
}

.bento-tile {
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: var(--fb-radius);
  color: var(--fb-band-ink, var(--fb-paper));
  text-decoration: none;
}

/* A shade under the caption, so it reads on a light photograph too. */
.bento-tile::before {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--fb-band, var(--fb-ink)) 72%, transparent),
    transparent
  );
  pointer-events: none;
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-caption {
  position: relative;
  font-weight: 600;
  text-shadow: 0 1px 12px
    color-mix(in srgb, var(--fb-band, var(--fb-ink)) 60%, transparent);
}

.marquee {
  overflow: hidden;
  padding-block: 18px;
  mask-image: linear-gradient(
    to right,
    transparent,
    currentColor 10%,
    currentColor 90%,
    transparent
  );
}

.marquee-track {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  width: max-content;
  white-space: nowrap;
}

.marquee-track > * {
  font-family: var(--fb-font-heading);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1;
  opacity: 0.72;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: fb-marquee 38s linear infinite;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: fb-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }

    .band-media > img {
      animation: fb-drift linear both;
      animation-timeline: view();
    }

    .hero-media > img {
      animation: fb-settle linear both;
      animation-timeline: scroll();
      animation-range: 0 100vh;
    }
  }
}

@keyframes fb-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* A rise, not a fade: text that stayed half-transparent until it was well
   up the screen read as washed out, and worst on a white page. */
@keyframes fb-reveal {
  from {
    transform: translateY(28px);
  }
}

@keyframes fb-drift {
  from {
    transform: translateY(-9%);
  }

  to {
    transform: translateY(9%);
  }
}

@keyframes fb-settle {
  to {
    transform: scale(1.08) translateY(4%);
  }
}

@media (max-width: 880px) {
  .media-split,
  .story {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-split.reverse > .media-frame {
    order: 0;
  }

  .story-media {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Glass. A look can let its sticky header lie over the page's opening:
   it sets --header-overlap: 1 and its header's height in --header-height,
   and gives the header (or its inner bar) a translucent, blurred background.
   Only a page that opens with a .hero is overlapped — any other page keeps
   the header in the flow — and never on a phone, where the header is not
   pinned. */
@media (min-width: 641px) {
  body:has(main > :is(.hero, .hero-media):first-child) .site-header {
    margin-bottom: calc(
      var(--header-overlap, 0) * var(--header-height, 68px) * -1
    );
  }

  body:has(main > .hero:first-child) main > .hero:first-child {
    padding-top: calc(
      clamp(48px, 8vw, 112px) + var(--header-overlap, 0) *
        var(--header-height, 68px)
    );
  }
}

@media (max-width: 880px) {
  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  /* A header that wraps onto two rows would take a third of a phone screen
     if it stayed pinned. */
  .site-header {
    position: static;
  }

  .steps > li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .steps > li > .badge {
    grid-column: 2;
    grid-row: auto;
  }

  .timeline > li {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── Clean ────────────────────────────────────────────────────────────────
   The look: one violet accent on white, Inter throughout, 16px corners,
   hairline borders and no shadow on anything at rest. */

h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

h3 {
  font-size: var(--fb-text-lg);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.site-header {
  border-bottom: 1px solid var(--fb-line);
  background: color-mix(in srgb, var(--fb-paper) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  border-radius: 9px;
  background: var(--fb-accent);
  color: var(--fb-accent-contrast);
  font-size: 14px;
}

.site-header .sc-nav a {
  color: var(--fb-muted);
  font-size: var(--fb-text-sm);
  font-weight: 500;
}

.site-header .sc-nav a:hover {
  color: var(--fb-ink);
}

.eyebrow {
  color: var(--fb-muted);
  font-size: var(--fb-text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  color: var(--fb-muted);
  font-size: var(--fb-text-lg);
  line-height: 1.5;
}

.highlight {
  color: var(--fb-accent);
}

.btn,
.btn-quiet {
  border-radius: 12px;
}

.btn:hover {
  background: color-mix(in srgb, var(--fb-accent) 86%, var(--fb-ink));
}

.btn-quiet {
  background: var(--fb-paper);
  color: var(--fb-ink);
}

.btn-quiet:hover {
  border-color: var(--fb-ink);
}

.link-arrow {
  color: var(--fb-accent);
}

.card {
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-paper);
}

.panel {
  border: 1px solid var(--fb-line);
  border-radius: calc(var(--fb-radius) + 4px);
  background: var(--fb-paper);
  box-shadow: var(--fb-shadow-2);
}

.panel-title {
  font-size: var(--fb-text-xl);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fb-surface);
  color: var(--fb-ink);
  font-size: var(--fb-text-xs);
  font-weight: 600;
}

.badge-accent {
  background: var(--fb-accent-wash);
  color: var(--fb-accent-ink);
}

.progress,
.progress > span {
  border-radius: 999px;
}

.avatar {
  background: var(--fb-accent-wash);
  color: var(--fb-accent-ink);
  box-shadow: 0 0 0 2px var(--fb-paper);
}

.stat-value {
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.stat-label {
  font-size: var(--fb-text-sm);
}

.steps > li {
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-paper);
}

.steps > li::before {
  border-radius: 10px;
  background: var(--fb-accent-wash);
  color: var(--fb-accent-ink);
  font-weight: 700;
}

.timeline time {
  color: var(--fb-muted);
  font-size: var(--fb-text-sm);
  font-weight: 600;
}

.band {
  background: var(--fb-surface);
}

.band-dark {
  background: var(--fb-band);
  color: var(--fb-band-ink);
}

.quote p {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.callout {
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-surface);
}

.cta {
  border-radius: calc(var(--fb-radius) * 1.5);
  background: var(--fb-surface);
}

.site-footer {
  border-top: 1px solid var(--fb-line);
  color: var(--fb-muted);
  font-size: var(--fb-text-sm);
}

/* ── Care Ally ────────────────────────────────────────────────────────────
   Page helpers used by the Care Ally pages. Colours stay on theme tokens. */

.stack {
  display: grid;
  justify-items: start;
  gap: var(--fb-space-4, 16px);
  min-width: 0;
}

.stack > * {
  margin-block-start: 0;
}

.stack-sm {
  display: grid;
  gap: 8px;
}

.stack-sm > * {
  margin-block-start: 0;
}

.small {
  font-size: var(--fb-text-sm);
}

.progress-75 {
  width: 75%;
}

.plain-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list > li {
  padding-left: 18px;
  border-left: 2px solid var(--fb-line);
}

.type-rows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--fb-line);
}

.type-rows > li {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: 8px 32px;
  padding-block: 22px;
  border-bottom: 1px solid var(--fb-line);
}

.type-rows > li > * {
  margin-block-start: 0;
}

.after-list {
  margin-block-start: var(--fb-space-5, 24px);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.check-list > li::before {
  content: '\2713';
  color: var(--fb-accent);
  font-weight: 700;
}

.band-dark .link-arrow.on-dark {
  color: var(--fb-band-ink);
}

.embed-shell {
  min-width: 0;
  border: 1px solid var(--fb-line);
  border-radius: calc(var(--fb-radius) + 4px);
  background: var(--fb-paper);
}

@media (max-width: 880px) {
  .type-rows > li {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-cta {
    display: none;
  }
}

/* ── Care Ally look (2026-11 redesign) ──────────────────────────────────
   Indigo (the one accent) and the logo's sage, which only ever marks
   something done or safe. Serif headings like the Care Ally apps, Inter for
   everything else, pill buttons, 18px cards with hairlines. Colours come
   from the palette tokens (default and dark). */

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 5.8vw, 66px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.12;
}

h3 {
  font-family: var(--fb-font-body);
  font-weight: 650;
}

.highlight {
  color: var(--fb-accent);
  font-style: italic;
}

.btn,
.btn-quiet {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: var(--fb-text-sm);
}

/* The logo: two overlapping circles, indigo and sage. */
.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 34px;
  height: 22px;
  flex: none;
}

.brand-name .ally {
  color: var(--fb-accent);
}

.site-header .sc-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero {
  padding-block: clamp(56px, 8vw, 120px) clamp(48px, 7vw, 96px);
}

.hero .lead {
  font-size: clamp(18px, 1.6vw, 21px);
}

/* Status that is done or safe: the logo's sage. */
.badge-ok {
  background: var(--ca-sage-wash);
  color: var(--ca-sage-ink);
}

.panel {
  gap: 16px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 24px;
}

.panel-sub {
  color: var(--fb-muted);
  font-size: var(--fb-text-sm);
}

.progress > span {
  background: var(--ca-sage);
}

.task-list > li > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.check-list > li::before {
  content: '\2713';
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ca-sage-wash);
  color: var(--ca-sage-ink);
  font-size: 12px;
  line-height: 1;
}

/* A thin strip under the hero: who it is for, between two hairlines. */
.strip {
  border-block: 1px solid var(--fb-line);
  padding-block: 22px;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-row > li {
  padding: 7px 14px;
  border: 1px solid var(--fb-line);
  border-radius: 999px;
  font-size: var(--fb-text-sm);
  font-weight: 600;
}

/* The suite: CareCommand as the large tile, the other apps beside it. */
.suite {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
  align-items: stretch;
}

.suite-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: var(--fb-accent-wash);
  color: var(--fb-ink);
}

.suite-main > * {
  margin-block-start: 0;
}

.suite-main .plain-list > li {
  border-left-color: color-mix(in srgb, var(--fb-accent) 35%, transparent);
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-paper);
}

.app-card > * {
  margin-block-start: 0;
}

.app-name {
  font-family: var(--fb-font-body);
  font-size: var(--fb-text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-role {
  color: var(--fb-accent-ink);
  font-size: var(--fb-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-card p:last-child {
  color: var(--fb-muted);
  font-size: var(--fb-text-sm);
}

.signin-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 20px;
  color: var(--fb-muted);
  font-size: var(--fb-text-sm);
}

.band-dark .check-list > li::before {
  background: color-mix(in srgb, var(--ca-sage) 28%, transparent);
  color: var(--fb-band-ink);
}

.band-dark h2 em {
  color: var(--ca-sage);
  font-style: italic;
}

.cta {
  border: 1px solid var(--fb-line);
  border-radius: 28px;
}

.booking {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 24px 28px;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-paper);
}

.booking > .stack-sm {
  min-width: 0;
}

.booking h2 {
  font-size: clamp(24px, 2.6vw, 30px);
}

.site-footer-inner {
  align-items: flex-start;
}

.footer-brand {
  display: grid;
  gap: 8px;
  max-width: 30rem;
}

.footer-brand > * {
  margin-block-start: 0;
}

@media (max-width: 880px) {
  .suite {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-actions .btn-sm {
    display: none;
  }
}

/* The logo's sage, mixed into the palette's own paper and ink so it reads in
   light and dark (palettes keep only the standard tokens). */
:root {
  --ca-sage: #73c5a9;
  --ca-sage-wash: color-mix(in srgb, #73c5a9 24%, var(--fb-paper));
  --ca-sage-ink: color-mix(in srgb, #73c5a9 42%, var(--fb-ink));
}

h1 {
  font-size: clamp(38px, 4.6vw, 56px);
}

/* ── Calm motion (2026-11-13 draft) ─────────────────────────────────────
   App cards lift slightly under a
   mouse. Nothing here moves for visitors who ask for reduced motion, and
   touch screens get no hover lift. */

.app-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .app-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--fb-accent) 40%, var(--fb-line));
    box-shadow: var(--fb-shadow-2);
  }
}

/* ── Strands of light, no script (hero, 2026-11-14 draft) ───────────────
   Indigo and sage strands draw themselves across the hero and gather behind
   the Today panel; a light runs along each one into the panel. Then the rows
   write themselves in one after another, each badge turns on and the
   progress bar grows. Afterwards the strands drift very slowly. All of it is
   CSS on a decorative SVG (home-hero-strands); with reduced motion the hero
   is shown complete and still. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.hero-strands {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-strands path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.strand {
  stroke-width: 1.6;
  opacity: 0.45;
}

.strand-thin {
  stroke-width: 1;
  opacity: 0.32;
}

.strand-a {
  stroke: var(--fb-accent);
}

.strand-b {
  stroke: var(--ca-sage);
}

/* The light that runs along a strand: a short dash with a soft halo. */
.pulse {
  stroke: var(--ca-sage);
  stroke-width: 3;
  stroke-dasharray: 0.06 1.2;
  stroke-dashoffset: 0.06;
  opacity: 0;
}

.pulse-2,
.pulse-4 {
  stroke: var(--fb-accent);
}

@media (prefers-reduced-motion: no-preference) {
  .strand {
    stroke-dasharray: 1 1;
    animation: ca-strand-draw 1.6s cubic-bezier(0.22, 0.7, 0.2, 1) both;
  }

  .strand:nth-child(2) {
    animation-delay: 0.12s;
  }

  .strand:nth-child(3) {
    animation-delay: 0.24s;
  }

  .strand:nth-child(4) {
    animation-delay: 0.36s;
  }

  .strand:nth-child(5) {
    animation-delay: 0.48s;
  }

  .pulse {
    animation: ca-strand-pulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) both;
  }

  .pulse-1 {
    animation-delay: 0.7s;
  }

  .pulse-2 {
    animation-delay: 1.05s;
  }

  .pulse-3 {
    animation-delay: 1.4s;
  }

  .pulse-4 {
    animation-delay: 1.75s;
  }

  .strands-drift {
    animation: ca-strand-drift 16s ease-in-out 3s infinite alternate;
  }

  /* Each row writes itself in, its badge turns on, the bar grows. */
  .hero .task-list > li > span:first-child {
    animation: ca-write 0.7s steps(24, end) both;
  }

  .hero .task-list > li > .badge {
    position: relative;
    animation: ca-badge-on 0.4s cubic-bezier(0.22, 0.7, 0.2, 1) both;
  }

  .hero .task-list > li > .badge-ok::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 2px var(--ca-sage);
    opacity: 0;
    animation: ca-ping 0.9s ease-out;
    animation-delay: inherit;
  }

  .hero .task-list > li:nth-child(1) > span:first-child {
    animation-delay: 1.1s;
  }

  .hero .task-list > li:nth-child(1) > .badge {
    animation-delay: 1.75s;
  }

  .hero .task-list > li:nth-child(2) > span:first-child {
    animation-delay: 1.5s;
  }

  .hero .task-list > li:nth-child(2) > .badge {
    animation-delay: 2.15s;
  }

  .hero .task-list > li:nth-child(3) > span:first-child {
    animation-delay: 1.9s;
  }

  .hero .task-list > li:nth-child(3) > .badge {
    animation-delay: 2.55s;
  }

  .hero .task-list > li:nth-child(4) > span:first-child {
    animation-delay: 2.3s;
  }

  .hero .task-list > li:nth-child(4) > .badge {
    animation-delay: 2.95s;
  }

  .hero .task-list > li:nth-child(5) > span:first-child {
    animation-delay: 2.7s;
  }

  .hero .task-list > li:nth-child(5) > .badge {
    animation-delay: 3.35s;
  }

  .hero .progress > span {
    transform-origin: left center;
    animation: ca-grow 2.4s linear 1.75s both;
  }
}

@keyframes ca-strand-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ca-strand-pulse {
  0% {
    stroke-dashoffset: 0.06;
    opacity: 0;
  }

  15% {
    opacity: 0.9;
  }

  85% {
    opacity: 0.9;
  }

  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}

@keyframes ca-strand-drift {
  from {
    transform: translateY(-6px);
  }

  to {
    transform: translateY(8px);
  }
}

@keyframes ca-write {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes ca-badge-on {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes ca-ping {
  from {
    opacity: 0.9;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.35, 1.6);
  }
}

/* The bar reaches its 75% in steps, as each row is charted. */
@keyframes ca-grow {
  0% {
    transform: scaleX(0);
  }

  17% {
    transform: scaleX(0.2);
  }

  33% {
    transform: scaleX(0.4);
  }

  50% {
    transform: scaleX(0.6);
  }

  67% {
    transform: scaleX(0.8);
  }

  100% {
    transform: scaleX(1);
  }
}

/* ── Tiles that lead to an app's page (2026-11-17) ──────────────────────
   The app's name is the link, and the whole tile answers to it. */

.app-card,
.suite-main {
  position: relative;
}

.app-link {
  color: inherit;
  text-decoration: none;
}

.app-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.app-link:focus-visible {
  outline: none;
}

.app-link:focus-visible::after {
  outline: 2px solid var(--fb-focus, var(--fb-accent));
  outline-offset: 2px;
}
