/* Local Figtree by Erik Kennedy, OFL-1.1; shared BrightRoles palette. */
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --br-font: 'Figtree', 'Segoe UI', sans-serif;
  --br-bg: #f8faff;
  --br-surface: #ffffff;
  --br-soft: #eef3fc;
  --br-ink: #101c34;
  --br-muted: #52617a;
  --br-line: #d8e1f0;
  --br-brand: #2457df;
  --br-brand-hover: #1945bc;
  --br-on-brand: #ffffff;
  --br-brand-soft: #e9efff;
  --br-sun: #2457df;
  --br-danger: #b42338;
  --br-danger-soft: #fff0f2;
  --br-success: #176449;
  --br-success-soft: #edf7f2;
  --br-warn: #795000;
  --br-warn-soft: #eef3fc;
  --br-control-radius: 8px;
  --br-panel-radius: 12px;
  --br-content: 1200px;
  --br-space-1: 4px;
  --br-space-2: 8px;
  --br-space-3: 12px;
  --br-space-4: 16px;
  --br-space-5: 24px;
  --br-space-6: 32px;
  --br-space-7: 48px;
  --br-shadow: 0 4px 16px rgb(16 28 52 / 4%);
  --br-raised: 0 16px 40px rgb(16 28 52 / 12%);
  --br-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --br-bg: #101827;
    --br-surface: #19243a;
    --br-soft: #202e48;
    --br-ink: #f2f6ff;
    --br-muted: #b5c3db;
    --br-line: #35445e;
    --br-brand: #9ebaff;
    --br-brand-hover: #bed0ff;
    --br-on-brand: #101c34;
    --br-brand-soft: #253858;
    --br-sun: #9ebaff;
    --br-danger: #ffb3bf;
    --br-danger-soft: #402534;
    --br-success: #9bdfc3;
    --br-success-soft: #193a36;
    --br-warn: #f2d18e;
    --br-warn-soft: #393222;
  }
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light dark;
  scroll-padding-block: 24px;
}
body {
  margin: 0;
  background: var(--br-bg);
  color: var(--br-ink);
  font: 400 16px/1.6 var(--br-font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 3px solid var(--br-brand);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--br-ink);
  color: var(--br-bg);
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.masthead {
  border-bottom: 1px solid var(--br-line);
  background: var(--br-surface);
}
.masthead__inner {
  max-width: var(--br-content);
  width: calc(100% - 64px);
  min-height: 80px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.045em;
  color: var(--br-ink);
  text-decoration: none;
}
.primary-nav {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  border-radius: 6px;
  text-decoration: none;
}
.primary-nav a:hover {
  color: var(--br-brand);
  background: var(--br-brand-soft);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  color: var(--br-on-brand);
  background: var(--br-brand);
  border: 1px solid var(--br-brand);
  border-radius: var(--br-control-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.button:hover {
  background: var(--br-brand-hover);
}
.button--small {
  min-height: 44px;
  font-size: 14px;
  padding: 10px 18px;
}
.hero {
  width: calc(100% - 64px);
  max-width: var(--br-content);
  margin-inline: auto;
  padding: 52px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 72px;
  align-items: start;
}
.hero__intro {
  color: var(--br-brand);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin: 0 0 16px;
  grid-column: 1;
}
.hero__headline {
  grid-column: 1;
}
.hero h1 {
  font: 800 clamp(3rem, 5.5vw, 5rem) / 1.02 var(--br-font);
  letter-spacing: -0.05em;
  max-width: 14ch;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero__lede {
  grid-column: 1;
  color: var(--br-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 48ch;
  margin: 0;
}
.hero__note {
  grid-column: 1;
  font-size: 13px;
  color: var(--br-muted);
  margin: 20px 0 0;
}
.section {
  width: calc(100% - 64px);
  max-width: var(--br-content);
  margin-inline: auto;
}
.section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 24px;
}
.section h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
}
.section__heading > p {
  color: var(--br-muted);
  max-width: 34ch;
  font-size: 15px;
  margin: 0;
}
.chooser {
  padding-block: 32px 56px;
  border-top: 1px solid var(--br-line);
}
.chooser__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.destination {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--br-line);
  border-top: 3px solid var(--br-brand);
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  background: var(--br-surface);
  color: var(--br-ink);
}
.destination__type {
  font-size: 12px;
  font-weight: 600;
  color: var(--br-muted);
  margin: 0 0 4px;
}
.destination h3 {
  font-size: 24px;
  color: var(--br-brand);
  font-weight: 750;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}
.destination .destination__promise {
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 16px;
}
.destination > p:not(.destination__promise):not(.destination__type) {
  color: var(--br-muted);
  font-size: 15px;
  margin: 0 0 20px;
}
.destination ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--br-muted);
}
.destination li {
  padding-block: 8px;
  border-top: 1px solid var(--br-line);
}
.destination__action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 650;
  margin-top: auto;
  color: var(--br-brand);
}
.destination:focus-within {
  border-color: var(--br-brand);
}
.how {
  padding-block: 40px 56px;
  border-top: 1px solid var(--br-line);
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.how__steps li {
  display: flex;
  gap: 16px;
  min-width: 0;
}
.how__number {
  flex: 0 0 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--br-brand);
  background: var(--br-brand-soft);
  font-size: 14px;
  font-weight: 650;
}
.how__steps h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 1px 0 8px;
  line-height: 1.4;
}
.how__steps p {
  font-size: 15px;
  color: var(--br-muted);
  margin: 0;
}
.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--br-line);
}
.closing h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.closing p {
  color: var(--br-muted);
  font-size: 16px;
  margin: 12px 0 0;
}
.button--light {
  color: var(--br-on-brand);
  background: var(--br-brand);
  border-color: var(--br-brand);
}
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--br-line);
  background: var(--br-surface);
}
.site-footer__inner {
  width: calc(100% - 64px);
  max-width: var(--br-content);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 24px;
}
.site-footer p {
  font-size: 13px;
  color: var(--br-muted);
  margin: 0;
}
.footer-groups {
  flex-basis: 100%;
  display: grid;
  gap: 4px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  font-size: 13px;
  color: var(--br-muted);
}
.footer-label {
  font-weight: 650;
  color: var(--br-ink);
}
.footer-links small {
  margin-left: 6px;
  font-size: 12px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
  color: var(--br-brand);
}
/* Keep contrast stable during motion and foreground/background state changes. */
a,
.destination {
  transition:
    border-color 160ms,
    box-shadow 180ms,
    transform 180ms var(--br-ease);
}
@keyframes br-enter {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__headline {
    animation: br-enter 400ms var(--br-ease) both;
  }
  .hero__lede {
    animation: br-enter 420ms 50ms var(--br-ease) both;
  }
  .destination:hover {
    transform: translateY(-3px);
    border-color: var(--br-brand);
    box-shadow: var(--br-raised);
  }
  .button:hover {
    transform: translateY(-1px);
  }
  .button: active;
}
@media (max-width: 960px) {
  .hero {
    gap: 0 32px;
    grid-template-columns: minmax(0, 1fr);
  }
  .chooser__grid {
    gap: 12px;
  }
  .destination {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .masthead__inner,
  .section,
  .site-footer__inner,
  .hero {
    width: calc(100% - 40px);
  }
  .masthead__inner {
    flex-wrap: wrap;
    gap: 0 14px;
    min-height: 76px;
    padding-block: 8px;
  }
  .brand {
    font-size: 23px;
  }
  .primary-nav {
    flex-wrap: wrap;
    gap: 0;
  }
  .hero {
    display: block;
    padding-block: 32px 28px;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 9vw, 4rem);
    margin-bottom: 16px;
  }
  .hero__intro {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .hero__lede {
    font-size: 16px;
  }
  .desktop-break {
    display: none;
  }
  .hero__note {
    margin-top: 16px;
    font-size: 12px;
  }
  .section__heading {
    display: block;
  }
  .section__heading > p {
    margin-top: 12px;
  }
  .chooser {
    padding-block: 28px 40px;
  }
  .chooser__grid,
  .how__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .destination {
    padding: 24px;
  }
  .destination h3 {
    margin-bottom: 20px;
  }
  .destination .destination__promise {
    font-size: 28px;
  }
  .how {
    padding-block: 32px 40px;
  }
  .how__steps {
    gap: 24px;
    margin-top: 24px;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .footer-links {
    gap: 0 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Professional parent hub: neutral surfaces and restrained feedback. */
:root {
  --br-bg: #f7f7f7;
  --br-surface: #ffffff;
  --br-soft: #f4f6f9;
  --br-ink: #192436;
  --br-muted: #556174;
  --br-line: #dce1e8;
  --br-brand: #2d5b8c;
  --br-brand-hover: #234a73;
  --br-brand-soft: #e8eef5;
  --br-on-brand: #ffffff;
}
.hero {
  padding-top: 52px;
  padding-bottom: 40px;
}
.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
}
.hero > *,
.hero h1,
.destination {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.destination {
  border-top-color: var(--br-line);
  background: var(--br-surface);
}
.destination__type,
.destination h3 {
  color: var(--br-brand);
}
.closing {
  background: var(--br-soft);
  padding-inline: 24px;
  border-radius: var(--br-panel-radius);
}
@media (prefers-color-scheme: dark) {
  :root {
    --br-bg: #151c27;
    --br-surface: #1e2837;
    --br-soft: #253143;
    --br-ink: #f1f4f9;
    --br-muted: #c0cad9;
    --br-line: #425064;
    --br-brand: #9cc0e8;
    --br-brand-hover: #bdd5f0;
    --br-brand-soft: #24364d;
    --br-on-brand: #102033;
  }
}

/* Explicit hub preferences override the system preference. */
:root[data-theme='light'] {
  color-scheme: light;
  --br-bg: #f7f7f7;
  --br-surface: #ffffff;
  --br-soft: #f4f6f9;
  --br-ink: #192436;
  --br-muted: #556174;
  --br-line: #dce1e8;
  --br-brand: #2d5b8c;
  --br-brand-hover: #234a73;
  --br-brand-soft: #e8eef5;
  --br-on-brand: #ffffff;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --br-bg: #151c27;
  --br-surface: #1e2837;
  --br-soft: #253143;
  --br-ink: #f1f4f9;
  --br-muted: #c0cad9;
  --br-line: #425064;
  --br-brand: #9cc0e8;
  --br-brand-hover: #bdd5f0;
  --br-brand-soft: #24364d;
  --br-on-brand: #102033;
}
:root[data-theme] .destination {
  background: var(--br-surface);
  color: var(--br-ink);
}
:root[data-theme] .destination :is(p, ul) {
  color: var(--br-muted);
}
.hub-theme {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}
.hub-theme summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--br-line);
  border-radius: 6px;
}
.hub-theme nav {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: 180px;
  padding: 6px;
  background: var(--br-surface);
  border: 1px solid var(--br-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px #14243a14;
}
.hub-theme nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
}
.hub-theme nav a[aria-current='page'],
.hub-theme nav a:hover {
  background: var(--br-brand-soft);
  color: var(--br-brand);
}
.masthead__inner {
  gap: 16px;
}
@media (max-width: 600px) {
  .masthead__inner {
    gap: 8px;
  }
  .hub-theme summary {
    padding-inline: 9px;
  }
}

/* Quiet architectural motion for the professional hub. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: -48px -48px -48px 46%;
  background-image:
    linear-gradient(var(--br-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--br-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent, #000);
  animation: br-hub-grid 70s linear infinite;
}
.hero__intro {
  text-transform: none;
  letter-spacing: 0;
}
@keyframes br-hub-grid {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(48px, 48px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none !important;
  }
}

/* Legal pages (/privacy, /terms): a readable single column, tables scroll on small screens. */
.legal {
  width: calc(100% - 32px);
  max-width: 760px;
  margin: 0 auto;
  padding-block: 32px 48px;
}
.legal h1 {
  margin: 0 0 4px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
}
.legal h2 {
  margin: 40px 0 8px;
  font-size: 1.35rem;
  line-height: 1.3;
  scroll-margin-top: 24px;
}
.legal p,
.legal li {
  max-width: 70ch;
}
.legal li + li {
  margin-top: 6px;
}
.legal a {
  color: var(--br-brand);
}
.legal__updated {
  margin-top: 0;
  color: var(--br-muted);
  font-size: 14px;
}
.legal__contents {
  margin-block: 24px;
  padding: 16px 24px;
  border: 1px solid var(--br-line);
  border-radius: var(--br-panel-radius);
  background: var(--br-surface);
}
.legal__contents h2 {
  margin-top: 0;
  font-size: 1rem;
}
.legal__contents ol {
  margin: 0;
  padding-left: 20px;
  columns: 2 220px;
}
.legal__table {
  overflow-x: auto;
  margin-block: 16px;
  border: 1px solid var(--br-line);
  border-radius: var(--br-panel-radius);
}
.legal table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.legal th,
.legal td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--br-line);
}
.legal thead th {
  background: var(--br-soft);
}
.legal tbody tr:last-child td {
  border-bottom: 0;
}
