/* Approved FFC foundations (236:138). Layout/type opt in per screen; Actions work throughout the synthetic journey. */
/* Shared Action values also support individual controls on legacy-layout screens. */
:root {
  --ffc-action-font: 800 11px/12px "FFC Ruda", sans-serif;
  --ffc-action-tracking: -.3px;
  --ffc-action-highlight: #82ffc2;
  --ffc-action-tertiary: #ececec;
  --ffc-action-padding: 6px;
}
@font-face {
  font-family: "FFC Oranienbaum";
  src: url("../assets/fonts/oranienbaum/Oranienbaum-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "FFC Ruda";
  src: url("../assets/fonts/ruda/Ruda.ttf") format("truetype");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
.ffc-desktop, .ffc-type {
  --space-page: 64px; --space-section: 48px; --space-related: 12px; --space-detail: 6px;
  --text-primary: #000c; --surface-white: #fff; --surface-black: #000;
  --link-highlight: var(--ffc-action-highlight); --link-tertiary-highlight: var(--ffc-action-tertiary);
  --font-primary: "FFC Ruda", sans-serif; --font-display: "FFC Oranienbaum", serif;
  --size-h1: 110px; --line-h1: 90px; --tracking-h1: -6px;
  --size-h2: 42px; --line-h2: 50px; --tracking-h2: -3.6px;
  --size-h4: 20px; --line-h4: 26px; --tracking-h4: -1px;
  --size-body: 14px; --line-body: 20px; --tracking-body: -.5px;
  --size-small: 11px; --line-small: 12px; --tracking-small: -.3px;
}
.ffc-desktop {
  --gutter: var(--space-page);
  margin: 0; min-height: 100svh; font: 400 var(--size-body)/var(--line-body) var(--font-primary);
  letter-spacing: var(--tracking-body); color: var(--text-primary); background: var(--surface-white);
  font-synthesis: none;
}
.ffc-desktop :is(h1,.ffc-h1), .ffc-type.ffc-h1 { font: 400 var(--size-h1)/var(--line-h1) var(--font-display); letter-spacing: var(--tracking-h1); }
.ffc-desktop :is(h2,.ffc-h2) { font: 400 var(--size-h2)/var(--line-h2) var(--font-primary); letter-spacing: var(--tracking-h2); }
.ffc-desktop :is(h4,.ffc-h4) { font: 400 var(--size-h4)/var(--line-h4) var(--font-primary); letter-spacing: var(--tracking-h4); }
.ffc-desktop :is(p,.ffc-paragraph) { font: 400 var(--size-body)/var(--line-body) var(--font-primary); letter-spacing: var(--tracking-body); }
.ffc-desktop :is(small,.small,.ffc-small) { font: 800 var(--size-small)/var(--line-small) var(--font-primary); letter-spacing: var(--tracking-small); }
.ffc-desktop :is(h1,h2,h4,p) { margin: 0; overflow-wrap: break-word; }
.borderless-experiment .ffc-action {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: 0;
  border: 0; background: transparent; color: var(--ffc-action-color, #000c); text-decoration: none; cursor: pointer;
  font: var(--ffc-action-font); letter-spacing: var(--ffc-action-tracking);
}
.borderless-experiment :is(a,button).ffc-action::before, .ffc-desktop .ffc-link::before { content: none; }
.borderless-experiment .ffc-action__highlight {
  display: block; flex: 0 1 auto; width: fit-content; max-width: 100%;
  padding: 0 var(--ffc-action-padding) 0 0;
  background: var(--ffc-action-fill, var(--ffc-action-highlight));
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.borderless-experiment .ffc-action--tertiary .ffc-action__highlight { background: var(--ffc-action-fill, var(--ffc-action-tertiary)); }
.ffc-desktop .ffc-link {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-primary); text-decoration: none;
  font: 400 14px/18.2px "FFC", sans-serif; letter-spacing: 0;
}
.ffc-desktop .ffc-link__highlight { padding-inline: 4px; border: .5px solid #000; border-radius: 4px; background: var(--surface-white); white-space: nowrap; flex-shrink: 0; }
.ffc-desktop .ffc-link--highlighted .ffc-link__highlight { border: 0; background: var(--link-highlight); }
.ffc-desktop .ffc-link--soft .ffc-link__highlight { border: 0; background: #cabdff; }
.ffc-desktop :is(a,button):focus-visible { outline: 2px solid currentColor; outline-offset: var(--ffc-focus-offset, 4px); }
/* Keep marker geometry/color stable in every interaction state. Keyboard focus
   is an outline on the hit target, never a full-width colored background. */
.borderless-experiment .ffc-action:is(:hover,:active,:focus) { text-decoration: none; background: transparent; }
.borderless-experiment .ffc-action:focus:not(:focus-visible) { outline: none; }
.borderless-experiment .ffc-action:focus-visible { outline: 2px solid currentColor; outline-offset: var(--ffc-focus-offset,4px); }
.borderless-experiment .ffc-action--compact { min-height: 0; }
.borderless-experiment .ffc-action:disabled { cursor: not-allowed; opacity: .55; }
.borderless-experiment .ffc-action[aria-pressed=false] .ffc-action__highlight { background: var(--ffc-action-fill,var(--ffc-action-tertiary)); }
.ffc-desktop [data-public-header] {
  height: auto; min-height: 64px; padding: 10px var(--space-page);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-related) var(--space-section);
}
.ffc-desktop [data-public-header] .wordmark { width: 94px; height: 19px; flex: 0 0 auto; }
.ffc-desktop [data-public-header] nav { display: grid; grid-template-columns: 37px 33px 99px; gap: 28px; }
.ffc-desktop [data-public-footer] {
  display: flex; justify-content: flex-end; padding: 14px var(--space-page) 22.9px;
  border: 0; background: var(--surface-white); color: var(--text-primary);
}
.ffc-desktop [data-public-footer] p {
  margin: 0; min-width: 159px; text-align: left;
  font: 400 var(--size-body)/var(--line-body) var(--font-primary); letter-spacing: var(--tracking-body);
}
.ffc-desktop .preview-notice { color: var(--text-primary); font: 400 var(--size-body)/var(--line-body) var(--font-primary); letter-spacing: var(--tracking-body); }
@media (max-width: 700px) {
  .ffc-desktop, .ffc-type { --space-page: 20px; --size-h1: 56px; --line-h1: 52px; --tracking-h1: -3px; }
  .ffc-desktop [data-public-header] { flex-direction: column; align-items: flex-start; }
  .ffc-desktop [data-public-header] nav { align-self: flex-end; }
}

.borderless-experiment .ffc-action[aria-pressed=true] .ffc-action__highlight { background: var(--ffc-action-fill,var(--ffc-action-highlight)); }

/* Text actions on black surfaces: same spacing and hit areas, no marker or underline. */
.borderless-experiment .ffc-action-surface-dark {--ffc-action-color:#fff;--ffc-action-fill:transparent;--ffc-action-secondary-color:#c2c2c2}
.borderless-experiment .ffc-action-surface-dark .ffc-action--tertiary {color:var(--ffc-action-secondary-color)}
.borderless-experiment .ffc-action-surface-dark .ffc-action:is(:hover,:focus-visible) {text-decoration:none}

/* Public pages and intake share the desktop header even when the body changes
   type styles between workflow steps. Mobile keeps its approved shell. */
@media (min-width: 701px) and (hover: hover), (min-width: 701px) and (pointer: fine) {
  .borderless-experiment [data-public-header].site-header {
    min-height: 64px;
    height: 64px;
    padding: 10px 64px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
  }
  .borderless-experiment [data-public-header] .wordmark {
    display: inline-flex;
    align-items: center;
    width: 94px;
    height: 19px;
    flex: none;
    font: 400 14px/18.2px "FFC", sans-serif;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .borderless-experiment [data-public-header] nav {
    display: grid;
    grid-template-columns: 37px 33px 99px;
    gap: 28px;
    align-items: center;
  }
  .ffc-public-mobile [data-public-header] nav { grid-template-columns: 37px 33px; }
  #work-area { scroll-margin-top: 64px; }
}
