/* Landing-page centre content only. Header, About BFG-X dock, footer, logos and other routes remain owned by the existing app. */
.app-shell[data-workspace="home"] .bfgx-home-hero {
  align-items: start !important;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  row-gap: 0 !important;
  padding-bottom: 14px !important;
}
.app-shell[data-workspace="home"] .bfgx-home-hero-copy { min-width: 0; }
.app-shell[data-workspace="home"] .bfgx-home-hero-copy h1 {
  max-width: 740px;
  margin-bottom: 14px !important;
}
.app-shell[data-workspace="home"] .bfgx-home-hero-copy p {
  max-width: 760px;
  color: #afc5e3;
}
.app-shell[data-workspace="home"] .bfgx-home-hero-copy .bfgx-home-hero-tagline {
  position: relative;
  margin-top: 13px;
  padding-left: 16px;
  border-left: 4px solid #10d5d8;
  color: #e2e9f7;
  font-style: italic;
  line-height: 1.45;
}
.app-shell[data-workspace="home"] .bfgx-home-hero-visual {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 700px;
}
.app-shell[data-workspace="home"] .bfgx-home-power {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 10px 0 0 !important;
  padding: 12px 0 4px !important;
  border-top: 1px solid rgba(116,145,185,.32);
}
.app-shell[data-workspace="home"] .bfgx-home-power h2 {
  margin: 0 0 8px !important;
  color: #f1f3fb;
  font-size: clamp(18px,1.45vw,24px) !important;
}
.app-shell[data-workspace="home"] .bfgx-home-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 8px;
}
.app-shell[data-workspace="home"] .bfgx-home-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #dce7f6;
  font-size: clamp(13px,.96vw,16px);
  line-height: 1.35;
}
.app-shell[data-workspace="home"] .bfgx-home-step-number {
  flex: 0 0 auto;
  color: #10d5d8;
  font-size: clamp(24px,2.2vw,34px);
  line-height: 1;
  font-weight: 850;
}
.app-shell[data-workspace="home"] .bfgx-home-steps li:nth-child(2) .bfgx-home-step-number { color: #bc8cec; }
.app-shell[data-workspace="home"] .bfgx-home-steps li:not(:last-child)::after {
  content: "→";
  margin-left: auto;
  color: #d6e5f7;
  font-size: 22px;
}
.app-shell[data-workspace="home"] .bfgx-home-entry {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 10px 0 0 !important;
}
.app-shell[data-workspace="home"] .bfgx-home-entry-actions {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.88fr) minmax(0,1.1fr);
  gap: 12px;
}
.app-shell[data-workspace="home"] .bfgx-home-choice {
  min-width: 0;
  min-height: 62px !important;
  padding: 10px 16px !important;
  gap: 11px !important;
  justify-content: center;
  border-radius: 10px;
  text-align: center;
  box-shadow: none !important;
}
.app-shell[data-workspace="home"] .bfgx-home-choice strong {
  font-size: clamp(13px,1vw,16px) !important;
  line-height: 1.25;
}
.app-shell[data-workspace="home"] .bfgx-home-choice-sample {
  flex-direction: row;
  gap: 10px !important;
  border-color: #31c9d7 !important;
  background: #12cbd1 !important;
  color: #061323 !important;
}
.app-shell[data-workspace="home"] .bfgx-home-choice-sample strong { color: #061323 !important; }
.app-shell[data-workspace="home"] .bfgx-home-choice-sample .bfgx-home-sample-play {
  color: #061323 !important;
}
.app-shell[data-workspace="home"] .bfgx-home-choice-build {
  border: 1px solid rgba(188,140,236,.72) !important;
  background: rgba(8,16,34,.72) !important;
  color: #d8c2ef !important;
}
.app-shell[data-workspace="home"] .bfgx-home-choice-build strong { color: #e8ddf6 !important; }
.app-shell[data-workspace="home"] .bfgx-home-choice-guide {
  border: 1px solid rgba(190,202,222,.68) !important;
  background: rgba(8,16,34,.72) !important;
  color: #d4deec !important;
}
.app-shell[data-workspace="home"] .bfgx-home-choice-guide strong { color: #e2e8f2 !important; }
.app-shell[data-workspace="home"] .bfgx-home-choice-build .bfgx-home-choice-icon { color: #bc8cec !important; }
.app-shell[data-workspace="home"] .bfgx-home-choice-guide .bfgx-home-choice-icon { color: #d4deec !important; }
.app-shell[data-workspace="home"] .bfgx-home-choice-build:hover,
.app-shell[data-workspace="home"] .bfgx-home-choice-build:focus-visible { border-color: #bc8cec !important; background: rgba(25,23,48,.88) !important; }
.app-shell[data-workspace="home"] .bfgx-home-choice-guide:hover,
.app-shell[data-workspace="home"] .bfgx-home-choice-guide:focus-visible { border-color: #e0e8f6 !important; background: rgba(23,33,52,.9) !important; }
.app-shell[data-workspace="home"] .bfgx-home-choice-sample:hover,
.app-shell[data-workspace="home"] .bfgx-home-choice-sample:focus-visible { background: #35dbe0 !important; }
@media (min-width:1450px) and (max-width:2559px) and (min-height:700px) and (max-height:1150px) {
  .app-shell[data-workspace="home"] .bfgx-home-hero { padding-top: 16px !important; padding-bottom: 8px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy h1 { font-size: clamp(36px,2.65vw,52px) !important; }
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy p { font-size: clamp(14px,.92vw,17px); line-height: 1.4; }
  .app-shell[data-workspace="home"] .bfgx-home-power { margin-top: 6px !important; padding-top: 8px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-entry { margin-top: 6px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-choice { min-height: 58px !important; }
}
@media (max-width:960px) {
  .app-shell[data-workspace="home"] .bfgx-home-steps { gap: 12px; }
  .app-shell[data-workspace="home"] .bfgx-home-entry-actions { grid-template-columns: minmax(0,1fr) minmax(0,.9fr) minmax(0,1.05fr); gap: 8px; }
}
@media (max-width:720px) {
  .app-shell[data-workspace="home"] .workspace-home { overflow-x: clip !important; overflow-y: auto !important; }
  .app-shell[data-workspace="home"] .bfgx-home-hero {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 17px !important;
    padding: 22px 16px 20px !important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy { order: 0; }
  .app-shell[data-workspace="home"] .bfgx-home-power { order: 1; margin-top: 0 !important; padding-top: 12px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-entry { order: 2; margin-top: 0 !important; }
  .app-shell[data-workspace="home"] .bfgx-home-hero-visual { order: 3; width: 100%; max-width: none; }
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy h1 { font-size: clamp(34px,9vw,46px) !important; }
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy p { font-size: 15px; line-height: 1.48; }
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy .bfgx-home-hero-tagline { margin-top: 11px; font-size: 14px; }
  .app-shell[data-workspace="home"] .bfgx-home-steps { grid-template-columns: minmax(0,1fr); gap: 9px; padding: 0 3px; }
  .app-shell[data-workspace="home"] .bfgx-home-steps li { gap: 12px; font-size: 14px; }
  .app-shell[data-workspace="home"] .bfgx-home-step-number { width: 24px; font-size: 24px; }
  .app-shell[data-workspace="home"] .bfgx-home-steps li:not(:last-child)::after { content: none; }
  .app-shell[data-workspace="home"] .bfgx-home-entry-actions { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .app-shell[data-workspace="home"] .bfgx-home-choice { min-height: 54px !important; padding: 10px 14px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-choice strong { font-size: 15px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-choice-icon { width: 30px; font-size: 24px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-sample-play { width: 30px !important; height: 30px !important; flex-basis: 30px !important; }
}
@media (prefers-reduced-motion:reduce) {
  .app-shell[data-workspace="home"] .bfgx-home-choice { transition: none !important; }
}

/* 1080p refinement from beta visual review: compact steps, then breathing room before CTAs. */
.app-shell[data-workspace="home"] .bfgx-home-power {
  width: min(100%, 1160px);
  justify-self: center;
}
.app-shell[data-workspace="home"] .bfgx-home-entry {
  margin-top: 24px !important;
}
.app-shell[data-workspace="home"] .bfgx-home-entry-actions {
  max-width: 1520px;
  margin-inline: auto;
}
.app-shell[data-workspace="home"] .bfgx-home-choice strong {
  font-size: clamp(16px,1.05vw,19px) !important;
}
.app-shell[data-workspace="home"] .bfgx-home-sample-play {
  width: 0 !important;
  height: 0 !important;
  flex: 0 0 auto !important;
  border: 0 !important;
  border-top: 9px solid transparent !important;
  border-bottom: 9px solid transparent !important;
  border-left: 14px solid #061323 !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
@media (min-width:1450px) and (max-width:2559px) and (min-height:700px) and (max-height:1150px) {
  .app-shell[data-workspace="home"] .bfgx-home-power { width: min(100%,1160px); }
  .app-shell[data-workspace="home"] .bfgx-home-entry { margin-top: 24px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-choice strong { font-size: 18px !important; }
}
@media (max-width:720px) {
  .app-shell[data-workspace="home"] .bfgx-home-power { width: 100%; }
  .app-shell[data-workspace="home"] .bfgx-home-entry { margin-top: 18px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-choice strong { font-size: 17px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-sample-play {
    border-top-width: 8px !important;
    border-bottom-width: 8px !important;
    border-left-width: 12px !important;
  }
}

/* Prevent Unicode fallback glyphs from stacking on top of the authored SVG icons. */
.app-shell[data-workspace="home"] .bfgx-home-choice-icon {
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Keep the home footer readable and inside the viewport at tablet and mobile widths. */
@media (max-width:1180px) {
  .app-shell[data-workspace="home"] .site-footer-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .app-shell[data-workspace="home"] .site-footer-stack .public-footer {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  .app-shell[data-workspace="home"] .site-footer-stack .footer-legal {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    box-sizing: border-box !important;
  }
  .app-shell[data-workspace="home"] .site-footer-stack .research-development-credit {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 3px 0 5px !important;
    padding: 0 12px !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }
}


/* Use the larger supplied portfolio illustration on desktop; retain the existing compact image on narrow screens. */
.app-shell[data-workspace="home"] .bfgx-home-fsd-picture {
  display: block;
  width: 100%;
}
@media (min-width:761px) {
  .app-shell[data-workspace="home"] .bfgx-home-hero-visual {
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-fsd-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

/* Align each instruction number directly over the matching CTA icon. */
@media (min-width:721px) {
  .app-shell[data-workspace="home"] .bfgx-home-power {
    width: min(100%,1520px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-top: 0 !important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-power h2 {
    margin: 0 0 16px !important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-steps {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.88fr) minmax(0,1.1fr);
    gap: 12px;
    padding: 0;
  }
  .app-shell[data-workspace="home"] .bfgx-home-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) 52px;
    gap: 0;
    min-height: 44px;
  }
  .app-shell[data-workspace="home"] .bfgx-home-step-number {
    grid-column: 1;
    justify-self: center;
    font-size: 32px;
  }
  .app-shell[data-workspace="home"] .bfgx-home-steps li > span:nth-child(2) {
    grid-column: 2;
    justify-self: center;
    text-align: center;
  }
  .app-shell[data-workspace="home"] .bfgx-home-steps li:not(:last-child)::after {
    grid-column: 3;
    justify-self: center;
    margin: 0;
  }
  .app-shell[data-workspace="home"] .bfgx-home-entry {
    width: min(100%,1520px);
    margin: 0 auto !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(116,145,185,.32);
    box-sizing: border-box;
  }
  .app-shell[data-workspace="home"] .bfgx-home-entry-actions {
    width: 100%;
    max-width: none;
    margin: 0;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.88fr) minmax(0,1.1fr);
    gap: 12px;
  }
  .app-shell[data-workspace="home"] .bfgx-home-choice {
    display: grid !important;
    grid-template-columns: 52px minmax(0,1fr) 52px;
    align-items: center;
    justify-content: initial;
    min-height: 74px !important;
    padding: 12px 16px !important;
    text-align: center;
  }
  .app-shell[data-workspace="home"] .bfgx-home-choice > .bfgx-home-sample-play,
  .app-shell[data-workspace="home"] .bfgx-home-choice > .bfgx-home-choice-icon {
    grid-column: 1;
    justify-self: center;
  }
  .app-shell[data-workspace="home"] .bfgx-home-choice > strong,
  .app-shell[data-workspace="home"] .bfgx-home-choice > .bfgx-home-choice-copy {
    grid-column: 2;
    justify-self: center;
    width: 100%;
    text-align: center;
  }
}
@media (min-width:1450px) and (max-width:2559px) and (min-height:700px) and (max-height:1150px) {
  .app-shell[data-workspace="home"] .bfgx-home-hero {
    min-height: 100%;
    box-sizing: border-box;
    align-content: space-between !important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-power h2 { margin-bottom: 17px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-entry { padding-top: 20px !important; }
  .app-shell[data-workspace="home"] .bfgx-home-choice { min-height: 76px !important; }
}
@media (max-width:720px) {
  .app-shell[data-workspace="home"] .bfgx-home-power {
    width: 100%;
    margin-top: 0 !important;
    padding: 12px 0 4px !important;
    border-top: 1px solid rgba(116,145,185,.32) !important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-entry {
    width: 100%;
    margin-top: 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(116,145,185,.32);
  }
}

/* Landing refresh: compact instructions stay with the copy; the illustration
   and three paths use the remaining space. All rules are home-only. */
@media (min-width:721px) {
  .app-shell[data-workspace="home"] .bfgx-home-hero {
    height:100%;
    min-height:0;
    box-sizing:border-box;
    align-content:stretch!important;
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
    grid-template-rows:min-content min-content minmax(110px,1fr);
    column-gap:clamp(24px,3vw,64px);
    row-gap:clamp(12px,2vh,24px)!important;
    padding:clamp(18px,2vh,30px) clamp(24px,4vw,76px) 14px!important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy {grid-column:1;grid-row:1;align-self:start}
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy h1 {max-width:900px}
  .app-shell[data-workspace="home"] .bfgx-home-hero-copy p {max-width:900px}
  .app-shell[data-workspace="home"] .bfgx-home-hero-visual {
    grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:stretch;
    width:100%;max-width:none!important;min-width:0;
  }
  .app-shell[data-workspace="home"] .bfgx-home-fsd-image {width:100%;height:auto;max-height:48vh;object-fit:contain}
  .app-shell[data-workspace="home"] .bfgx-home-power {
    grid-column:1;grid-row:2;align-self:start;justify-self:stretch;
    width:100%!important;max-width:100%!important;margin:0!important;
    padding:12px 0 0!important;border-top:1px solid rgba(116,145,185,.32)!important;
  }
  .app-shell[data-workspace="home"] .bfgx-home-power h2 {margin:0 0 8px!important;font-size:clamp(18px,1.3vw,22px)!important}
  .app-shell[data-workspace="home"] .bfgx-home-steps {grid-template-columns:1fr!important;gap:7px!important;padding:0!important}
  .app-shell[data-workspace="home"] .bfgx-home-steps li {min-height:28px;gap:10px;font-size:clamp(13px,.9vw,16px)}
  .app-shell[data-workspace="home"] .bfgx-home-step-number {width:26px;font-size:clamp(22px,1.7vw,28px)}
  .app-shell[data-workspace="home"] .bfgx-home-steps li:not(:last-child)::after {content:none}
  .app-shell[data-workspace="home"] .bfgx-home-entry {
    grid-column:1 / -1;grid-row:3;align-self:stretch;justify-self:stretch;
    width:100%;margin:0!important;padding:16px 0 4px!important;
    border-top:1px solid rgba(116,145,185,.32);display:flex;align-items:center;
  }
  .app-shell[data-workspace="home"] .bfgx-home-entry-actions {
    display:grid;width:100%;max-width:none;margin:0;
    grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,34px);
  }
  .app-shell[data-workspace="home"] .bfgx-home-choice {
    display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;
    min-height:clamp(76px,11vh,112px)!important;padding:14px 18px!important;
    gap:0!important;text-align:center;
  }
  .app-shell[data-workspace="home"] .bfgx-home-choice>.bfgx-home-sample-play,
  .app-shell[data-workspace="home"] .bfgx-home-choice>.bfgx-home-choice-icon {grid-column:1;justify-self:center}
  .app-shell[data-workspace="home"] .bfgx-home-choice>strong,
  .app-shell[data-workspace="home"] .bfgx-home-choice>.bfgx-home-choice-copy {grid-column:2;justify-self:center;width:100%;text-align:center}
  .app-shell[data-workspace="home"] .bfgx-home-choice strong {font-size:clamp(17px,1.2vw,22px)!important}
  .app-shell[data-workspace="home"] .bfgx-home-choice-icon {font-size:0!important;line-height:0!important}
  .app-shell[data-workspace="home"] .bfgx-home-sample-play {
    width:0!important;height:0!important;flex:0 0 auto!important;
    border:0!important;border-top:9px solid transparent!important;border-bottom:9px solid transparent!important;
    border-left:14px solid #061323!important;border-radius:0!important;
    background:none!important;background-image:none!important;font-size:0!important;line-height:0!important;
  }
}

@media (min-width:2560px) {
  .app-shell[data-workspace="home"] .bfgx-home-hero {padding-inline:clamp(60px,5vw,150px)!important;column-gap:clamp(64px,4vw,110px)}
  .app-shell[data-workspace="home"] .bfgx-home-fsd-image {max-height:50vh}
  .app-shell[data-workspace="home"] .bfgx-home-choice {min-height:clamp(105px,12vh,150px)!important}
}

@media (max-width:720px) {
  .app-shell[data-workspace="home"] .bfgx-home-hero {height:auto;min-height:0;grid-template-rows:auto;row-gap:16px!important}
  .app-shell[data-workspace="home"] .bfgx-home-power {grid-column:1;grid-row:auto;width:100%!important;max-width:none!important}
  .app-shell[data-workspace="home"] .bfgx-home-steps {grid-template-columns:1fr!important}
  .app-shell[data-workspace="home"] .bfgx-home-entry {grid-column:1;grid-row:auto;display:block}
  .app-shell[data-workspace="home"] .bfgx-home-entry-actions {grid-template-columns:1fr;gap:9px}
  .app-shell[data-workspace="home"] .bfgx-home-choice {min-height:62px!important;grid-template-columns:36px minmax(0,1fr) 36px;padding:11px 14px!important}
  .app-shell[data-workspace="home"] .bfgx-home-choice strong {font-size:17px!important}
  .app-shell[data-workspace="home"] .bfgx-home-sample-play {border-top-width:8px!important;border-bottom-width:8px!important;border-left-width:12px!important}
}

/* 2026-11-19: image and How it works visual refinement; landing only. */
.app-shell[data-workspace="home"] .bfgx-home-hero-visual {background:transparent!important;box-shadow:none!important;border:0!important;}
.app-shell[data-workspace="home"] .bfgx-home-fsd-image {display:block;filter:drop-shadow(0 0 22px rgba(11,179,206,.07));image-rendering:auto;}
.app-shell[data-workspace="home"] .bfgx-home-power {position:relative;border-top:1px solid rgba(53,213,223,.42)!important;}
.app-shell[data-workspace="home"] .bfgx-home-power h2 {font-weight:800!important;letter-spacing:-.025em;color:#f7faff!important;font-size:clamp(21px,1.55vw,26px)!important;margin-bottom:14px!important;}
.app-shell[data-workspace="home"] .bfgx-home-steps li {color:#edf5ff!important;font-weight:570;letter-spacing:.005em;}
.app-shell[data-workspace="home"] .bfgx-home-step-number {font-variant-numeric:tabular-nums;text-shadow:0 0 16px rgba(18,218,225,.28);font-weight:900!important;}
@media (min-width:721px) {
 .app-shell[data-workspace="home"] .bfgx-home-power {padding:16px 0 8px!important;}
 .app-shell[data-workspace="home"] .bfgx-home-steps {gap:12px!important;}
 .app-shell[data-workspace="home"] .bfgx-home-steps li {min-height:32px!important;font-size:clamp(14px,1vw,17px)!important;}
 .app-shell[data-workspace="home"] .bfgx-home-step-number {width:36px!important;font-size:clamp(26px,2vw,32px)!important;}
}
