/* GENERATED by scripts/build-components.mjs from components/. Do not edit. */
/* fd base: page defaults. Contract: contracts/section.md (Page) */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-primary); font-weight: var(--fw-body); font-size: var(--type-body); line-height: var(--lh-body);
  background: var(--color-surface-default); color: var(--color-text-primary); }
body.fd-page--inverse { background: var(--color-surface-inverse); color: var(--color-text-inverse); }
img { max-width: 100%; }
.fd-skip-link { position: absolute; left: var(--space-4); top: calc(-1 * var(--space-8)); z-index: 300; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill); background: var(--color-surface-inverse); color: var(--color-text-inverse); text-decoration: none; }
.fd-skip-link:focus { top: var(--space-4); }

/* fd-button: the pill button. Contract: contracts/button.md */
.fd-button {
  --fd-button-bg: var(--color-surface-default);
  --fd-button-fg: var(--color-text-primary);
  --fd-button-border: var(--color-surface-default);
  --fd-button-bg-hover: var(--color-surface-inverse);
  --fd-button-fg-hover: var(--color-text-inverse);
  --fd-button-border-hover: var(--color-surface-inverse);
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--button-pad-block) var(--button-pad-inline);
  border: 2px solid var(--fd-button-border); border-radius: var(--radius-pill);
  background: var(--fd-button-bg); color: var(--fd-button-fg);
  font-family: var(--font-primary); font-weight: var(--fw-ui); font-size: var(--type-ui);
  line-height: var(--lh-lead); letter-spacing: var(--tr-tight);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--motion-duration-base) var(--motion-ease-standard),
              color var(--motion-duration-base) var(--motion-ease-standard),
              border-color var(--motion-duration-base) var(--motion-ease-standard);
}
.fd-button::after {
  content: ""; flex-shrink: 0; width: 0; height: 0.65em; margin-left: 0; opacity: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 15'%3E%3Cpath d='M22.7 8.07a1 1 0 0 0 0-1.41L16.34.29a1 1 0 1 0-1.41 1.42l5.66 5.65-5.66 5.66a1 1 0 0 0 1.41 1.41zM0 8.36h22v-2H0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 15'%3E%3Cpath d='M22.7 8.07a1 1 0 0 0 0-1.41L16.34.29a1 1 0 1 0-1.41 1.42l5.66 5.65-5.66 5.66a1 1 0 0 0 1.41 1.41zM0 8.36h22v-2H0z'/%3E%3C/svg%3E") center / contain no-repeat;
  /* check-allow MOT-02: arrow reveal widens the pill (live-site behaviour). See contracts/button.md */
  transition: width var(--motion-duration-base) var(--motion-ease-standard),
              margin-left var(--motion-duration-base) var(--motion-ease-standard),
              opacity var(--motion-duration-fast) var(--motion-ease-standard);
}
.fd-button:hover, .fd-button:focus-visible {
  background: var(--fd-button-bg-hover); color: var(--fd-button-fg-hover); border-color: var(--fd-button-border-hover);
}
.fd-button:hover::after, .fd-button:focus-visible::after { width: 1em; margin-left: 0.6em; opacity: 1; }
.fd-button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-surface-default), 0 0 0 4px var(--color-surface-inverse); }
.fd-button--dark {
  --fd-button-bg: var(--color-surface-inverse); --fd-button-fg: var(--color-text-inverse); --fd-button-border: var(--color-surface-inverse);
  --fd-button-bg-hover: transparent; --fd-button-fg-hover: var(--color-text-primary); --fd-button-border-hover: var(--color-surface-inverse);
}
.fd-button--accent {
  --fd-button-bg: var(--color-surface-accent); --fd-button-fg: var(--color-text-primary); --fd-button-border: var(--color-surface-accent);
  --fd-button-bg-hover: var(--color-surface-default); --fd-button-fg-hover: var(--color-text-primary); --fd-button-border-hover: var(--color-surface-default);
}
.fd-button--outline {
  --fd-button-bg: transparent; --fd-button-fg: var(--color-text-on-brand); --fd-button-border: var(--color-border-on-brand);
  --fd-button-bg-hover: var(--color-surface-default); --fd-button-fg-hover: var(--color-text-primary); --fd-button-border-hover: var(--color-surface-default);
}
.fd-button--block { display: flex; width: 100%; }

/* fd-badge: small label pill. Contract: contracts/badge.md */
.fd-badge {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill);
  background: var(--color-surface-accent); color: var(--color-text-primary);
}

/* fd-field: label + input / select / textarea. Contract: contracts/field.md */
.fd-field { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.fd-field__label { font-family: var(--font-primary); font-weight: var(--fw-soft); font-size: var(--type-body); line-height: var(--lh-title); color: var(--color-text-primary); }
.fd-field__hint { margin: 0; font-family: var(--font-primary); font-size: var(--type-eyebrow); line-height: var(--lh-lead); color: var(--color-text-muted); }
.fd-field__control {
  width: 100%; margin: 0; appearance: none;
  padding: var(--button-pad-block) var(--space-5);
  border: 2px solid var(--color-border-default); border-radius: var(--radius-card);
  background: var(--color-surface-default); color: var(--color-text-primary);
  font-family: var(--font-primary); font-weight: var(--fw-body); font-size: var(--type-body); line-height: var(--lh-body);
  transition: border-color var(--motion-duration-fast) var(--motion-ease-standard), box-shadow var(--motion-duration-fast) var(--motion-ease-standard);
}
.fd-field__control::placeholder { color: var(--color-text-muted); opacity: 1; }
.fd-field__control:focus { outline: none; border-color: var(--color-surface-brand-strong); box-shadow: 0 0 0 2px var(--color-surface-brand-strong); }
select.fd-field__control {
  padding-right: calc(var(--space-5) * 2); cursor: pointer;
  background: var(--color-surface-default) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right var(--space-5) center / 0.75em no-repeat;
}
textarea.fd-field__control { min-height: 9em; resize: vertical; }
.fd-field__control:disabled { border-color: var(--color-state-disabled); color: var(--color-text-muted); cursor: not-allowed; }
.fd-field__control[aria-invalid="true"] { border-color: var(--color-border-error); }
.fd-field__control[aria-invalid="true"]:focus { border-color: var(--color-border-error); box-shadow: 0 0 0 2px var(--color-border-error); }
/* Prefix slot (dial code, currency): sits left of the control, same height, same border. */
.fd-field__group { display: flex; gap: var(--space-2); }
.fd-field__group > .fd-field__control { flex: 1; min-width: 0; }
.fd-field__prefix {
  display: inline-flex; align-items: center; gap: var(--space-1); flex: none;
  padding-inline: var(--space-5);
  border: 2px solid var(--color-border-default); border-radius: var(--radius-card);
  background: var(--color-surface-default); color: var(--color-text-primary);
  font-family: var(--font-primary); font-weight: var(--fw-body); font-size: var(--type-body); line-height: var(--lh-body);
}
.fd-field__error { margin: 0; font-family: var(--font-primary); font-weight: var(--fw-soft); font-size: var(--type-eyebrow); line-height: var(--lh-lead); color: var(--color-text-error); }
.fd-field__error:empty { display: none; }

/* fd-breadcrumb: where am I, for pages 2+ levels deep. Contract: contracts/breadcrumb.md */
.fd-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.fd-breadcrumb li { display: flex; align-items: center; gap: var(--space-2); }
.fd-breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.fd-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.fd-breadcrumb a:hover { text-decoration-thickness: 2px; }
.fd-breadcrumb a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.fd-breadcrumb [aria-current="page"] { font-weight: var(--fw-ui); }

/* fd-shader: canvas sits behind the panel's content. Contract: contracts/shader.md */
[data-fd-shader] { position: relative; overflow: hidden; isolation: isolate; }
.fd-shader__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* fd-section: page section wrapper: heading, optional panel surface, grid. Contract: contracts/section.md */
.fd-section {
  display: flex; flex-direction: column; align-items: center; gap: var(--section-gap);
  padding: var(--section-pad-block) var(--pad-edge);
}
.fd-section--panel { margin: var(--section-gap) var(--pad-gutter); padding: var(--section-pad-block) var(--pad-panel); border-radius: var(--radius-panel); }
.fd-section--warm { background: var(--color-surface-warm); color: var(--color-text-primary); }
.fd-section--brand-strong { background: var(--color-surface-brand-strong); color: var(--color-text-on-brand); }
.fd-section--inverse { background: var(--color-surface-inverse); color: var(--color-text-inverse); }
.fd-section__head { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); max-width: 60rem; text-align: center; }
.fd-section__title, .fd-section__lead { margin: 0; text-wrap: balance; }
.fd-section__grid { display: grid; gap: var(--pad-gutter); width: 100%; align-items: stretch; }
.fd-section__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fd-section__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fd-section__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fd-section__prose { display: flex; flex-direction: column; gap: var(--space-5); width: 100%; max-width: 46rem; }
.fd-section__prose > * { margin: 0; }
@media (max-width: 1300px) { .fd-section__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .fd-section__grid--2, .fd-section__grid--3, .fd-section__grid--4 { grid-template-columns: 1fr; } }

/* fd-promo-bar: one-line green announcement above the header. Contract: contracts/promo-bar.md */
.fd-promo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) var(--space-6);
  padding: var(--space-3) var(--pad-edge);
  background: var(--color-surface-accent); color: var(--color-text-primary); text-decoration: none; text-align: center;
  font-family: var(--font-primary); font-weight: var(--fw-body); font-size: var(--type-lead); line-height: var(--lh-lead);
}
.fd-promo-bar__link {
  text-decoration: underline; text-underline-offset: 0.15em; white-space: nowrap;
  transition: opacity var(--motion-duration-fast) var(--motion-ease-standard);
}
.fd-promo-bar:hover .fd-promo-bar__link, .fd-promo-bar:focus-visible .fd-promo-bar__link { opacity: 0.6; }
.fd-promo-bar:focus-visible { outline: 2px solid var(--color-surface-inverse); outline-offset: -4px; }

/* fd-site-header: logo, nav, CTA; mobile menu under 1024px. Contract: contracts/site-header.md */
.fd-site-header {
  --fd-logo-h: calc(var(--type-ui) * 2);
  position: relative; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  padding: var(--pad-card) var(--pad-edge);
  background: var(--color-surface-brand-strong); color: var(--color-text-on-brand);
}
.fd-site-header__brand { display: flex; align-items: center; gap: calc(var(--fd-logo-h) * 0.4); flex-shrink: 0; position: relative; z-index: 2; }
.fd-site-header__mark { height: var(--fd-logo-h); width: auto; display: block;
  transition: transform var(--motion-duration-slow) var(--motion-ease-standard); }
.fd-site-header__brand:hover .fd-site-header__mark { transform: rotate(180deg); }
.fd-site-header__wordmark { height: var(--fd-logo-h); width: auto; display: block; }
.fd-site-header__nav { display: flex; align-items: center; gap: var(--pad-card); }
.fd-site-header__link {
  color: var(--color-text-on-brand); text-decoration: none; white-space: nowrap;
  font-family: var(--font-primary); font-weight: var(--fw-ui); font-size: var(--type-ui); line-height: var(--lh-lead); letter-spacing: var(--tr-tight);
  transition: opacity var(--motion-duration-fast) var(--motion-ease-standard);
}
.fd-site-header__link:hover { opacity: 0.7; }
.fd-site-header__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
.fd-site-header__link:focus-visible, .fd-site-header__toggle:focus-visible, .fd-site-header__brand:focus-visible,
.fd-site-header__menu-link:focus-visible { outline: 2px solid var(--color-text-on-brand); outline-offset: 4px; }
.fd-site-header__toggle {
  display: none; position: relative; z-index: 2; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--space-1); background: none; border: 0; cursor: pointer;
}
.fd-site-header__toggle span { display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--color-text-on-brand);
  transition: transform var(--motion-duration-base) var(--motion-ease-standard), opacity var(--motion-duration-base) var(--motion-ease-standard); }
.fd-site-header[data-open] .fd-site-header__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.fd-site-header[data-open] .fd-site-header__toggle span:nth-child(2) { opacity: 0; }
.fd-site-header[data-open] .fd-site-header__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.fd-site-header__menu {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--section-gap);
  background: var(--color-surface-brand-strong);
  transform: translateY(-100%); visibility: hidden;
  transition: transform var(--motion-duration-slow) var(--motion-ease-standard), visibility 0s linear var(--motion-duration-slow);
}
.fd-site-header[data-open] .fd-site-header__menu { transform: none; visibility: visible; transition-delay: 0s; }
.fd-site-header__menu-link {
  color: var(--color-text-on-brand); text-decoration: none; text-transform: uppercase;
  font-family: var(--font-primary); font-weight: var(--fw-soft); font-size: var(--type-h2); line-height: var(--lh-h2);
}
@media (max-width: 1024px) {
  .fd-site-header__nav { display: none; }
  .fd-site-header__toggle { display: flex; }
}
@media (min-width: 1025px) { .fd-site-header__menu { display: none; } }

/* fd-hero: top section of a page on blue. Contract: contracts/hero.md */
.fd-hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--section-pad-block) * 1.5) var(--pad-edge);
  color: var(--color-text-on-brand);
  /* No-WebGL fallback mirrors the shader's text-safe zone. */
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--color-surface-brand-strong) 45%, transparent 100%), var(--color-surface-brand);
}
.fd-hero__inner { display: flex; flex-direction: column; align-items: center; gap: var(--pad-gutter); max-width: 75rem; }
.fd-hero__title { margin: 0; text-wrap: balance; }
.fd-hero__lead { margin: 0; max-width: 32em; text-wrap: balance; }
/* Inverse: black page top for flodash.online (layout.md). No shader, no gradient. Triage #14. */
.fd-hero--inverse { padding-bottom: var(--section-pad-block); color: var(--color-text-inverse); background: var(--color-surface-inverse); }
/* Art slot: the pencil set above the title (about page). Decorative. Triage #15. */
.fd-hero__art { position: relative; width: clamp(15rem, 24vw, 28rem); aspect-ratio: 448.568 / 621.296; }
.fd-hero__art-pencil { position: absolute; left: 11.37%; top: 0; z-index: 1; width: 88.63%; height: auto; }
.fd-hero__art-shadow { position: absolute; left: 0; top: 95.4%; width: 31.23%; height: auto; }
@media (max-width: 768px) { .fd-hero__art { width: clamp(12.5rem, 60vw, 18.75rem); } }

/* fd-case-hero: top of a case-study page (.online, black). Contract: contracts/case-hero.md */
.fd-case-hero {
  display: flex; flex-direction: column; gap: var(--section-gap);
  padding: var(--section-gap) var(--pad-edge) var(--section-pad-block);
  background: var(--color-surface-inverse); color: var(--color-text-inverse);
}
.fd-case-hero__intro { display: flex; flex-direction: column; gap: var(--space-5); max-width: 75rem; }
.fd-case-hero__cat { margin: 0; color: var(--color-text-muted-inverse); }
.fd-case-hero__title { margin: 0; text-wrap: balance; }
.fd-case-hero__lead { margin: 0; max-width: 36em; }
.fd-case-hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pad-gutter); margin: 0;
  padding-top: var(--space-6); border-top: 1px solid var(--color-text-muted-inverse); }
.fd-case-hero__facts dt { color: var(--color-text-muted-inverse); margin-bottom: var(--space-2); }
.fd-case-hero__facts dd { margin: 0; }
.fd-case-hero__facts a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; transition: color var(--motion-duration-base) var(--motion-ease-standard); }
.fd-case-hero__facts a:hover { color: var(--color-text-brand); }
.fd-case-hero__facts a:focus-visible { outline: 2px solid var(--color-text-brand); outline-offset: 3px; }
.fd-case-hero__media { margin: 0; aspect-ratio: 1102 / 615; overflow: hidden; border-radius: var(--radius-card); background: var(--color-surface-subtle); }
.fd-case-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .fd-case-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* fd-service-card: one service with a short list. Contract: contracts/service-card.md */
.fd-service-card {
  display: flex; flex-direction: column; gap: var(--space-6);
  padding: var(--pad-card); border: 2px solid var(--color-border-default); border-radius: var(--radius-panel);
  background: var(--color-surface-brand-strong); color: var(--color-text-on-brand);
}
.fd-service-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.fd-service-card__icon { display: block; width: var(--space-7); height: var(--space-7); }
.fd-service-card__title { margin: 0; }
.fd-service-card__list { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.fd-service-card__list li { display: flex; align-items: flex-start; gap: var(--space-3); }
.fd-service-card__list li::before {
  content: ""; flex-shrink: 0; width: 1.1em; height: 1.1em; margin-top: 0.2em; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='21' stroke='black' stroke-width='8' fill='none'/%3E%3Cpath d='M25 34.4c-4.8 0-9.5-1.6-13.2-4.6v-3.7c3.8 2.8 8.4 4.3 13.3 4.3s9.6-1.5 13.4-4.3v3.8c-3.8 3-8.6 4.5-13.5 4.5zM24.7 20.6c-1.5-.7-2.4-.9-3.4-.9-1.3 0-2.6.7-3.5 1.8v-3.5c1-1.2 2.4-1.6 3.8-1.6 1.2 0 2.4.3 4.1 1 1.5.6 2.4.8 3.5.8 1.2 0 2.5-.7 3.5-1.8v3.5c-1 1.1-2.3 1.6-3.8 1.6-1.3 0-2.6-.3-4.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='21' stroke='black' stroke-width='8' fill='none'/%3E%3Cpath d='M25 34.4c-4.8 0-9.5-1.6-13.2-4.6v-3.7c3.8 2.8 8.4 4.3 13.3 4.3s9.6-1.5 13.4-4.3v3.8c-3.8 3-8.6 4.5-13.5 4.5zM24.7 20.6c-1.5-.7-2.4-.9-3.4-.9-1.3 0-2.6.7-3.5 1.8v-3.5c1-1.2 2.4-1.6 3.8-1.6 1.2 0 2.4.3 4.1 1 1.5.6 2.4.8 3.5.8 1.2 0 2.5-.7 3.5-1.8v3.5c-1 1.1-2.3 1.6-3.8 1.6-1.3 0-2.6-.3-4.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* fd-feature-row: text + gradient media panel, alternating sides. Contract: contracts/feature-row.md */
.fd-feature-row { display: flex; align-items: center; justify-content: center; gap: var(--section-gap); padding: var(--section-pad-block) var(--pad-edge); }
.fd-feature-row--reverse { flex-direction: row-reverse; }
.fd-feature-row__text { flex: 0 1 36rem; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); }
.fd-feature-row__title, .fd-feature-row__body { margin: 0; }
.fd-feature-row__title { text-wrap: balance; }
.fd-feature-row__media {
  flex: 0 0 37.5%; aspect-ratio: 1; overflow: hidden; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-panel); background: var(--gradient-brand);
}
.fd-feature-row__media--phone img { display: block; height: 120%; width: auto; }
.fd-feature-row__media--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .fd-feature-row, .fd-feature-row--reverse { flex-direction: column; align-items: stretch; }
  .fd-feature-row__text { flex: none; }
  .fd-feature-row__media { flex: none; width: 100%; }
}

/* fd-step-card: illustration + title, one of three steps. Contract: contracts/step-card.md */
.fd-step-card { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); min-width: 0; text-align: center; }
.fd-step-card__art { width: 100%; max-width: 436px; aspect-ratio: 436 / 332; display: grid; place-items: center; }
.fd-step-card__art > * { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.fd-step-card__title { margin: 0; text-wrap: balance; }
@media (max-width: 768px) {
  .fd-step-card { flex-direction: row; text-align: left; gap: var(--space-6);
    padding: var(--pad-card); border: 2px solid var(--color-border-default); border-radius: var(--radius-panel); }
  .fd-step-card__art { width: 30%; flex-shrink: 0; }
}

/* fd-pricing-card: one package. Contract: contracts/pricing-card.md */
.fd-pricing-card {
  display: flex; flex-direction: column; gap: var(--space-5);
  padding: var(--pad-card); border: 2px solid var(--color-border-default); border-radius: var(--radius-card);
  background: var(--color-surface-default); color: var(--color-text-primary);
}
.fd-pricing-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.fd-pricing-card__tier { margin: 0; }
.fd-pricing-card__price {
  margin: 0; display: flex; align-items: baseline; gap: var(--space-2);
  font-family: var(--font-primary); font-weight: var(--fw-accent); font-size: var(--type-h2); line-height: 1; letter-spacing: var(--tr-display);
}
.fd-pricing-card__from { font-weight: var(--fw-ui); font-size: var(--type-ui); letter-spacing: var(--tr-tight); }
.fd-pricing-card__desc { margin: 0; }
.fd-pricing-card__features { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: var(--space-5) 0 0; list-style: none; border-top: 1px solid currentColor; }
.fd-pricing-card__features li { display: flex; gap: var(--space-3); }
.fd-pricing-card__features li::before { content: "✓"; flex-shrink: 0; font-weight: var(--fw-head); }
/* The button is always last and pinned to the bottom. Cards in one grid row stretch to the same height, so their buttons line up. */
.fd-pricing-card > .fd-button { margin-top: auto; }
.fd-pricing-card--popular { background: var(--color-surface-inverse); border-color: var(--color-surface-inverse); color: var(--color-text-inverse); }
.fd-pricing-card--popular .fd-pricing-card__tier { color: var(--color-accent-green); }

/* fd-cta-panel: gradient panel, one headline, one button. Contract: contracts/cta-panel.md */
.fd-cta-panel {
  display: flex; flex-direction: column; align-items: center; gap: var(--pad-gutter);
  margin: var(--section-gap) var(--pad-gutter); padding: var(--section-pad-block) var(--pad-panel); border-radius: var(--radius-panel); text-align: center;
  /* No-WebGL fallback = the shader's text-safe zone: brand-strong centre over the brand gradient. */
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--color-surface-brand-strong) 45%, transparent 100%), var(--gradient-brand);
}
.fd-cta-panel__headline { margin: 0; max-width: 18em; color: var(--color-text-on-brand); text-wrap: balance; }

/* fd-contact-form: the enquiry form in a white card. Contract: contracts/contact-form.md */
.fd-contact-form {
  display: flex; flex-direction: column; gap: var(--space-6);
  width: 100%; max-width: 35rem; padding: var(--pad-card-lg); border-radius: var(--radius-card);
  background: var(--color-surface-default); color: var(--color-text-primary); text-align: start;
}
.fd-contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 1024px) { .fd-contact-form__row { grid-template-columns: 1fr; } }

/* fd-work-row: one client project with scrolling preview (.online). Contract: contracts/work-row.md */
.fd-work-row {
  display: flex; align-items: center; gap: var(--section-gap); padding-block: var(--section-gap);
  color: var(--color-text-inverse); text-decoration: none;
}
.fd-work-row__info { flex: 0 0 24%; display: flex; flex-direction: column; gap: var(--space-6); }
.fd-work-row__head { display: flex; flex-direction: column; gap: var(--space-4); }
.fd-work-row__cat { margin: 0; color: var(--color-text-muted-inverse); }
.fd-work-row__name { margin: 0; }
.fd-work-row__link { transition: color var(--motion-duration-base) var(--motion-ease-standard); }
.fd-work-row:hover .fd-work-row__link, .fd-work-row:focus-visible .fd-work-row__link { color: var(--color-text-brand); }
.fd-work-row:focus-visible { outline: 2px solid var(--color-text-brand); outline-offset: 4px; border-radius: var(--radius-card); }
.fd-work-row__preview {
  flex: 1 1 0; min-width: 0; aspect-ratio: 1102 / 615; position: relative; overflow: hidden; container-type: size;
  border-radius: var(--radius-card); background: var(--color-surface-subtle);
}
.fd-work-row__img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto; display: block;
  transition: transform var(--fd-work-scroll, 3s) linear; will-change: transform;
}
.fd-work-row:hover .fd-work-row__img, .fd-work-row:focus-visible .fd-work-row__img { transform: translateY(calc(-100% + 100cqh)); }
@media (max-width: 900px) {
  .fd-work-row { flex-direction: column; align-items: stretch; gap: var(--space-5); }
  .fd-work-row__info { flex: none; }
  .fd-work-row__preview { flex: none; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .fd-work-row__img { transition: none; } }

/* fd-quote: one client quote on black (.online). Contract: contracts/quote.md */
.fd-quote { display: flex; flex-direction: column; gap: var(--space-4); margin: 0; padding-left: var(--space-5); border-left: 2px solid var(--color-text-brand); }
.fd-quote__text { margin: 0; }
.fd-quote__text p { margin: 0; text-wrap: pretty; }
.fd-quote__cite { color: var(--color-text-muted-inverse); font-style: normal; }

/* fd-screenshot: one rounded, top-cropped site screenshot (same frame as fd-case-hero__media). Contract: contracts/screenshot.md */
.fd-screenshot { margin: 0; aspect-ratio: 1102 / 615; overflow: hidden; border-radius: var(--radius-card); background: var(--color-surface-subtle); }
.fd-screenshot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* fd-scroll-cue: a mouse outline with a falling dot, telling people the page goes on. Decorative. Contract: contracts/scroll-cue.md */
.fd-scroll-cue { position: relative; display: block; width: 1.625rem; height: 2.625rem; border: 2px solid currentColor; border-radius: var(--radius-pill); }
.fd-scroll-cue__dot {
  position: absolute; top: var(--space-2); left: 50%; width: var(--space-2); height: var(--space-2); margin-left: calc(var(--space-2) / -2);
  border-radius: 50%; background: var(--color-text-brand);
  animation: fd-scroll-cue var(--motion-duration-slower) var(--motion-ease-in-out) infinite;
}
@keyframes fd-scroll-cue { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(1rem); opacity: 1; } 100% { transform: translateY(1rem); opacity: 0; } }
/* Reduced motion: the dot stays still at the top, visible. */
@media (prefers-reduced-motion: reduce) { .fd-scroll-cue__dot { animation: none; } }

/* fd-sign-off: the .online services sign-off with the pencil art, last before the footer. Contract: contracts/sign-off.md */
.fd-sign-off {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-5);
  padding: var(--section-pad-block) var(--pad-edge) calc(var(--section-pad-block) * 1.5);
  text-align: center; color: var(--color-text-inverse); background: var(--color-surface-inverse);
}
.fd-sign-off__art { position: relative; width: clamp(7.5rem, 10.34vw, 12.4rem); aspect-ratio: 198.55 / 275; }
.fd-sign-off__pencil { position: absolute; top: 0; left: 11.37%; width: 88.63%; height: auto; display: block; }
.fd-sign-off__shadow { position: absolute; top: 95.4%; left: 0; width: 31.23%; height: auto; display: block; }
.fd-sign-off__list { margin: 0; font-family: var(--font-primary); font-weight: var(--fw-soft); font-size: var(--type-h2); line-height: var(--lh-hero); }
.fd-sign-off__list span { display: block; transition: color var(--motion-duration-base) var(--motion-ease-standard); }
.fd-sign-off__list span:hover { color: var(--color-text-brand); }

/* fd-footer: last element on every page. Contract: contracts/footer.md */
.fd-footer {
  background: var(--color-surface-brand-strong); color: var(--color-text-on-brand);
  border-radius: var(--radius-footer) var(--radius-footer) 0 0;
  padding: var(--section-pad-block) var(--pad-inline);
  display: flex; flex-direction: column; gap: var(--section-pad-block);
}
.fd-footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--section-gap); }
.fd-footer__mark { display: block; width: calc(var(--type-ui) * 2.5); }
.fd-footer__mark img { display: block; width: 100%; height: auto; }
.fd-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.fd-footer__heading {
  margin: 0; text-transform: uppercase;
  font-family: var(--font-primary); font-weight: var(--fw-head); font-size: var(--type-ui); line-height: var(--lh-title);
}
.fd-footer__link {
  color: var(--color-text-on-brand); text-decoration: none;
  font-family: var(--font-primary); font-weight: var(--fw-ui); font-size: var(--type-ui); line-height: var(--lh-lead); letter-spacing: var(--tr-tight);
  transition: opacity var(--motion-duration-fast) var(--motion-ease-standard);
}
.fd-footer__link:hover { opacity: 0.7; }
.fd-footer__link:focus-visible, .fd-footer__mark:focus-visible { outline: 2px solid var(--color-text-on-brand); outline-offset: 4px; }
.fd-footer__wordmark { display: block; width: 100%; height: auto; }
.fd-footer__bottom { display: flex; flex-direction: column; gap: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border-on-brand); }
.fd-footer__copyright { margin: 0; font-family: var(--font-primary); font-weight: var(--fw-body); font-size: var(--type-body); line-height: var(--lh-body); }
@media (max-width: 1024px) { .fd-footer__top { grid-template-columns: 1fr; } }
