:root[data-brand-preview] {
  --bp-white: #ffffff;
  --bp-deep: #061a32;
  --bp-ink: #011831;
  --bp-navy: #032a4b;
  --bp-contour: #2f4c64;
  --bp-muted: #5a7590;
  --bp-soft: #d5e4ec;
  --bp-pale: #d5e4ec;
  --bp-accent: #d3ab6f;
  --bp-accent-light: #faf0ca;
  --bp-orange: #d96a51;
  --bp-red: #aa312a;
  --bp-turquoise: #10aad6;
  --bp-ray: #138af3;
  --bp-cta: #faf0ca;
  --bp-cta-ink: #032a4b;
  --bp-logo: #ffffff;
  --font-body: 'Manrope', Arial, sans-serif;
  --font-display: 'Manrope', Arial, sans-serif;
  --mineral-glaze: linear-gradient(var(--bp-navy), var(--bp-navy));
  --bp-gutter: calc(clamp(48px, 7vw, 112px) / 2);
  --bp-section: clamp(72px, 9vw, 148px);
}

:root[data-brand-preview][data-palette="cold"] {
  --bp-accent: #acdfe9;
  --bp-accent-light: #acdfe9;
  --bp-cta: #acdfe9;
}

:root[data-brand-preview][data-theme="dark"] {
  --paper: #061a32;
  --surface: #032a4b;
  --ink: #ffffff;
  --muted: #d5e4ec;
  --line: #2f4c64;
  --gold: var(--bp-accent);
}

:root[data-brand-preview][data-theme="light"] {
  --bp-soft: #5a7590;
  --bp-accent: #d3ab6f;
  --bp-accent-light: #faf0ca;
  --bp-cta: #032a4b;
  --bp-cta-ink: #ffffff;
  --bp-logo: #032a4b;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #032a4b;
  --muted: #5a7590;
  --line: #d5e4ec;
  --gold: var(--bp-accent);
}

:root[data-brand-preview][data-theme="light"][data-palette="cold"] {
  --bp-accent: #10aad6;
  --bp-accent-light: #acdfe9;
}

[data-brand-preview] *,
[data-brand-preview] *::before,
[data-brand-preview] *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

[data-brand-preview] body {
  font-family: var(--font-body);
  font-size: clamp(16px, 14.5px + 0.3vw, 19px);
  line-height: 1.62;
}

[data-brand-preview] .wrap {
  width: min(1440px, 100%);
  padding-inline: var(--bp-gutter);
}

[data-brand-preview] .section,
[data-brand-preview] .scenario-section {
  padding-block: var(--bp-section);
}

[data-brand-preview] h1,
[data-brand-preview] h2,
[data-brand-preview] h3 {
  font-family: var(--font-display);
  text-align: left;
}

[data-brand-preview] h1 {
  font-size: clamp(38px, 1.6rem + 2.6vw, 72px);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: -0.052em;
}

[data-brand-preview] h2 {
  font-size: clamp(32px, 1.4rem + 1.9vw, 52px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

[data-brand-preview] h3 {
  font-size: clamp(23px, 20px + 0.35vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

[data-brand-preview][data-theme="dark"] h1,
[data-brand-preview][data-theme="dark"] h2 {
  color: #ffffff;
}

[data-brand-preview] p {
  font-size: inherit;
  line-height: 1.62;
}

[data-brand-preview] .lead {
  font-size: clamp(17px, 15px + 0.4vw, 21px);
  line-height: 1.6;
  max-width: 600px;
}

[data-brand-preview] .eyebrow,
[data-brand-preview] .platform-strip span,
[data-brand-preview] .module-number,
[data-brand-preview] [class*="kicker"],
[data-brand-preview] small {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

[data-brand-preview] .eyebrow {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--bp-accent);
}

[data-brand-preview][data-theme="light"] .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bp-navy);
}

[data-brand-preview][data-theme="light"] .eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--bp-accent);
}

[data-brand-preview] #main-nav,
[data-brand-preview] #main-nav a,
[data-brand-preview] #main-nav summary {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

[data-brand-preview] .button,
[data-brand-preview] .text-link {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

[data-brand-preview] .button {
  min-height: 48px;
  border-radius: 8px;
  filter: none;
}

[data-brand-preview] .button:not(.button-light),
[data-brand-preview][data-theme="dark"] .button:not(.button-light),
[data-brand-preview] .button-light {
  color: var(--bp-cta-ink);
  background: var(--bp-cta);
  border-color: var(--bp-cta);
}

[data-brand-preview] .button:hover,
[data-brand-preview][data-theme="dark"] .button:not(.button-light):hover {
  background: var(--bp-cta);
  filter: none;
  outline: 2px solid var(--bp-cta);
  outline-offset: 2px;
}

[data-brand-preview] .site-header {
  backdrop-filter: none;
}

[data-brand-preview][data-theme="dark"] .site-header {
  background: var(--bp-deep);
  border-bottom-color: var(--bp-contour);
}

[data-brand-preview][data-theme="light"] .site-header {
  background: #ffffff;
  border-bottom-color: var(--bp-pale);
}

[data-brand-preview] .theme-toggle {
  display: none;
}

[data-brand-preview] .brand,
[data-brand-preview] .brand svg {
  color: var(--bp-logo);
  fill: currentColor;
}

[data-brand-preview] .hero-mark {
  color: #ffffff;
}

.bp-panel {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: calc(100vw - 32px);
  padding: 10px 12px;
  border: 1px solid #2f4c64;
  border-radius: 12px;
  background: #011831;
  color: #ffffff;
  font: 500 14px/1.3 'Manrope', Arial, sans-serif;
}

.bp-panel b {
  font-weight: 700;
  padding-inline: 4px;
}

.bp-panel [role="radiogroup"] {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 9px;
  background: #032a4b;
}

.bp-panel button {
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #d5e4ec;
  font: inherit;
  cursor: pointer;
}

.bp-panel button[aria-checked="true"] {
  background: #ffffff;
  color: #011831;
  font-weight: 700;
}

.bp-panel a {
  color: #d5e4ec;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767.98px) {
  .bp-panel {
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-width: none;
    justify-content: center;
    gap: 8px;
    padding: 8px;
  }

  .bp-panel b,
  .bp-panel a {
    display: none;
  }

  .bp-panel button {
    padding: 6px 10px;
  }
}

[data-brand-preview] body {
  padding-bottom: 76px;
}

[data-brand-preview][data-theme="light"] .platform-strip,
[data-brand-preview][data-theme="light"] .scenario-section {
  background: #d5e4ec;
}

:root[data-brand-preview] {
  --bp-on-dark-accent: #d3ab6f;
  --bp-on-dark-cta: #faf0ca;
}

:root[data-brand-preview][data-palette="cold"] {
  --bp-on-dark-accent: #acdfe9;
  --bp-on-dark-cta: #acdfe9;
}

[data-brand-preview][data-theme="light"] .mineral h2,
[data-brand-preview][data-theme="light"] .mineral h3 {
  color: #ffffff;
}

[data-brand-preview][data-theme="light"] .mineral p {
  color: #d5e4ec;
}

[data-brand-preview][data-theme="light"] .mineral .eyebrow {
  color: var(--bp-on-dark-accent);
}

[data-brand-preview][data-theme="light"] .mineral .eyebrow::before {
  background: var(--bp-on-dark-accent);
}

[data-brand-preview][data-theme="light"] .mineral .button,
[data-brand-preview][data-theme="light"] .mineral .button:hover {
  color: #032a4b;
  background: var(--bp-on-dark-cta);
  border-color: var(--bp-on-dark-cta);
  outline-color: var(--bp-on-dark-cta);
}

:root[data-brand-preview][data-theme="dark"] {
  --bp-muted: #d5e4ec;
}

[data-brand-preview][data-theme="dark"] .demo-calc-result,
[data-brand-preview][data-theme="dark"] .demo-range-label,
[data-brand-preview][data-theme="dark"] .demo-scenario-button {
  --bp-muted: #5a7590;
}

[data-brand-preview][data-theme="dark"][data-palette="cold"] .demo-calc-result,
[data-brand-preview][data-theme="dark"][data-palette="cold"] .demo-range-label,
[data-brand-preview][data-theme="dark"][data-palette="cold"] .demo-scenario-button {
  --bp-accent: #10aad6;
}

[data-brand-preview][data-theme="light"] .step--wide:last-child {
  background: #032a4b;
  --bp-muted: #d5e4ec;
  --bp-soft: #d5e4ec;
  --bp-accent: var(--bp-on-dark-accent);
  --bp-turquoise: var(--bp-on-dark-accent);
  --muted: #d5e4ec;
  --gold: var(--bp-on-dark-accent);
}

:root[data-brand-preview] {
  --bp-faint: #d5e4ec;
  --demo-brass: #d3ab6f;
}

:root[data-brand-preview][data-theme="dark"] {
  --bp-faint: #2f4c64;
}

[data-brand-preview] .demo-calc-result,
[data-brand-preview] .demo-range-label,
[data-brand-preview] .demo-scenario-button {
  --bp-faint: #d5e4ec;
  --line: #d5e4ec;
  background: #ffffff;
}

html:root[data-brand-preview] .demo-waterfall-row--price i {
  background: #d3ab6f;
}

html:root[data-brand-preview] .demo-waterfall-row--labour i {
  background: #e9c99c;
}

html:root[data-brand-preview] .demo-waterfall-row--overhead i {
  background: #5a7590;
}

html:root[data-brand-preview] .demo-waterfall-row--profit i {
  background: #032a4b;
}

html:root[data-brand-preview] .demo-is-loss .demo-waterfall-row--profit i {
  background: #d96a51;
}

[data-brand-preview] .workflow.steps--material .step {
  background: var(--surface);
}

[data-brand-preview][data-theme="light"] .workflow.steps--material .step--wide:last-child {
  background: #032a4b;
}

[data-brand-preview] .hero-mark {
  filter: none;
}

[data-brand-preview] .hero-mark path {
  stroke: none;
}

html:root[data-brand-preview] .workflow.steps--material .step__copy h3 {
  font-size: clamp(23px, 20px + 0.35vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

[data-brand-preview][data-theme="dark"] .site-header,
[data-brand-preview][data-theme="dark"] .site-footer {
  background: #032a4b;
}

[data-brand-preview] .home-hero {
  padding-block: clamp(56px, 7vw, 112px) clamp(64px, 8vw, 128px);
  gap: clamp(32px, 4vw, 72px);
}

[data-brand-preview] .home-hero h1 {
  line-height: 1.14;
  letter-spacing: -0.04em;
}

[data-brand-preview] .home-hero .lead {
  margin-top: clamp(20px, 2vw, 32px);
  max-width: 540px;
}

[data-brand-preview] .home-hero .lead + * {
  margin-top: clamp(28px, 3vw, 44px);
}

[data-brand-preview] .hero-object-render {
  width: 100%;
  margin-left: 0;
}
