/* Public identity, approved Or boréal. Structure and motion stay in page styles.
   This stylesheet is loaded only by the public generator, never by Flutter. */
:root {
  --pillary-ink: #14243e;
  --pillary-structure: #102440;
  --pillary-paper: #fffefb;
  --pillary-panel: #fffefa;
  --pillary-line: #d8dfd6;
  --pillary-editorial-solid: #007962;
  --pillary-editorial: linear-gradient(100deg, #00816b 0%, #007d83 45%, #00629b 100%);
  --pillary-hero: linear-gradient(180deg, transparent 0%, transparent 55%, #eaf1ed 100%), linear-gradient(115deg, #e9f0f4 0%, #d3e6e3 55%, #f0dfb8 100%);
  --pillary-questions: linear-gradient(180deg, #eaf1ed 0%, #f2f5ef 55%, #f5f0e4 100%);
  --pillary-scenario: linear-gradient(180deg, #f5f0e4 0%, #f1e7cf 55%, #e8ede4 100%);
  --pillary-finish: linear-gradient(115deg, #102440 0%, #2d3f56 100%);
  --pillary-action: linear-gradient(110deg, #142b4b 0%, #155561 100%);
  --pillary-action-hover: linear-gradient(110deg, #1b3a5c 0%, #19606a 100%);
  --pillary-action-gold: linear-gradient(110deg, #e3be65 0%, #eed995 100%);
  --pillary-action-gold-hover: linear-gradient(110deg, #edcb7a 0%, #f4e4ac 100%);
  --pillary-shadow-product: 0 24px 48px rgba(16, 36, 64, .13);
  --pillary-shadow-panel: 0 12px 28px rgba(16, 36, 64, .055);
}
body.or-boreal {
  --navy: var(--pillary-ink);
  --ink: var(--pillary-ink);
  --ivory: #eaf1ed;
  --panel: var(--pillary-panel);
  --line: var(--pillary-line);
  --shadow: var(--pillary-shadow-panel);
  background: var(--pillary-panel);
  color: var(--pillary-ink);
}
.or-boreal .site-header { background: #111a2b; }
.or-boreal .site-footer { background: #111a2b; }

/* Primary actions only. Quiet actions, selected controls and errors keep their roles. */
.or-boreal :is(.button-navy, .ft-button, .hp-button:not(:disabled), .pr-button:not(.pr-button-outline):not(.pr-button-gold)),
.or-boreal.landing-v4 :is(.v3-hero, .v4-answer-action, .v4-scenario-bottom) .preview-button {
  background: var(--pillary-action);
  border-color: #142b4b;
  color: #fff;
}
.or-boreal :is(.button-navy, .ft-button, .hp-button:not(:disabled), .pr-button:not(.pr-button-outline):not(.pr-button-gold)):hover,
.or-boreal.landing-v4 :is(.v3-hero, .v4-answer-action, .v4-scenario-bottom) .preview-button:hover {
  background: var(--pillary-action-hover);
  color: #fff;
}
.or-boreal :is(.button-gold, .sc-button, .pr-button-gold),
.or-boreal.landing-v4 .v3-finish .preview-button {
  background: var(--pillary-action-gold);
  border-color: #e3be65;
  color: var(--pillary-ink);
}
.or-boreal :is(.button-gold, .sc-button, .pr-button-gold):hover,
.or-boreal.landing-v4 .v3-finish .preview-button:hover {
  background: var(--pillary-action-gold-hover);
  color: var(--pillary-ink);
}
.or-boreal :is(.button, .ft-button, .hp-button, .sc-button, .pr-button) {
  transition: transform .18s ease, box-shadow .18s ease;
}
.or-boreal main :is(.button, .ft-button, .hp-button, .sc-button, .pr-button):focus-visible,
.or-boreal.landing-v4 :is(.v3-hero, .v4-answer-action, .v4-scenario-bottom) .preview-button:focus-visible {
  outline: 3px solid var(--pillary-ink);
  outline-offset: 5px;
}
.or-boreal :is(.site-header, .sc-contact, .pr-close, .ft-choices, .v3-finish) :is(a, button):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

/* The landing's three light sections join at exactly the same colour. */
.or-boreal.landing-v4 .v3-hero { background: var(--pillary-hero); }
.or-boreal.landing-v4 .v3-questions { background: var(--pillary-questions); }
.or-boreal.landing-v4 .v3-scenario { background: var(--pillary-scenario); }
.or-boreal.landing-v4 .v3-finish { background: var(--pillary-finish); }
.or-boreal.landing-v4 .v3-finish .preview-section-kicker { color: #eed995; }
.or-boreal.landing-v4 .v3-hero .preview-kicker { color: #65501f; }
.or-boreal.landing-v4 .v3-hero .preview-lead { color: #334457; }
.or-boreal.landing-v4 .v4-hero-trust { border-top-color: #876b2b; }
.or-boreal.landing-v4 .v4-hero-trust p + p { color: #3c5060; }
.or-boreal.landing-v4 .v3-stage { box-shadow: var(--pillary-shadow-product); }
.or-boreal.landing-v4 :is(.preview-lab-content, .v4-scenario-stage) {
  background: var(--pillary-panel);
  box-shadow: var(--pillary-shadow-panel);
}
/* Do not broaden these accents to data, statistics, table headings or form labels. */
.or-boreal.landing-v4 .v3-hero h1 span:last-child,
.or-boreal.landing-v4 .v4-answer-main strong,
.or-boreal.features-page .ft-hero h1 span,
.or-boreal.pricing-page .pr-hero h1 > span {
  color: var(--pillary-editorial-solid);
}
@supports (background-clip: text) {
  .or-boreal.landing-v4 .v3-hero h1 span:last-child,
  .or-boreal.landing-v4 .v4-answer-main strong,
  .or-boreal.features-page .ft-hero h1 span,
  .or-boreal.pricing-page .pr-hero h1 > span {
    background-image: var(--pillary-editorial);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}

/* Secondary page introductions share the identity, not the landing layout. */
.or-boreal :is(.ft-hero, .sc-hero, .pr-hero, .guide-hub, .guides-hero, .guide-article-header, .hp-hero, .legal-hero) {
  background: var(--pillary-hero);
  border-bottom-color: var(--pillary-line);
}
.or-boreal :is(.ft-daily, .sc-hosting, .pr-uses, .guides-list-section, .guides-category-list,
  .legal-main, .hp-faq-layout, .hp-contact-layout) {
  background: var(--pillary-panel);
}
.or-boreal.features-page .ft-wealth {
  background: var(--pillary-paper);
  border-color: var(--pillary-structure);
  box-shadow: var(--pillary-shadow-product);
}
.or-boreal :is(.ft-daily-demo, .ft-pension-view, .pr-offer, .hp-form) {
  box-shadow: var(--pillary-shadow-panel);
}
.or-boreal.guides-page .guide-catalog-link {
  background: var(--pillary-panel);
  border-color: var(--pillary-line);
}
.or-boreal.guides-page .guide-catalog-opening .guide-catalog-link {
  background: #eaf1ed;
  border-color: #bdd0c0;
  box-shadow: var(--pillary-shadow-panel);
}
.or-boreal :is(.ft-project, .sc-documents, .guides-featured, .pr-comparison, .hp-contact-invite) {
  background: var(--pillary-questions);
}
.or-boreal.features-page .ft-retirement { background: var(--pillary-scenario); }
.or-boreal :is(.ft-choices, .sc-contact, .pr-close, .pr-premium) { background: var(--pillary-finish); }
.or-boreal :is(.ft-start, .pr-questions) { background: var(--pillary-panel); }
.or-boreal :is(.guides-page, .help-page, .security-page, .pricing-page) main { background: var(--pillary-panel); }
/* Editorial copy stays on paper; no gradients inside fields, notices or tables. */
.or-boreal .legal-main { border-top: 1px solid var(--pillary-line); }

@media (prefers-reduced-motion: reduce) {
  .or-boreal :is(.button, .ft-button, .hp-button, .sc-button, .pr-button) {
    transition: none;
    transform: none;
  }
}
@media (forced-colors: active), (prefers-contrast: more) {
  .or-boreal :is(.v3-hero, .v3-questions, .v3-scenario,
    .ft-hero, .sc-hero, .pr-hero, .guide-hub, .guides-hero, .guide-article-header, .hp-hero, .legal-hero,
    .ft-project, .sc-documents, .guides-featured, .pr-comparison, .hp-contact-invite,
    .ft-retirement) { background: Canvas; color: CanvasText; }
  .or-boreal :is(.v3-finish, .ft-choices, .sc-contact, .pr-close, .pr-premium) { background: #102440; }
  .or-boreal.landing-v4 .v3-hero h1 span:last-child,
  .or-boreal.landing-v4 .v4-answer-main strong,
  .or-boreal.features-page .ft-hero h1 span,
  .or-boreal.pricing-page .pr-hero h1 > span { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  .or-boreal :is(.button, .ft-button, .hp-button, .sc-button, .pr-button, .preview-button) {
    background: ButtonFace !important; color: ButtonText !important; border: 2px solid ButtonText !important;
  }
}
@media print {
  .or-boreal.landing-v4 .v3-hero h1 span:last-child,
  .or-boreal.landing-v4 .v4-answer-main strong,
  .or-boreal.features-page .ft-hero h1 span,
  .or-boreal.pricing-page .pr-hero h1 > span { background: none; color: #14243e; -webkit-text-fill-color: #14243e; }
}
