@font-face {
  font-family: Urbanist;
  src: url("../assets/urbanist.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/ibm-plex-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --frame: min(100% - clamp(2rem, 8vw, 9rem), 88rem);
  --display: Urbanist, "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
}
.boostic { --paper: #faf4e9; --ink: #21172c; --muted: #514754; --accent: #57281d; --rule: #c9b8ac; --cta: #2c182e; --mast: #221332; }
.binnacle { --paper: #f3f1fa; --ink: #191429; --muted: #51465f; --accent: #502796; --rule: #c3b7d1; --cta: #512ea0; --mast: #21173c; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.53 var(--body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 745 1em/.98 var(--display); letter-spacing: -.052em; }
h1 { font-size: clamp(3.15rem, 7.2vw, 8.35rem); }
h2 { font-size: clamp(2.65rem, 5.25vw, 6.4rem); }
h3 { font-size: clamp(1.45rem, 2.55vw, 2.75rem); letter-spacing: -.035em; }
a { color: inherit; }
:focus-visible { outline: 3px solid #7146ba; outline-offset: 5px; }
.frame { width: var(--frame); margin-inline: auto; }
.skip { position: absolute; top: .6rem; left: .8rem; z-index: 5; padding: .6rem 1rem; background: #fff; transform: translateY(-175%); }
.skip:focus { transform: translateY(0); }
.product-header, .product-footer { background: var(--mast); color: #fbf8ff; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1.4rem; flex-wrap: wrap; min-height: 4.65rem; }
.product-logo { width: clamp(7.9rem, 12vw, 11.75rem); }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.8rem, 2.25vw, 2.25rem); }
.header-inner nav a, .footer-inner nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .9rem; }
.header-inner nav a:hover, .footer-inner nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.header-cta { border: 1px solid #a68ec0; padding: .4rem .75rem; font-weight: 650; }
.footer-inner img { width: 6.75rem; }
:is(.product-header, .product-footer, .catalogue, .boostic .product-cta) :focus-visible { outline-color: #ffc5a6; }

.eyebrow { color: var(--accent); font: 660 .76rem/1.4 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .105em; }
.lead { max-width: 43ch; color: var(--muted); font-size: clamp(1.03rem, 1.5vw, 1.32rem); }
.actions, .source-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.25rem; }
.button, .text-link { display: inline-flex; align-items: center; min-height: 2.8rem; font-weight: 700; }
.button { justify-content: center; width: fit-content; padding: .68rem 1.05rem; background: var(--cta); color: #fff; text-decoration: none; line-height: 1.33; }
.button:hover { background: var(--accent); }
.text-link { text-underline-offset: .23em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.boostic-hero { padding-block: clamp(2.6rem, 5.6vw, 6.9rem); }
.boostic-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); gap: clamp(1.9rem, 5.5vw, 6.2rem); align-items: center; }
.hero-copy { display: grid; gap: clamp(1.1rem, 1.7vw, 1.55rem); }
.boostic h1 { max-width: 11ch; }
.boostic h1 span { color: #9c371b; }
.hero-proof { border-top: 1px solid var(--rule); font-size: .88rem; }
.hero-proof a { display: inline-flex; min-height: 2.75rem; align-items: center; color: #573645; text-underline-offset: .23em; }

.catalogue {
  color: #f9eefa;
  background: #281838;
  border-top: .38rem solid #ee946d;
  padding: clamp(.95rem, 2.6vw, 2.15rem);
}
.catalogue-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; color: #e5cfe9; font-size: .8rem; }
.catalogue-head .eyebrow { color: #ffd0b7; }
.catalogue-mode { display: flex; flex-wrap: wrap; gap: 0 .75rem; min-width: 0; margin: .9rem 0 0; padding: 0; border: 0; }
.catalogue-mode legend { margin-bottom: .15rem; padding: 0; color: #fff; font: 740 clamp(1.5rem, 2.4vw, 2.4rem)/1.1 var(--display); letter-spacing: -.025em; }
.catalogue-mode label { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; color: #f0dcf3; font-size: .9rem; cursor: pointer; }
.catalogue-mode input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: #ffbd98; }
.plot {
  position: relative;
  height: clamp(10.5rem, 21vw, 23rem);
  margin: 1.8rem 0 2.15rem;
  border-left: 1px solid #936f9d;
  border-bottom: 1px solid #936f9d;
  background: linear-gradient(90deg, #c2a0d22a 1px, transparent 1px) 0 0 / 20% 100%,
    linear-gradient(0deg, #c2a0d22a 1px, transparent 1px) 0 0 / 100% 20%;
}
.plot-y, .plot-x { position: absolute; color: #e1c8e6; font-size: .75rem; }
.plot-y { bottom: calc(100% + .14rem); left: 0; }
.plot-x { top: calc(100% + .19rem); right: 0; }
.plot-rule { position: absolute; inset: 0 0 66.67% 58.82%; border-left: 1px dashed #e1a889; border-bottom: 1px dashed #e1a889; background: #ffbc921e; transition: bottom 200ms ease; }
.plot-point { position: absolute; top: var(--y); left: var(--x); transform: translate(-50%, -50%); min-width: 2rem; min-height: 2rem; display: grid; place-items: center; background: #3c264f; border: 1px solid #b495bc; color: #f8eefa; font: 650 .72rem/1 ui-monospace, Consolas, monospace; }
.plot-focus, .catalogue:has(#criterio-roas:checked) .plot-roas { background: #ffc6a5; color: #321f31; border-color: #ffc6a5; }
.catalogue:has(#criterio-roas:checked) .plot-rule { bottom: 0; }
.decision-roas, .catalogue:has(#criterio-roas:checked) .decision-margin { display: none; }
.catalogue:has(#criterio-roas:checked) .decision-roas { display: inline; }
.catalogue figcaption { min-height: 4rem; border-top: 1px solid #8e6b99; padding-top: .85rem; font-size: .93rem; color: #f1e1f4; }

.section { padding-block: clamp(3.6rem, 7.5vw, 8rem); }
.section-head { display: grid; align-content: start; gap: .75rem; }
.split { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); gap: clamp(1.55rem, 6vw, 7rem); }
.adoption { background: #ecbdab; }
.adoption .split { align-items: end; }
.adoption-copy, .steps p, .adoption .text-link { color: #412c38; }
.adoption-copy p { max-width: 55ch; }
.adoption-copy p + p { margin-top: .55rem; }
.source-links a { font-size: .9rem; }
.steps { list-style: none; margin: clamp(1.7rem, 4.4vw, 4rem) 0 1rem; padding: 0; border-top: 1px solid var(--rule); }
.workflow li { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1fr) minmax(0, .78fr); align-items: center; gap: .7rem clamp(1.05rem, 3vw, 3rem); padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.workflow-example { display: grid; gap: .22rem; border-left: 2px solid #a7482a; padding: .15rem 0 .15rem .8rem; }
.workflow-example span { font-size: .84rem; color: var(--muted); }
.workflow-example strong { font-size: 1rem; }
.how .source-links { color: #5d3030; }

.binnacle-hero { padding-block: clamp(2.7rem, 5.8vw, 7rem) clamp(2.7rem, 4.6vw, 5.15rem); }
.binnacle-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .65fr); gap: 1.35rem clamp(2rem, 6vw, 7rem); align-items: end; }
.binnacle-intro h1 { max-width: 14ch; margin-top: .9rem; font-size: clamp(3.15rem, 6.35vw, 7.2rem); }
.binnacle-intro h1 span { color: #6941bb; }
.binnacle-intro .actions { margin-top: .95rem; }
.interface { display: grid; margin-top: clamp(1.8rem, 4.4vw, 4.5rem); border-top: .35rem solid #5f39a8; background: #fff; }
.interface img { width: 100%; }
.interface figcaption { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .83fr) minmax(0, .57fr); gap: .65rem 1.2rem; align-items: start; border: 1px solid #d2c7e1; padding: clamp(.9rem, 2vw, 1.55rem); color: #51465f; font-size: .9rem; }
.interface figcaption strong { color: var(--ink); }
.interface .text-link { min-height: auto; color: var(--accent); }

.primor { background: #e5d6f3; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); align-items: stretch; gap: clamp(1.5rem, 5.6vw, 6.5rem); }
.case-layout figure { position: relative; min-height: 17rem; }
.case-layout img { width: 100%; height: 100%; object-fit: cover; }
.case-layout figcaption { position: absolute; right: 0; bottom: 0; padding: .35rem .65rem; background: #251a34; color: #fff; font-size: .77rem; }
.case-copy { align-self: center; padding-block: clamp(2.5rem, 5vw, 5rem); }
.case-copy h2 { margin-top: .75rem; font-size: clamp(2.45rem, 4.6vw, 5.1rem); }
.case-copy p:not(.eyebrow) { margin-top: .95rem; color: var(--muted); }
.case-copy .source-links { margin-top: .65rem; color: var(--accent); }

.applications { background: #fcfbff; }
.applications .section-head > p:last-child { max-width: 41ch; color: var(--muted); }
.diagnosis { border-top: .28rem solid #6036ac; }
.diagnosis-note { padding: .65rem 0; font-size: .82rem; color: var(--muted); }
.diagnosis details { border-top: 1px solid var(--rule); }
.diagnosis details:last-child { border-bottom: 1px solid var(--rule); }
.diagnosis summary { min-height: 2.9rem; padding: .74rem .55rem; color: #362562; font-weight: 700; cursor: pointer; }
.diagnosis summary:hover { color: #6b3dbf; }
.diagnosis summary:focus-visible { outline-offset: -3px; }
.diagnosis-body { padding: .1rem .5rem 1rem; color: var(--muted); }
.signal-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.signal-pair div { display: grid; align-content: space-between; gap: .4rem; border-left: 1px solid #9271c0; padding: .3rem .75rem; background: #f1e9fb; }
.signal-pair span { color: #523c68; font-size: .84rem; }
.signal-pair strong { color: #4c209c; font: 770 clamp(1.7rem, 3.6vw, 3.4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.diagnosis-body p { margin-top: .75rem; }

.product-cta { background: #ddd0f0; }
.boostic .product-cta { background: #281838; color: #fbf7ff; }
.boostic .product-cta .eyebrow { color: #ffc6a5; }
.boostic .product-cta .button { background: #ffc6a5; color: #281838; }
.boostic .product-cta .button:hover { background: #ffe1c9; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .56fr); align-items: end; gap: 1.55rem clamp(1.7rem, 6vw, 5rem); }
.cta-inner h2 { max-width: 18ch; margin-block: .65rem .95rem; }
.cta-inner > div > p:not(.eyebrow) { max-width: 51ch; }
.demo-deliverable { display: grid; gap: .62rem; border-top: 1px solid currentColor; padding-top: 1.05rem; }
.demo-deliverable .button { margin-top: .42rem; }

@media (max-width: 54rem) {
  .boostic-layout, .binnacle-intro, .split, .case-layout, .cta-inner { grid-template-columns: 1fr; }
  .catalogue { max-width: 44rem; }
  .case-layout { gap: 0; }
  .case-layout figure { min-height: 0; }
  .case-layout img { height: auto; max-height: 24rem; }
  .interface figcaption { grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .header-inner, .footer-inner { padding-block: .75rem .4rem; }
  .header-inner nav, .footer-inner nav { flex-basis: 100%; }
  .header-inner nav a, .footer-inner nav a { font-size: .84rem; }
  .header-inner nav .header-cta { display: none; }
  .workflow li { grid-template-columns: 1fr; }
  .interface .text-link { min-height: 2.75rem; }
}
@media (max-width: 23rem) {
  h1, .binnacle-intro h1 { font-size: 2.85rem; }
  h2 { font-size: 2.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .plot-rule { transition: none; }
}

.performance-cta { padding: 1.5rem max(1.25rem, calc((100% - 72rem)/2)); background: #e9f1fc; color: #0a203c; }
.performance-cta p { margin: 0 0 .5rem; }
.performance-cta a { display: inline-flex; align-items: center; min-height: 44px; color: #064a9b; font-weight: 700; text-underline-offset: .2em; }

/* Shared Redegal presentation */
.boostic, .binnacle { --paper: #eff4f2; --ink: #071b2d; --muted: #3c5360; --rule: #b1c9c4; --cta: #071b2d; --mast: #071b2d; }
.boostic { --accent: #305e57; }
.binnacle { --accent: #315e68; }
h1, h2 { line-height: 1.05; }
.button { background: #94efcf; color: #071b2d; }
.button:hover { background: #c6f9e6; color: #071b2d; }
.adoption { background: #dbece5; }
:focus-visible { outline: 3px solid #36786a; outline-offset: 4px; }
:is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #0059bf; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
