.template-root[data-brand="southern-marin-ledger"] {
  --brand-tokens-brand-50: #eff1fa;
  --brand-tokens-brand-100: #e0e3f6;
  --brand-tokens-brand-200: #bfc6ee;
  --brand-tokens-brand-300: #98a4e2;
  --brand-tokens-brand-400: #7b8ad5;
  --brand-tokens-brand-500: #3148b9;
  --brand-tokens-brand-600: #233695;
  --brand-tokens-brand-700: #1f2e7a;
  --brand-tokens-brand-800: #17235e;
  --brand-tokens-brand-900: #121b44;
  --brand-tokens-brand-950: #0d122b;

  --brand-tokens-greyscale-10: #f6f8f6;
  --brand-tokens-greyscale-50: #eef1ee;
  --brand-tokens-greyscale-100: #e1e7e2;
  --brand-tokens-greyscale-200: #cdd6ce;
  --brand-tokens-greyscale-300: #aab5ab;
  --brand-tokens-greyscale-400: #869089;
  --brand-tokens-greyscale-500: #5f6a61;
  --brand-tokens-greyscale-600: #4a544c;
  --brand-tokens-greyscale-700: #383f39;
  --brand-tokens-greyscale-800: #262c27;
  --brand-tokens-greyscale-900: #161a17;
  --brand-tokens-greyscale-950: #0e110f;
  --brand-tokens-greyscale-1000: #070806;

  --brand-tokens-typography-body: "Source Serif 4";
  --brand-tokens-typography-labels: "Inter Tight";
  --brand-tokens-typography-titles-a: "Fraunces";
  --brand-tokens-typography-titles-b: "Manrope";

  --tint-light: #eceef5;
}

.template-root[data-brand="southern-marin-ledger"] .block-container--bg-default,
.template-root[data-brand="southern-marin-ledger"] .block-container--bg-tint {
  --interactive-text-primary-hover: var(--brand-tokens-brand-700);
  --interactive-text-primary-pressed: var(--brand-tokens-brand-800);

  --interactive-contained-primary-hover: var(--brand-tokens-brand-700);
  --interactive-contained-primary-pressed: var(--brand-tokens-brand-800);
}

.template-root[data-brand="southern-marin-ledger"] .block-container--bg-brand,
.template-root[data-brand="southern-marin-ledger"] .block-container--bg-inverted {
  --interactive-text-primary-idle: var(--brand-tokens-brand-100);
  --interactive-text-primary-hover: var(--brand-tokens-brand-200);
  --interactive-text-primary-pressed: var(--brand-tokens-brand-300);
}

/* Use a fixed gradient stop so the tall article band is not shaded end to end. */
.template-root[data-brand="southern-marin-ledger"] .block-container--bg-brand {
  background-image: linear-gradient(
    to top,
    color-mix(in srgb, var(--brand-tokens-brand-950) 30%, transparent) 0,
    transparent 300px
  );
}

.template-root[data-brand="southern-marin-ledger"] .block-container--bg-brand:has(.block-header) {
  background-image: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-tokens-brand-950) 55%, transparent) 0%,
    transparent 78%
  );
}

/* The shared button fill does not separate from this painted surface. */
.template-root[data-brand="southern-marin-ledger"]
  .block-container--bg-brand
  .block-header__subscribe-btn,
.template-root[data-brand="southern-marin-ledger"]
  .block-container--bg-inverted
  .block-header__subscribe-btn {
  background: var(--brand-tokens-greyscale-10);
  background-color: var(--brand-tokens-greyscale-10);
  border-color: var(--brand-tokens-greyscale-10);
  color: var(--brand-tokens-greyscale-900);
}

.template-root[data-brand="southern-marin-ledger"]
  .block-container--bg-brand
  .block-header__subscribe-btn:hover,
.template-root[data-brand="southern-marin-ledger"]
  .block-container--bg-inverted
  .block-header__subscribe-btn:hover {
  background: var(--brand-tokens-brand-100);
  background-color: var(--brand-tokens-brand-100);
  border-color: var(--brand-tokens-brand-100);
  color: var(--brand-tokens-greyscale-900);
  opacity: 1;
}

/* Painted containers otherwise render typed input text on the field's light fill. */
.template-root[data-brand="southern-marin-ledger"] .block-container--bg-brand .block-cta__input,
.template-root[data-brand="southern-marin-ledger"] .block-container--bg-inverted .block-cta__input {
  color: var(--brand-tokens-greyscale-900);
}
