:root {
  --bg: #050505;
  --ink: #fff;
  --paper: #f6f3ef;
  --dark: #101010;
  --muted: rgba(255, 255, 255, .75);
  --mutedDark: #5f5f66;
  --line: rgba(255, 255, 255, .14);
  --accent: #e7e0d6;
  --radius: 24px
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Inter, Arial, system-ui, sans-serif;
  background: #050505;
  color: #fff
}

a {
  color: inherit
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px
}

.brand img {
  height: 42px;
  width: auto;
  display: block
}

.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
  font-size: clamp(14px, .95vw, 16px);
  line-height: 1.28;
  letter-spacing: .012em
}

.nav-links a:hover {
  color: #fff
}

@media (min-width: 851px) {
  .site-header .nav {
    min-height: 88px;
    padding-block: 12px;
    align-items: center;
  }

  .nav-links {
    gap: clamp(14px, 1.15vw, 20px);
    row-gap: 10px;
    align-items: center;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    line-height: 1.25;
    padding-block: 2px;
  }

  .nav-links .nav-software-cta {
    margin-inline: 8px 14px;
  }

  .nav-links .nav-faq-ctrl-deck,
  .nav-links .nav-quick-start-ctrl-deck,
  .nav-links .nav-ctrl-deck-utility {
    white-space: nowrap;
  }
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  font-weight: 750;
  font-size: 14px
}

.footer-links a:hover {
  color: #fff
}

.lang {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 900;
  color: rgba(255, 255, 255, .65);
  white-space: nowrap;
  font-size: clamp(13px, .85vw, 15px);
  line-height: 1.25
}

.lang a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: inherit;
  line-height: 1.25
}

.lang a.active,
.lang a:hover {
  color: #fff
}

.hero {
  padding: 54px 0 84px;
  background: radial-gradient(circle at 25% 10%, rgba(255, 255, 255, .12), transparent 36%), #050505
}

.hero .container:has(.home-header-visual) {
  width: min(1280px, calc(100% - 32px))
}

.home-header-visual {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 34px;
  border-radius: 20px;
  overflow: hidden
}

.home-header-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain
}

.brand-mark {
  font-size: clamp(46px, 8vw, 88px);
  font-weight: 950;
  letter-spacing: -.04em;
  margin-bottom: 12px
}

.eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  color: #d9d0c3
}

h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 16px 0
}

h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  margin: 0 0 18px
}

h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 10px
}

.lead {
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.55;
  max-width: 840px;
  color: rgba(255, 255, 255, .86)
}

p {
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.65;
  color: var(--muted)
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.25
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line)
}

.btn.dark {
  background: #111;
  color: #fff
}

.btn.dark-outline {
  background: transparent;
  color: #111;
  border: 1px solid rgba(0, 0, 0, .18)
}

.card h3,
.product-card h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  font-weight: 700
}

.section {
  padding: 78px 0
}

.section.light {
  background: var(--paper);
  color: #111
}

.section.light p {
  color: var(--mutedDark)
}

.section-head {
  max-width: 900px;
  margin-bottom: 32px
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start
}

.card,
.product-card {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line)
}

.section.light .card,
.section.light .product-card {
  background: #fff;
  color: #111;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08)
}

.label {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7b6b55
}

.section.light .eyebrow {
  color: #6f5744
}

.construction-image {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08)
}

.construction-image img {
  display: block;
  width: 100%;
  height: auto
}

.form-embed {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  min-height: 720px
}

.form-embed iframe {
  width: 100%;
  height: 760px;
  border: 0
}

.notice {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line)
}

.section.light .notice {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1)
}

.footer {
  padding: 44px 0;
  background: #050505;
  border-top: 1px solid var(--line)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: start
}

.footer-logo {
  width: 170px;
  max-width: 100%;
  height: auto;
  margin-bottom: 12px
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

ul {
  line-height: 1.8;
  color: inherit
}

li {
  margin-bottom: 6px;
  color: inherit
}

@media(max-width:850px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .brand img {
    height: 36px
  }

  .home-header-visual {
    width: 100%;
    max-width: 100%;
    border-radius: 14px
  }

  .nav-links {
    gap: 12px
  }

  .nav-links a {
    font-size: 15px;
    line-height: 1.3
  }

  .lang {
    font-size: 14px
  }
}

/* V0.5.3 local image assets */
.ctrl-logo-block {
  max-width: 560px;
  margin: 0 0 22px;
}

.ctrl-logo-block img {
  display: block;
  width: min(100%, 560px);
  height: auto;
}

.ctrl-card-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto 16px;
}

.section.light .ctrl-card-logo,
.section.light .ctrl-logo-block img {
  filter: none;
}

/* V0.5.4 transparent construction image + light Ctrl Deck logo */
.construction-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.construction-image img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.ctrl-logo-block img,
.ctrl-card-logo {
  filter: none;
}


/* V0.5.6 4-pillar expertise section + transparent dashboard visual */
.capability-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 28px;
  align-items: center
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.capability-card {
  height: 100%
}

.capability-card h3 {
  margin-bottom: 12px
}

.showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0
}

.showcase-visual img {
  display: block;
  width: min(100%, 620px);
  max-width: 100%;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none
}

@media(max-width:980px) {
  .capability-showcase {
    grid-template-columns: 1fr
  }

  .showcase-visual {
    order: 2
  }

  .capability-grid {
    order: 1
  }
}

@media(max-width:680px) {
  .capability-grid {
    grid-template-columns: 1fr
  }
}


/* V0.5.8 mobile fix: keep the data dashboard visual inside the viewport */
.showcase-visual {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.showcase-visual img {
  display: block;
  max-width: 100%;
  width: min(100%, 620px);
  height: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none;
}

.capability-showcase,
.capability-grid,
.capability-card {
  min-width: 0;
}

@media (max-width: 980px) {
  .capability-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-visual {
    width: 100%;
    max-width: 100%;
    margin: 18px auto 0;
    padding: 0;
  }

  .showcase-visual img {
    width: min(100%, 620px);
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .showcase-visual {
    overflow: hidden;
  }

  .showcase-visual img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }
}

/* V0.5.9 advanced AI mastery section */
.ai-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 30, 30, .18), transparent 34%),
    radial-gradient(circle at 16% 72%, rgba(255, 255, 255, .08), transparent 30%),
    #050505;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ai-section p {
  color: rgba(255, 255, 255, .80);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 34px;
  align-items: center;
}

.ai-copy strong {
  color: #fff;
  font-weight: 900;
}

.ai-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.ai-visual img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(255, 0, 0, .15)) drop-shadow(0 28px 48px rgba(0, 0, 0, .35));
}

.ai-benefits {
  margin-top: 42px;
}

.ai-benefits h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 20px;
  letter-spacing: -.02em;
}

.ai-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ai-benefit-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .12);
  min-width: 0;
}

.ai-benefit-grid strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
}

.ai-benefit-grid span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .ai-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-visual {
    order: -1;
  }

  .ai-visual img {
    width: min(100%, 520px);
  }

  .ai-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ai-visual img {
    width: 100%;
    max-width: 100%;
  }

  .ai-benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* V0.5.10 hard responsive fix: AI mastery visual */
.ai-layout,
.ai-visual,
.ai-copy,
.ai-benefits,
.ai-benefit-grid {
  min-width: 0;
  max-width: 100%;
}

.ai-section {
  overflow-x: hidden;
}

.ai-visual {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
}

.ai-visual img {
  display: block;
  width: min(100%, 520px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .ai-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px;
  }

  .ai-visual {
    order: -1;
    width: 100%;
    max-width: 100%;
  }

  .ai-visual img {
    width: min(92vw, 460px);
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .ai-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .ai-visual img {
    width: min(88vw, 380px);
    max-width: 100%;
  }

  .ai-copy h2 {
    font-size: clamp(28px, 9vw, 40px);
  }
}

@media (max-width: 420px) {
  .ai-visual img {
    width: min(84vw, 330px);
  }
}

/* V0.5.11 mobile order fix: AI visual after text */
@media (max-width: 980px) {
  .ai-layout {
    display: grid;
  }

  .ai-copy {
    order: 1;
  }

  .ai-visual {
    order: 2 !important;
  }
}

/* Homepage — AI mastery educational manifesto (home-ai-mastery) */
.home-ai-mastery {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 92px);
}

.ai-mastery-hero {
  margin-bottom: clamp(28px, 4vw, 40px);
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
}

.home-ai-mastery .ai-mastery-hero__section-title {
  display: block;
  margin: 0 0 clamp(22px, 3.5vw, 36px);
  padding-bottom: clamp(10px, 1.5vw, 16px);
  border-bottom: 1px solid rgba(232, 39, 74, .28);
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 40px rgba(232, 39, 74, .28);
}

.home-ai-mastery .ai-mastery-hero__title {
  margin: 0 0 clamp(26px, 3.5vw, 34px);
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: rgba(255, 255, 255, .92);
}

.ai-mastery-hero__title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.home-ai-mastery .ai-mastery-stat__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: .12em .28em;
  line-height: 1.05;
}

.home-ai-mastery .ai-mastery-stat__prefix,
.home-ai-mastery .ai-mastery-stat__suffix {
  margin: 0;
  text-transform: none;
  letter-spacing: .01em;
}

.home-ai-mastery .ai-mastery-stat__value {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
}

.home-ai-mastery .ai-mastery-stat__caption {
  display: block;
  width: 100%;
}

.home-ai-mastery .ai-mastery-stat__caption strong {
  color: #fff;
  font-weight: 800;
}

.ai-mastery-stat {
  margin: 0 auto clamp(8px, 1.5vw, 12px);
  padding: clamp(20px, 3.5vw, 32px) clamp(16px, 3vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(232, 39, 74, .45);
  background:
    radial-gradient(ellipse 90% 120% at 50% 0%, rgba(196, 30, 58, .28) 0%, transparent 72%),
    rgba(255, 255, 255, .05);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, .35),
    0 0 80px rgba(196, 30, 58, .12);
  max-width: min(100%, 920px);
  width: 100%;
}

.ai-mastery-stat__prefix {
  margin: 0 0 4px;
  font-size: clamp(1.06rem, 2.55vw, 1.57rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, .88);
}

.ai-mastery-stat__value {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  margin: 0;
  line-height: .92;
  color: #fff;
  text-shadow:
    0 0 48px rgba(232, 39, 74, .45),
    0 4px 24px rgba(0, 0, 0, .4);
}

.ai-mastery-stat__number {
  font-size: clamp(2.125rem, 7.65vw, 4.46rem);
  font-weight: 900;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: #fff;
}

.ai-mastery-stat__percent {
  font-size: clamp(1.4rem, 4.68vw, 2.64rem);
  font-weight: 900;
  margin-left: .08em;
  color: #e8274a;
}

.ai-mastery-stat__suffix {
  margin: 8px 0 0;
  font-size: clamp(0.85rem, 1.87vw, 1.15rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}

.ai-mastery-stat__caption {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(.92rem, 1.35vw, 1.05rem);
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
  max-width: 42rem;
  margin-inline: auto;
  text-wrap: balance;
}

.home-ai-mastery .container {
  max-width: min(1120px, 100%);
}

.home-ai-mastery .ai-mastery-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  margin-top: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(36px, 4.5vw, 52px);
}

.home-ai-mastery .ai-mastery-intro {
  min-width: 0;
  max-width: 38rem;
}

.home-ai-mastery .ai-mastery-intro p {
  font-size: clamp(1.08rem, 1.5vw, 1.18rem);
  line-height: 1.76;
  margin: 0 0 1.15em;
}

.home-ai-mastery .ai-mastery-intro p:last-child {
  margin-bottom: 0;
}

.home-ai-mastery .ai-mastery-rules {
  margin: clamp(18px, 2.5vw, 26px) 0 clamp(20px, 2.8vw, 28px);
  padding: clamp(18px, 2.4vw, 24px) clamp(18px, 2.2vw, 22px);
  border-radius: 16px;
  border: 1px solid rgba(232, 39, 74, .32);
  background:
    linear-gradient(135deg, rgba(196, 30, 58, .14) 0%, rgba(255, 255, 255, .04) 100%),
    rgba(0, 0, 0, .22);
}

.home-ai-mastery .ai-mastery-rules p {
  margin: 0 0 14px;
  font-size: clamp(1.1rem, 1.55vw, 1.2rem);
  line-height: 1.74;
  color: rgba(255, 255, 255, .88);
}

.home-ai-mastery .ai-mastery-rules__lead {
  margin: 0 0 12px !important;
  font-size: clamp(1.14rem, 1.6vw, 1.24rem);
  line-height: 1.5;
  color: #fff;
}

.home-ai-mastery .ai-mastery-rules__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.home-ai-mastery .ai-mastery-rules__list li {
  position: relative;
  padding-left: 1.35em;
  font-size: clamp(1.1rem, 1.55vw, 1.2rem);
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
  letter-spacing: .01em;
}

.home-ai-mastery .ai-mastery-rules__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: #e8274a;
  box-shadow: 0 0 10px rgba(232, 39, 74, .55);
}

.home-ai-mastery .ai-mastery-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  overflow: visible;
  padding: 0;
}

.home-ai-mastery .ai-mastery-visual img {
  display: block;
  width: 100%;
  max-width: min(100%, 460px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 20px 48px rgba(255, 0, 0, .12)) drop-shadow(0 18px 36px rgba(0, 0, 0, .32));
}

.home-ai-mastery .ai-mastery-visual__note {
  margin: 16px 0 0;
  font-size: .84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .65);
  max-width: 100%;
  text-align: center;
}

.home-ai-mastery .ai-mastery-hero {
  margin-bottom: clamp(32px, 4vw, 44px);
}

.home-ai-mastery .ai-mastery-block {
  clear: both;
}

.ai-mastery-intro-layout {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.ai-mastery-intro p {
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}

.ai-mastery-visual__note {
  margin: 14px 0 0;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
  max-width: 42rem;
  text-align: center;
  margin-inline: auto;
}

.ai-mastery-block {
  margin-bottom: clamp(28px, 3.5vw, 40px);
  padding: clamp(22px, 3vw, 30px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
}

.ai-mastery-block--accent {
  border-color: rgba(232, 39, 74, .28);
  background:
    linear-gradient(135deg, rgba(196, 30, 58, .12) 0%, rgba(255, 255, 255, .03) 55%),
    rgba(8, 8, 10, .6);
}

.ai-mastery-block__title {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.home-ai-mastery .ai-mastery-block p {
  margin: 0 0 14px;
  font-size: clamp(1.06rem, 1.48vw, 1.16rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, .86);
}

.ai-mastery-block p {
  margin: 0 0 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .8);
}

.ai-mastery-block p:last-child {
  margin-bottom: 0;
}

.ai-mastery-formula {
  margin: 18px 0 0 !important;
  padding: 14px 16px;
  border-left: 3px solid #e8274a;
  background: rgba(255, 255, 255, .04);
  border-radius: 0 12px 12px 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: #fff;
}

.ai-mastery-levels {
  display: grid;
  gap: 12px;
}

.ai-mastery-hierarchy {
  gap: 10px;
}

.ai-mastery-hierarchy__step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.ai-mastery-hierarchy__step--combox {
  margin-left: clamp(16px, 3.5vw, 28px);
}

.ai-mastery-hierarchy__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 14px;
  flex-shrink: 0;
}

.ai-mastery-hierarchy__arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid currentColor;
}

.ai-mastery-hierarchy__arrow--white {
  color: rgba(255, 255, 255, .88);
}

.ai-mastery-hierarchy__arrow--red {
  color: #e8274a;
}

.ai-mastery-hierarchy__content {
  min-width: 0;
}

.ai-mastery-level {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .22);
}

.home-ai-mastery .ai-mastery-level h4 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 800;
  color: rgba(255, 255, 255, .94);
}

.ai-mastery-level h4 {
  margin: 0 0 8px;
  font-size: .95rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .92);
}

.home-ai-mastery .ai-mastery-level p {
  margin: 0;
  font-size: clamp(.98rem, 1.3vw, 1.06rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .78);
}

.ai-mastery-level p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}

.ai-mastery-level--highlight {
  border-color: rgba(232, 39, 74, .45);
  background:
    linear-gradient(135deg, rgba(196, 30, 58, .16) 0%, rgba(255, 255, 255, .04) 100%);
  box-shadow: 0 0 0 1px rgba(232, 39, 74, .12) inset;
}

.ai-mastery-level--highlight h4 {
  color: #fff;
}

.ai-mastery-layer-bridge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 2px 10px;
  margin: 2px 0 4px;
}

.ai-mastery-layer-bridge__line {
  flex: 0 0 auto;
  width: 3px;
  height: 30px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(232, 39, 74, .15) 0%, #e8274a 55%, rgba(232, 39, 74, .35) 100%);
  box-shadow: 0 0 12px rgba(232, 39, 74, .35);
}

.ai-mastery-layer-bridge__label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e8274a;
  line-height: 1.35;
}

.home-ai-mastery .ai-mastery-intro-lead {
  margin-top: clamp(20px, 3vw, 32px);
}

.home-ai-mastery .ai-mastery-intro-lead p {
  max-width: 42rem;
  margin: 0 0 0;
  font-size: clamp(1.08rem, 1.5vw, 1.18rem);
  line-height: 1.76;
}

.home-ai-mastery .ai-hierarchy-compact {
  --ai-hierarchy-combox-offset: clamp(18px, 4.5vw, 36px);
  margin: clamp(16px, 2.4vw, 24px) 0 clamp(22px, 3vw, 32px);
  padding: clamp(14px, 2vw, 20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(8, 8, 10, .55) 100%);
}

.home-ai-mastery .ai-hierarchy-compact__stack {
  display: grid;
  gap: 6px;
}

.home-ai-mastery .ai-hierarchy-compact__tier,
.home-ai-mastery .ai-hierarchy-compact__combox {
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l1 {
  padding: clamp(16px, 2.2vw, 22px) clamp(16px, 2.4vw, 20px);
  background: linear-gradient(135deg, rgba(0, 0, 0, .72) 0%, rgba(14, 14, 18, .92) 100%);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l2 {
  padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l3 {
  padding: 12px 14px;
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .08);
  opacity: .92;
}

.home-ai-mastery .ai-hierarchy-compact__combox {
  margin-left: var(--ai-hierarchy-combox-offset);
  max-width: calc(100% - var(--ai-hierarchy-combox-offset));
  padding: 14px 16px;
  border: 1px solid rgba(232, 39, 74, .55);
  background: linear-gradient(135deg, rgba(232, 39, 74, .34) 0%, rgba(12, 8, 10, .9) 72%);
  box-shadow:
    inset 4px 0 0 #e8274a,
    0 8px 24px rgba(232, 39, 74, .14);
}

.home-ai-mastery .ai-hierarchy-compact__level {
  margin: 0 0 4px;
  font-size: clamp(.72rem, 1vw, .8rem);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(255, 255, 255, .5);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l1 .ai-hierarchy-compact__level {
  font-size: clamp(.82rem, 1.15vw, .92rem);
  color: rgba(255, 255, 255, .62);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l2 .ai-hierarchy-compact__level {
  color: rgba(255, 255, 255, .56);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l3 .ai-hierarchy-compact__level {
  font-size: clamp(.68rem, .95vw, .76rem);
  color: rgba(255, 255, 255, .44);
}

.home-ai-mastery .ai-hierarchy-compact__title {
  margin: 0 0 6px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.home-ai-mastery .ai-hierarchy-compact__tier--l1 .ai-hierarchy-compact__title {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  letter-spacing: -.02em;
}

.home-ai-mastery .ai-hierarchy-compact__tier--l2 .ai-hierarchy-compact__title {
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l3 .ai-hierarchy-compact__title {
  font-size: clamp(.92rem, 1.2vw, 1.02rem);
  color: rgba(255, 255, 255, .9);
}

.home-ai-mastery .ai-hierarchy-compact__title--combox {
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  letter-spacing: .03em;
  color: #fff;
}

.home-ai-mastery .ai-hierarchy-compact__subtitle {
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, .74);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l1 .ai-hierarchy-compact__subtitle {
  font-size: clamp(.88rem, 1.15vw, .98rem);
  color: rgba(255, 255, 255, .82);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l2 .ai-hierarchy-compact__subtitle {
  font-size: clamp(.84rem, 1.1vw, .92rem);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l3 .ai-hierarchy-compact__subtitle {
  font-size: clamp(.8rem, 1.05vw, .88rem);
  color: rgba(255, 255, 255, .62);
}

.home-ai-mastery .ai-hierarchy-compact__subtitle--combox {
  font-size: clamp(.86rem, 1.12vw, .94rem);
  color: #ffd8df;
}

.home-ai-mastery .ai-hierarchy-compact__text {
  margin: 0;
  line-height: 1.52;
  color: rgba(255, 255, 255, .8);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l1 .ai-hierarchy-compact__text {
  font-size: clamp(.88rem, 1.12vw, .96rem);
  color: rgba(255, 255, 255, .84);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l2 .ai-hierarchy-compact__text {
  font-size: clamp(.84rem, 1.08vw, .92rem);
}

.home-ai-mastery .ai-hierarchy-compact__tier--l3 .ai-hierarchy-compact__text {
  font-size: clamp(.8rem, 1.02vw, .88rem);
  color: rgba(255, 255, 255, .68);
}

.home-ai-mastery .ai-hierarchy-compact__text--combox {
  font-size: clamp(.84rem, 1.08vw, .92rem);
  color: rgba(255, 255, 255, .9);
}

.home-ai-mastery .ai-hierarchy-compact__connector {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  padding: 2px 0;
  color: rgba(255, 255, 255, .28);
}

.home-ai-mastery .ai-hierarchy-compact__connector--down-combox {
  margin-left: calc(var(--ai-hierarchy-combox-offset) * .45);
  color: rgba(232, 39, 74, .55);
}

.home-ai-mastery .ai-hierarchy-compact__connector--down-l2,
.home-ai-mastery .ai-hierarchy-compact__connector--down-l3 {
  margin-left: 8px;
}

.home-ai-mastery .ai-hierarchy-compact__connector-line {
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: currentColor;
}

.home-ai-mastery .ai-hierarchy-compact__connector--down-combox .ai-hierarchy-compact__connector-line {
  max-width: 64px;
}

.home-ai-mastery .ai-hierarchy-compact__connector-chevron {
  font-size: .95rem;
  line-height: 1;
  transform: rotate(90deg);
  opacity: .85;
}

.home-ai-mastery .ai-hierarchy-compact__humility {
  margin: 12px 0 0 var(--ai-hierarchy-combox-offset);
  max-width: calc(100% - var(--ai-hierarchy-combox-offset));
  padding: 10px 12px;
  border-left: 3px solid #e8274a;
  border-radius: 0 8px 8px 0;
  background: rgba(232, 39, 74, .08);
  font-size: clamp(.84rem, 1.08vw, .9rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}

@media (max-width: 768px) {
  .home-ai-mastery .ai-hierarchy-compact {
    --ai-hierarchy-combox-offset: 14px;
    padding: 12px;
    margin: 14px 0 20px;
  }

  .home-ai-mastery .ai-hierarchy-compact__tier--l1 {
    padding: 14px 12px;
  }

  .home-ai-mastery .ai-hierarchy-compact__tier--l2,
  .home-ai-mastery .ai-hierarchy-compact__combox {
    padding: 12px;
  }

  .home-ai-mastery .ai-hierarchy-compact__tier--l3 {
    padding: 10px 12px;
  }

  .home-ai-mastery .ai-hierarchy-compact__connector--down-combox {
    margin-left: 8px;
  }
}

.ai-mastery-scale {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.home-ai-mastery .ai-mastery-scale__row {
  font-size: clamp(.92rem, 1.25vw, 1rem);
}

.ai-mastery-scale__row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
  font-size: .88rem;
}

.ai-mastery-scale__row--highlight {
  border-color: rgba(232, 39, 74, .4);
  background: rgba(196, 30, 58, .14);
}

.ai-mastery-scale__level {
  font-weight: 900;
  color: #e8274a;
}

.ai-mastery-scale__label {
  color: rgba(255, 255, 255, .86);
  line-height: 1.35;
}

.ai-mastery-scale__share {
  font-weight: 800;
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
}

.ai-mastery-scale__highlight {
  padding: clamp(18px, 2.4vw, 22px) clamp(20px, 2.8vw, 28px);
  border-radius: 14px;
  border: 1px solid rgba(232, 39, 74, .35);
  background: rgba(255, 255, 255, .05);
  text-align: center;
}

.home-ai-mastery .ai-mastery-scale__highlight {
  max-width: 100%;
  text-align: center;
}

.home-ai-mastery .ai-mastery-scale__highlight-body {
  width: 100%;
  max-width: none;
}

.ai-mastery-scale__score {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #fff;
}

.ai-mastery-scale__rarity {
  margin: 0 0 4px;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 900;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: #e8274a;
}

.ai-mastery-scale__profiles {
  margin: 0 0 12px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .75);
}

.home-ai-mastery .ai-mastery-scale__intentional {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(1.05rem, 1.42vw, 1.14rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .86);
  text-align: left;
  max-width: none;
  width: 100%;
  text-wrap: wrap;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.home-ai-mastery .ai-mastery-scale__intentional strong {
  color: #fff;
  font-weight: 800;
}

.ai-mastery-scale__intentional {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
  text-align: left;
  max-width: 40rem;
  margin-inline: auto;
}

.ai-mastery-attestation {
  margin-bottom: clamp(28px, 3.5vw, 40px);
  padding: clamp(22px, 3vw, 28px);
  border-radius: 18px;
  background: linear-gradient(180deg, #2a2a30 0%, #1e1e24 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.ai-mastery-attestation__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
}

.ai-mastery-attestation__subtitle {
  margin: 20px 0 10px;
  font-size: .95rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .92);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

.ai-mastery-attestation p {
  margin: 0 0 10px;
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.ai-mastery-attestation p:last-child {
  margin-bottom: 0;
}

.ai-mastery-legitimacy-list {
  margin: 12px 0 18px;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
}

.ai-mastery-legitimacy-list li {
  margin-bottom: 6px;
}

.ai-mastery-closing {
  margin: 0 !important;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.6;
  color: #fff;
}

.ai-mastery-attestation .ai-mastery-legal {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.ai-mastery-legal {
  margin: 0 0 clamp(28px, 3vw, 36px);
  padding-top: 8px;
  font-size: .78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .5);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.home-ai-mastery .ai-benefits {
  margin-top: 8px;
}

@media (max-width:980px) {
  .home-ai-mastery .ai-mastery-intro-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 36px);
  }

  .home-ai-mastery .ai-mastery-intro {
    max-width: none;
    order: 1;
  }

  .home-ai-mastery .ai-mastery-visual {
    order: 2;
    max-width: min(100%, 420px);
  }

  .home-ai-mastery .ai-mastery-visual img {
    max-width: min(92vw, 380px);
  }
}

@media (max-width:720px) {
  .ai-mastery-scale__row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
  }

  .ai-mastery-scale__share {
    grid-column: 2;
    justify-self: start;
    font-size: .82rem;
  }

  .home-ai-mastery .ai-mastery-hero {
    text-align: left;
  }

  .home-ai-mastery .ai-mastery-hero__section-title {
    letter-spacing: .1em;
    font-size: clamp(1.65rem, 7vw, 2.35rem);
  }

  .home-ai-mastery .ai-mastery-hero__title {
    font-size: clamp(1.25rem, 4.8vw, 1.55rem);
  }

  .home-ai-mastery .ai-mastery-stat {
    text-align: left;
    margin-inline: 0;
  }

  .home-ai-mastery .ai-mastery-stat__line {
    justify-content: flex-start;
  }

  .home-ai-mastery .ai-mastery-stat__caption {
    margin-inline: 0;
    text-align: left;
  }

  .home-ai-mastery .ai-mastery-visual__note {
    text-align: left;
  }
}

/* V0.5.16 language switcher flags */
.lang {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 900;
  color: rgba(255, 255, 255, .65);
  white-space: nowrap;
  font-size: clamp(13px, .85vw, 15px);
  line-height: 1.25;
}

.lang a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: inherit;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  line-height: 1.25;
}

.lang a.active,
.lang a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
}

.lang-flag {
  width: 22px;
  height: 16px;
  display: inline-block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
}

.lang-separator {
  opacity: .68;
  font-weight: 900;
  line-height: 1;
}

/* V0.6.14 embedded Ctrl Deck landing inside COMBOX */
.cd-final {
  --bg: #050505;
  --ink: #fff;
  --paper: #f6f3ef;
  --muted: rgba(255, 255, 255, .74);
  --muted2: #60606b;
  --line: rgba(255, 255, 255, .14);
  --warm: #d9d0c3;
  --brown: #6f5744;
  --radius: 24px
}

.cd-final,
.cd-final * {
  box-sizing: border-box
}

.cd-final {
  margin: 0;
  background: #050505;
  color: #fff;
  font-family: Inter, Arial, system-ui, sans-serif
}

.cd-final .container {
  width: min(1120px, calc(100% - 32px));
  margin: auto
}

.cd-final a {
  color: inherit
}

.cd-final .cd-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 5, 5, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px)
}

.cd-final .cd-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px
}

.cd-final .cd-brand img {
  height: 34px;
  width: auto;
  display: block
}

.cd-final .cd-nav nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.cd-final .cd-nav nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 850
}

.cd-final .cd-nav nav a:hover {
  color: #fff
}

.cd-final .cd-lang {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.cd-final .cd-lang-item {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 950;
  color: rgba(255, 255, 255, .82);
  text-transform: uppercase
}

.cd-final .cd-lang-item.active,
.cd-final .cd-lang-item:hover {
  background: #fff;
  color: #111;
  border-color: #fff
}

.cd-final .cd-flag {
  font-size: 16px;
  line-height: 1
}

.cd-final .cd-hero {
  padding: 76px 0 90px;
  background: radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .13), transparent 35%), radial-gradient(circle at 84% 20%, rgba(217, 208, 195, .12), transparent 32%), #050505
}

.cd-final .cd-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center
}

.cd-final .cd-eyebrow {
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--warm);
  font-size: 12px;
  font-weight: 950
}

.cd-final .cd-light .cd-eyebrow {
  color: var(--brown)
}

.cd-final h1 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 16px 0
}

.cd-final h2 {
  font-size: clamp(30px, 4.3vw, 54px);
  line-height: 1.07;
  letter-spacing: -.035em;
  margin: 0 0 18px
}

.cd-final h3 {
  font-size: 21px;
  margin: 0 0 8px
}

.cd-final p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted)
}

.cd-final .cd-lead {
  font-size: 21px;
  color: rgba(255, 255, 255, .88);
  max-width: 780px
}

.cd-final .cd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.cd-final .cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid #fff
}

.cd-final .cd-btn.cd-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--line)
}

.cd-final .cd-btn.cd-dark {
  background: #111;
  color: #fff;
  border-color: #111
}

.cd-final .cd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px
}

.cd-final .cd-badges span {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 850;
  color: #f5eee6
}

.cd-final .cd-hero-visual:not(.cd-hero-visual--composed) {
  background: #fff;
  border-radius: 32px;
  padding: 34px;
  min-height: 390px;
  color: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center
}

.cd-final .cd-logo-showcase {
  width: 100%;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, #f3eee8);
  border: 1px solid rgba(0, 0, 0, .07);
  padding: 42px 28px;
  text-align: center
}

.cd-final .cd-logo-showcase img {
  width: min(100%, 360px);
  margin: 0 auto 26px;
  display: block
}

.cd-final .cd-logo-showcase p {
  text-align: center;
  color: #333;
  margin: 0;
  font-weight: 900
}

.cd-final .cd-section {
  padding: 78px 0
}

.cd-final .cd-light {
  background: var(--paper);
  color: #111
}

.cd-final .cd-light p {
  color: var(--muted2)
}

.cd-final .cd-section-head {
  max-width: 900px;
  margin-bottom: 30px
}

.cd-final .cd-problem {
  background: #080808
}

.cd-final .cd-problem-grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  gap: 18px
}

.cd-final .cd-problem-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .07);
  border-radius: 26px;
  overflow: hidden
}

.cd-final .cd-problem-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block
}

.cd-final .cd-problem-card:nth-child(2) img,
.cd-final .cd-problem-card:nth-child(3) img {
  object-fit: contain;
  background: #f5f5f5;
  padding: 12px
}

.cd-final .cd-problem-card div {
  padding: 20px 22px 24px
}

.cd-final .cd-demo-grid,
.cd-final .cd-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start
}

.cd-final #demo.cd-light .cd-demo-grid {
  align-items: stretch;
  grid-template-columns: 1fr;
}

.cd-final #demo.cd-light .cd-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.cd-final #demo.cd-light .cd-steps article:nth-child(3) {
  grid-column: 1 / -1;
}

.cd-final .cd-steps {
  display: grid;
  gap: 12px;
  margin-top: 22px
}

.cd-final .cd-steps article {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 20px;
  padding: 18px
}

.cd-final .cd-steps article>strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  align-items: center;
  justify-content: center
}

.cd-final .cd-demo-panel {
  background: #111;
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18)
}

.cd-final .cd-mini-window {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.cd-final .cd-mini-window span {
  background: #2b2b2b;
  border-radius: 12px;
  color: #ddd;
  padding: 12px 14px;
  font-weight: 850
}

.cd-final .cd-deck-mock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.cd-final .cd-deck-mock button {
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #111;
  font-weight: 950
}

.cd-final .cd-mouse-callout {
  margin-top: 18px;
  background: #fff;
  color: #111;
  border-radius: 22px;
  padding: 16px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: center
}

.cd-final .cd-mouse-callout img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px
}

.cd-final .cd-mouse-callout p {
  color: #40404a;
  margin: 0;
  font-size: 15px;
  line-height: 1.55
}

.cd-final .cd-benefit-grid,
.cd-final .cd-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.cd-final .cd-card,
.cd-final .cd-benefit-grid .cd-card,
.cd-final .cd-offer-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .07);
  border-radius: 24px;
  padding: 24px
}

.cd-final .cd-light .cd-card {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
  display: grid;
  gap: 10px
}

.cd-final .cd-language-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.cd-final .cd-language-card {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  padding: 16px;
  color: #111
}

.cd-final .cd-language-card span {
  font-size: 24px
}

.cd-final .cd-language-card strong {
  font-size: 17px;
  letter-spacing: .04em
}

.cd-final .cd-offer-card span {
  color: var(--warm);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px
}

.cd-final .cd-offer-card strong {
  display: block;
  font-size: 30px;
  margin: 9px 0
}

.cd-final .cd-price-band {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  background: #fff;
  color: #111;
  border-radius: 26px;
  padding: 24px
}

.cd-final .cd-price-band span {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .1em;
  color: #755d45
}

.cd-final .cd-price-band strong {
  display: block;
  font-size: 46px;
  letter-spacing: -.04em
}

.cd-final .cd-price-band p {
  color: #333;
  margin: 0
}

.cd-final .cd-download-card strong {
  font-size: 34px
}

.cd-final .cd-download-card span {
  display: block;
  color: #333
}

.cd-final .cd-payment {
  background: #0b0b0b
}

.cd-final .cd-stripe-link {
  display: inline-flex;
  text-decoration: none;
  color: #fff;
  font-weight: 950;
  margin-bottom: 18px
}

.cd-final .cd-payment-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.cd-final .cd-pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 50px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
  text-decoration: none
}

.cd-final .cd-pay-logo:hover {
  transform: translateY(-1px)
}

.cd-final .cd-pay-logo img {
  display: block;
  max-width: 118px;
  height: 26px;
  width: auto;
  object-fit: contain
}

.cd-final .cd-pay-logo span {
  display: none;
  color: #111;
  font-weight: 950
}

.cd-final .cd-faq {
  display: grid;
  gap: 12px
}

.cd-final .cd-faq details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .07);
  border-radius: 18px;
  padding: 18px
}

.cd-final .cd-faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 950
}

.cd-final .cd-faq p {
  margin-bottom: 0
}

.cd-final .cd-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: #050505
}

.cd-final .cd-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap
}

@media(max-width:960px) {
  .cd-final .cd-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0
  }

  .cd-final .cd-hero-grid,
  .cd-final .cd-problem-grid,
  .cd-final .cd-demo-grid,
  .cd-final .cd-two,
  .cd-final .cd-benefit-grid,
  .cd-final .cd-offer-grid,
  .cd-final .cd-price-band {
    grid-template-columns: 1fr
  }

  .cd-final .cd-problem-card img {
    height: auto
  }

  .cd-final .cd-nav nav {
    gap: 12px
  }

  .cd-final .cd-hero {
    padding-top: 48px
  }

  .cd-final .cd-language-grid {
    grid-template-columns: 1fr
  }

  .cd-final .cd-mouse-callout {
    grid-template-columns: 1fr
  }

  .cd-final .cd-mouse-callout img {
    max-width: 260px;
    margin: auto
  }
}

/* V0.6.3 local SVG flags: avoid emoji fallback rendering as GB/FR/IT text */
.cd-final .cd-flag-img {
  width: 22px;
  height: 16px;
  flex: 0 0 auto;
  display: inline-block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
}

.cd-final .cd-lang-item .cd-flag-img {
  width: 22px;
  height: 16px;
}

.cd-final .cd-language-card .cd-flag-img {
  width: 34px;
  height: 24px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

.cd-final .cd-language-card strong,
.cd-final .cd-lang-item span {
  text-transform: uppercase;
}

/* V0.6.4 demo shortcut wording */
.cd-final .cd-steps p strong,
.cd-final .cd-mouse-callout p strong {
  font-weight: 950;
  color: inherit;
}

.cd-final .cd-step-note {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* V0.6.5 fix inline bold inside demo steps */
.cd-final .cd-steps p strong {
  display: inline;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font-weight: 950;
  line-height: inherit;
}

.cd-final .cd-steps article>strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  align-items: center;
  justify-content: center;
}

/* V0.6.7 language block promoted under hero */
.cd-final .cd-hero+#languages {
  padding-top: 42px;
  padding-bottom: 42px;
}

.cd-final .cd-hero+#languages h2 {
  font-size: clamp(26px, 3.2vw, 42px);
}

.cd-final .cd-hero+#languages p {
  margin-top: 0;
}

/* V0.6.8 section background rhythm after promoting language block */
.cd-final .cd-language-strip {
  background: #050505;
  color: #fff;
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cd-final .cd-language-strip p {
  color: rgba(255, 255, 255, .74);
}

.cd-final .cd-language-strip .cd-language-card {
  background: #fff;
  color: #111;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
}

.cd-final .cd-language-strip .cd-language-card:hover {
  transform: translateY(-1px);
}

.cd-final .cd-problem.cd-problem-light {
  background: var(--paper);
  color: #111;
}

.cd-final .cd-problem.cd-problem-light p {
  color: var(--muted2);
}

.cd-final .cd-problem.cd-problem-light .cd-problem-card {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.cd-final .cd-problem.cd-problem-light .cd-problem-card h3 {
  color: #111;
}

.cd-final .cd-problem.cd-problem-light .cd-problem-card p {
  color: #4f4f59;
}

.cd-final #pricing.cd-light .cd-offer-card {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.cd-final #pricing.cd-light .cd-offer-card span {
  color: var(--brown);
}

.cd-final #pricing.cd-light .cd-offer-card strong,
.cd-final #pricing.cd-light .cd-offer-card h3 {
  color: #111;
}

.cd-final #pricing.cd-light .cd-offer-card p {
  color: var(--muted2);
}

.cd-final #pricing.cd-light .cd-pricing-reassurance {
  width: 100%;
  margin: clamp(24px, 3.5vw, 36px) 0 0;
  padding: clamp(22px, 3.2vw, 30px) clamp(24px, 4vw, 36px);
  text-align: center;
  font-size: clamp(1.08rem, 2.1vw, 1.42rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -.015em;
  color: #111;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .09);
}

@media (max-width:760px) {
  .cd-final #pricing.cd-light .cd-pricing-reassurance {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
    padding: 20px 18px;
    border-radius: 16px;
  }
}

.cd-final #download:not(.cd-light) {
  background: #050505;
  color: #fff;
}

.cd-final #download:not(.cd-light) p {
  color: rgba(255, 255, 255, .74);
}

.cd-final #download:not(.cd-light) .cd-btn.cd-dark {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.cd-final #download:not(.cd-light) .cd-download-card span {
  color: rgba(255, 255, 255, .74);
}

.cd-final #download:not(.cd-light) .cd-download-card strong {
  color: #fff;
}

.cd-final .cd-payment.cd-payment-light {
  background: var(--paper);
  color: #111;
}

.cd-final .cd-payment.cd-payment-light p {
  color: var(--muted2);
}

.cd-final .cd-payment.cd-payment-light .cd-stripe-link {
  color: #111;
}

.cd-final .cd-payment.cd-payment-light .cd-card {
  background: #fff;
  color: #111;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.cd-final .cd-publisher-dark {
  background: #050505;
  color: #fff;
}

.cd-final .cd-publisher-dark p {
  color: rgba(255, 255, 255, .74);
}

.cd-final .cd-publisher-dark .cd-card {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

.cd-final .cd-publisher-dark .cd-card a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.cd-final .cd-faq-light {
  background: var(--paper);
  color: #111;
}

.cd-final .cd-faq-light .cd-faq details {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.cd-final .cd-faq-light .cd-faq summary {
  color: #111;
}

.cd-final .cd-faq-light .cd-faq p {
  color: var(--muted2);
}

.cd-final .cd-install-faq .cd-install-faq__eyebrow {
  margin: 0 0 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
}

.cd-final .cd-install-faq .cd-faq-quick-start {
  margin: 0 0 20px;
  max-width: 72ch;
}

.cd-final .cd-install-faq .cd-faq-quick-start a {
  color: var(--brown);
  font-weight: 700;
}

.cd-final .cd-install-faq .cdtl-faq-mini {
  display: grid;
  gap: 10px;
  max-width: 72ch;
}

.cd-final .cd-install-faq .cdtl-faq-mini details {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(111, 87, 68, .12);
  background: linear-gradient(165deg, #fff 0%, var(--warm) 100%);
}

.cd-final .cd-install-faq .cdtl-faq-mini summary {
  cursor: pointer;
  font-weight: 700;
  color: #111;
}

.cd-final .cd-install-faq .cdtl-faq-mini p {
  margin: 10px 0 0;
  line-height: 1.65;
  color: var(--muted2);
}

.cd-final .cd-install-faq .cd-install-faq__related {
  margin-top: 18px;
  max-width: 72ch;
}

.cd-final .cd-install-faq .cd-install-faq__related a {
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

/* V0.6.9 corrected section background rhythm */
.cd-final .cd-hero+#languages.cd-light {
  background: var(--paper);
  color: #111;
}

.cd-final .cd-hero+#languages.cd-light p {
  color: var(--muted2);
}

.cd-final .cd-hero+#languages.cd-light .cd-language-card {
  background: #fff;
  color: #111;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.cd-final .cd-problem:not(.cd-problem-light) {
  background: #080808;
  color: #fff;
}

.cd-final .cd-problem:not(.cd-problem-light) p {
  color: rgba(255, 255, 255, .74);
}

.cd-final .cd-problem:not(.cd-problem-light) .cd-problem-card {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.cd-final .cd-problem:not(.cd-problem-light) .cd-problem-card h3 {
  color: #fff;
}

.cd-final .cd-problem:not(.cd-problem-light) .cd-problem-card p {
  color: rgba(255, 255, 255, .74);
}

/* V0.6.11 Windows compatibility note under download CTA */
.cd-final .cd-download-compat {
  margin-top: 16px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 650;
}

.cd-final #download:not(.cd-light) .cd-download-compat {
  color: rgba(255, 255, 255, .74);
}

/* V0.6.17 all Ctrl Deck languages in the page header only */
.ctrl-deck-header-lang {
  gap: 5px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  max-width: none;
  flex: 0 1 auto;
}

.ctrl-deck-header-lang a {
  padding: 4px 5px;
  white-space: nowrap;
}

.ctrl-deck-header-lang .lang-flag {
  width: 20px;
  height: 15px;
}

.ctrl-deck-header-lang a span {
  font-size: 12px;
  letter-spacing: .02em;
}

@media (max-width: 860px) {
  .ctrl-deck-header-lang {
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .ctrl-deck-header-lang a span {
    font-size: 12px;
  }
}

/* V0.6.26 demo workflow image */
.cd-final .cd-demo-panel {
  display: grid;
  gap: 18px
}

.cd-final .cd-demo-visual {
  display: grid;
  gap: 14px
}

.cd-final .cd-demo-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0b0f17;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24)
}

.cd-final .cd-demo-visual-note {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  padding: 16px 18px
}

.cd-final .cd-demo-visual-note p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.6
}

.cd-final .cd-mouse-callout {
  margin-top: 0
}

/* V0.6.27 dual demo screenshots */
.cd-final .cd-demo-panel {
  display: grid;
  gap: 18px
}

.cd-final .cd-demo-visual-stack {
  display: grid;
  gap: 16px
}

.cd-final .cd-demo-figure {
  margin: 0;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  padding: 14px;
  display: grid;
  gap: 12px
}

.cd-final .cd-demo-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  background: #0b0f17;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24)
}

.cd-final .cd-demo-figure figcaption {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.6
}

.cd-final .cd-mouse-callout {
  margin-top: 0
}

.cd-final #demo.cd-light .cd-demo-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cd-final #demo.cd-light .cd-demo-visual-stack {
  flex: 0 0 auto;
}

.cd-final #demo.cd-light .cd-demo-mouse-figure {
  flex: 1 1 auto;
  margin: 18px 0 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  line-height: 0;
  background: transparent;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .16);
}

.cd-final #demo.cd-light .cd-demo-mouse-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
  object-position: center center;
}

@media (max-width:760px) {
  .cd-final #demo.cd-light .cd-steps {
    grid-template-columns: 1fr;
  }

  .cd-final #demo.cd-light .cd-steps article:nth-child(3) {
    grid-column: auto;
  }

  .cd-final #demo.cd-light .cd-demo-mouse-figure {
    border-radius: 18px;
  }

  .cd-final #demo.cd-light .cd-demo-mouse-figure img {
    border-radius: 18px;
  }
}

/* V0.6.37 demo note under intro */
.cd-final .cd-demo-note {
  margin: -8px 0 18px;
  color: rgba(17, 17, 17, .72);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.55;
}


/* V0.6.40 payment methods badges */
.cd-payment-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cd-pay-logo {
  min-height: 92px;
}

.cd-pay-logo img {
  width: 100%;
  max-width: 140px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

@media (max-width: 700px) {
  .cd-payment-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V0.6.41 demo video slot */
.cd-demo-video-card {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 16px 40px rgba(17, 17, 17, .08);
}

.cd-demo-video-label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .62);
}

.cd-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 16px;
  background: #0f1115;
  object-fit: contain;
}

.cd-demo-video-card p {
  margin: 10px 0 0;
  color: rgba(17, 17, 17, .66);
  font-size: 14px;
  line-height: 1.5;
}

/* V0.6.43 larger payment badges and dark FAQ */
.cd-payment-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.cd-pay-logo {
  min-height: 168px;
  padding: 22px 18px;
  border-radius: 26px;
}

.cd-pay-logo img {
  width: 100%;
  max-width: 230px;
  height: 98px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.cd-pay-logo span {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .cd-payment-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cd-payment-logos {
    grid-template-columns: 1fr;
  }

  .cd-pay-logo {
    min-height: 150px;
  }
}

/* V0.6.44 confirmed payment grid and dark FAQ */
.cd-payment-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.cd-pay-logo {
  min-height: 168px;
  padding: 22px 18px;
  border-radius: 26px;
}

.cd-pay-logo img {
  width: 100%;
  max-width: 230px;
  height: 98px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.cd-pay-logo span {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .cd-payment-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cd-payment-logos {
    grid-template-columns: 1fr;
  }

  .cd-pay-logo {
    min-height: 150px;
  }
}

/* V0.6.45 force large 3x2 payment grid */
.cd-final .cd-payment .cd-two {
  grid-template-columns: minmax(260px, .62fr) minmax(680px, 1.38fr);
  gap: 44px;
  align-items: start;
}

.cd-final .cd-payment .cd-card:not(.cd-payment-card) {
  padding: 38px;
  border-radius: 32px;
}

.cd-final .cd-payment-logos {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

.cd-final .cd-pay-logo {
  display: flex !important;
  min-width: 0 !important;
  min-height: 245px !important;
  padding: 34px 24px !important;
  border-radius: 34px !important;
  flex-direction: column !important;
}

.cd-final .cd-pay-logo img {
  width: 100% !important;
  max-width: 320px !important;
  height: 150px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.cd-final .cd-pay-logo span {
  display: block !important;
  margin-top: 18px !important;
  color: #111 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  text-align: center !important;
}

@media (max-width: 1100px) {
  .cd-final .cd-payment .cd-two {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .cd-final .cd-payment-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .cd-final .cd-payment-logos {
    grid-template-columns: 1fr !important;
  }
}

/* Ctrl Deck payment block — compact text badges, provider separate from methods */
.cd-final .cd-payment-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 24px !important;
  border-radius: 20px !important;
}

.cd-final .cd-payment-lead,
.cd-final .cd-payment-secondary,
.cd-final .cd-payment-reassurance {
  margin: 0 0 10px;
  line-height: 1.55;
}

.cd-final .cd-payment-secondary {
  font-size: .94rem;
}

.cd-final .cd-payment-reassurance {
  margin-bottom: 0;
}

.cd-final .cd-payment-area-label {
  margin: 0 0 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted2);
}

.cd-final .cd-payment-provider-block {
  padding: 14px 16px;
  border: 1px solid rgba(99, 91, 255, .22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(99, 91, 255, .06), rgba(99, 91, 255, .02));
}

.cd-final .cd-payment-provider-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.cd-final .cd-payment-stripe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 10px;
  background: #635bff;
  color: #fff !important;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(99, 91, 255, .28);
}

.cd-final .cd-payment-stripe-badge:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.cd-final .cd-payment-methods-block {
  padding-top: 14px;
  margin-top: 2px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.cd-final .cd-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.cd-final .cd-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 52px;
  min-width: 88px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 10px;
  background: #fff;
  color: #111 !important;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.cd-final .cd-payment-badge__logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: 80px;
  object-fit: contain;
}

.cd-final .cd-payment-badge__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cd-final .cd-payment-badge:hover {
  border-color: rgba(0, 0, 0, .2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .07);
  color: #111 !important;
}

.cd-final .cd-payment-provider-reassurance {
  margin: 0;
  padding-top: 4px;
  color: var(--muted2);
  font-size: .88rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .cd-final .cd-payment-card {
    padding: 18px 16px !important;
  }

  .cd-final .cd-payment-badge {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .cd-final .cd-payment-badge__logo {
    height: 24px;
    max-width: 100%;
  }
}

/* P0-B cookie consent — bottom center, above page chrome */
.cookie-consent,
.cookie-banner,
#cookie-consent,
#cookie-consent-banner,
[data-cookie-consent],
[data-cookie-banner] {
  position: fixed !important;
  top: auto !important;
  left: 50% !important;
  right: auto !important;
  bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  z-index: 2147483000 !important;
  width: min(720px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  padding: 10px 14px;
  background: rgba(5, 5, 5, .96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

@media (max-width:640px) {

  .cookie-consent,
  .cookie-banner,
  #cookie-consent,
  #cookie-consent-banner,
  [data-cookie-consent],
  [data-cookie-banner] {
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
}

.cookie-consent__panel {
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-consent__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.cookie-consent__text a {
  color: #fff;
  text-decoration: underline
}

.cookie-consent__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.cookie-consent__btn {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px
}

.cookie-consent-manage {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 2147482999;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, .92);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}

.cookie-consent[hidden] {
  display: none !important
}

/* Home hero — avoid clipped h1 */
.hero {
  overflow: visible;
  padding-bottom: 100px
}

.hero .hero-copy {
  min-width: 0;
  max-width: 100%
}

.hero .hero-copy h1 {
  overflow: visible;
  text-wrap: balance;
  max-width: 18em;
  line-height: 1.05;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
}

/* Ctrl Deck pitch block — before problem section */
.cd-final .cd-pitch-block {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0 clamp(1rem, 2.5vw, 1.5rem);
}

.cd-final .cd-pitch-block .cd-section-head {
  max-width: 46rem;
  margin-bottom: 1rem;
}

.cd-final .cd-pitch-block .cd-section-head h2 {
  margin: 0 0 .65rem;
  line-height: 1.12;
}

.cd-final .cd-pitch-block .cd-section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.cd-final .cd-pitch-figure {
  margin: .75rem 0 0;
  border-radius: 12px;
  overflow: hidden;
}

.cd-final .cd-pitch-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Ctrl Deck pricing band — 3 balanced columns, no dead white space */
.cd-final .cd-price-band {
  display: block !important;
  width: min(100%, 880px);
  margin-inline: auto;
  margin-top: 20px;
  padding: clamp(18px, 3vw, 24px) clamp(16px, 3vw, 28px) !important;
  grid-template-columns: none !important;
}

.cd-final .cd-price-band__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  align-items: end;
  justify-items: center;
  width: 100%;
}

.cd-final .cd-price-cell {
  text-align: center;
  min-width: 0;
}

.cd-final .cd-price-band__updates {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: clamp(10px, 2vw, 14px);
  padding-top: clamp(10px, 2vw, 14px);
  border-top: 1px solid rgba(0, 0, 0, .08);
  max-width: 36rem;
  margin-inline: auto;
}

.cd-final .cd-price-band__updates strong {
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: -.02em;
}

.cd-final .cd-price-launch-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  background: transparent;
}

.cd-final .cd-price-launch-row>div {
  text-align: center;
}

.cd-final .cd-price-launch-row .purchase-cta--icon.cd-purchase-icon-only {
  flex-shrink: 0;
  align-self: center;
  vertical-align: middle;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .08) 18%, transparent 34%),
    linear-gradient(90deg, #f00016 0%, #b60010 38%, #320005 68%, #020202 100%);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, .18),
    0 2px 6px rgba(230, 0, 18, .14),
    inset 0 2px 0 rgba(255, 255, 255, .38),
    inset 0 -3px 0 rgba(0, 0, 0, .46);
}

.cd-final .cd-price-launch-row .cd-purchase-icon-only .purchase-cta__icon-wrap {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-final .cd-price-launch-row .cd-purchase-icon-only .purchase-cta__icon,
.cd-final .cd-price-launch-row .cd-purchase-icon-only .purchase-cta__icon path {
  color: #fff;
  fill: #fff;
  opacity: 1;
  filter: none;
}

/* Ctrl Deck purchase CTA — approved glossy red / black pill */
.cd-final .cd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cd-final .cd-actions .cd-purchase-full,
.cd-final .cd-actions .purchase-cta--full {
  margin-top: 0;
  flex: 0 1 auto;
}

.purchase-cta {
  --cta-red: #e60012;
  --cta-red-dark: #8f0008;
  --cta-black: #050505;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 70, 80, .85);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .08) 18%, transparent 34%),
    linear-gradient(90deg, #f00016 0%, #b60010 38%, #320005 68%, #020202 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, .18),
    0 2px 6px rgba(230, 0, 18, .14),
    inset 0 2px 0 rgba(255, 255, 255, .38),
    inset 0 -3px 0 rgba(0, 0, 0, .46);
  transform: translateZ(0);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.purchase-cta::before {
  content: "";
  position: absolute;
  inset: 3px 4px auto 4px;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.purchase-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06) saturate(1.06);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, .22),
    0 3px 8px rgba(230, 0, 18, .2),
    inset 0 2px 0 rgba(255, 255, 255, .42),
    inset 0 -3px 0 rgba(0, 0, 0, .5);
}

.purchase-cta:active {
  transform: translateY(1px);
}

.purchase-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .9);
  outline-offset: 4px;
}

.purchase-cta--full {
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 0 1.35rem 0 0;
  font-size: clamp(.92rem, 1.1vw, 1.08rem);
  line-height: 1;
}

.purchase-cta--icon {
  width: 54px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  flex-shrink: 0;
}

.purchase-cta__icon-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  height: 100%;
}

.purchase-cta--full .purchase-cta__icon-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(255, 255, 255, .34);
  box-shadow: 1px 0 0 rgba(0, 0, 0, .32);
}

.purchase-cta__icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
}

.purchase-cta__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem 0 1.15rem;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.purchase-cta--icon .purchase-cta__icon-wrap {
  width: 100%;
  min-width: 0;
}

.purchase-cta--icon .purchase-cta__icon {
  width: 1.55rem;
  height: 1.55rem;
}

.cd-purchase-icon-only {
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}

@media (max-width:640px) {
  .cd-final .cd-price-band__cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cd-final .cd-price-band__updates {
    grid-column: 1;
  }

  .purchase-cta--full {
    min-height: 46px;
    font-size: .9rem;
  }

  .purchase-cta__icon-wrap {
    width: 50px;
    min-width: 50px;
  }

  .purchase-cta--icon {
    width: 52px;
    height: 46px;
    min-height: 46px;
  }
}

/* Ctrl Deck demo — YouTube embed (16:9) */
.combox-youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 28px);
  background: #0c0c0f;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(255, 255, 255, .08);
}

.combox-youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Payment result stubs */
.payment-result {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 48px 0 80px;
  background: #050505;
}

.payment-result__box {
  max-width: 520px;
}

.payment-result__box h1 {
  margin-bottom: 12px
}

.payment-result__box p {
  margin-bottom: 20px;
  color: var(--muted)
}

.payment-result__box .btn {
  margin-right: 10px;
  margin-top: 8px
}

/* Services / Prestations — quote form jump button */
.services-hero-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.services-quote-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #20a8ff 0%, #0878d8 100%);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .01em;
  box-shadow:
    0 10px 22px rgba(8, 120, 216, .28),
    inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  flex-shrink: 0;
}

.services-quote-jump:hover {
  filter: brightness(1.08);
  box-shadow:
    0 14px 28px rgba(8, 120, 216, .34),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.services-quote-jump:focus-visible {
  outline: 3px solid rgba(32, 168, 255, .38);
  outline-offset: 3px;
}

@media (max-width:760px) {
  .services-hero-heading-row {
    display: block;
  }

  .services-quote-jump {
    margin-top: 1rem;
  }
}

/* Ctrl Deck hero right — large COM’BOX bg, cream panel only (no white outer card) */
.cd-final .cd-hero-grid {
  align-items: stretch;
}

.cd-final .cd-hero-visual.cd-hero-visual--composed {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 48vw, 720px);
  width: 100%;
  height: 100%;
  align-self: stretch;
  padding: 0;
  display: block;
  color: #111;
  background-color: transparent;
  background-image: url("/assets/visuals/ctrl-deck-hero-right-bg.png?v=5");
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
  box-shadow: none;
  border-radius: 0;
}

.cd-final .cd-hero-visual--composed .cd-hero-visual__bg {
  position: absolute;
  inset: auto;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  width: auto;
  max-width: 100%;
  height: min(100%, 100%);
  max-height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}

.cd-final .cd-hero-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, 72%);
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.cd-final .cd-hero-card__inner {
  background: #f6f2ec;
  border-radius: 22px;
  padding: 30px 34px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

.cd-final .cd-hero-card__logo {
  display: block;
  width: min(360px, 88%);
  height: auto;
  margin: 0 auto 18px;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.cd-final .cd-hero-card__tagline {
  color: #151515;
  opacity: 1;
  font-weight: 700;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.35;
  text-align: center;
  margin: 0;
  max-width: none;
}

.cd-final .cd-hero-card__store {
  margin-top: 20px;
  padding: 16px 18px 14px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(145deg, #eef6ff 0%, #dbeafe 55%, #cfe4fc 100%);
  border: 1px solid rgba(13, 99, 201, .28);
  box-shadow: 0 8px 22px rgba(13, 99, 201, .12);
}

.cd-final .cd-hero-card__store-label {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0d63c9;
}

.cd-final .cd-hero-card__store-title {
  margin: 0 0 12px;
  font-size: clamp(.92rem, 1.15vw, 1.02rem);
  font-weight: 800;
  line-height: 1.32;
  color: #0a3d7a;
}

.cd-final .cd-hero-card__store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: linear-gradient(135deg, #1d8cff 0%, #0d63c9 48%, #0a3d7a 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(.82rem, 1vw, .92rem);
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(13, 99, 201, .35);
  transition: transform 160ms ease, filter 160ms ease;
}

.cd-final .cd-hero-card__store-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.cd-final .cd-hero-card__store-note {
  margin: 10px 0 0;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #475569;
}

.cd-final .cd-hero-card__store--premium {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 14px;
  text-align: left;
  border: 1px solid rgba(56, 140, 255, .45);
  background: linear-gradient(155deg, #0a1628 0%, #0d2848 38%, #0f3d78 72%, #1256a8 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 18px 48px rgba(8, 24, 56, .45),
    0 0 42px rgba(29, 140, 255, .22);
}

.cd-final .cd-hero-card__store-glow {
  position: absolute;
  inset: -30% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 160, 255, .55) 0%, transparent 68%);
  pointer-events: none;
}

.cd-final .cd-hero-card__store-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cd-final .cd-hero-card__store-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.cd-final .cd-hero-card__store--premium .cd-hero-card__store-label {
  margin: 0 0 4px;
  color: #7ec8ff;
}

.cd-final .cd-hero-card__store--premium .cd-hero-card__store-title {
  margin: 0;
  color: #fff;
}

.cd-final .cd-hero-card__store--premium .cd-hero-card__store-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  font-size: clamp(.82rem, 1vw, .95rem);
  box-shadow: 0 10px 28px rgba(13, 99, 201, .5);
}

.cd-final .cd-hero-card__store--premium .cd-hero-card__store-note {
  position: relative;
  z-index: 1;
  color: rgba(232, 242, 255, .78);
}

@media (max-width:760px) {
  .cd-final .cd-hero-visual.cd-hero-visual--composed {
    min-height: clamp(420px, 92vw, 560px);
    background-size: auto 85%;
    background-position: center center;
  }

  .cd-final .cd-hero-card {
    width: min(88%, 460px);
  }

  .cd-final .cd-hero-card__inner {
    padding: 22px 20px;
  }

  .cd-final .cd-hero-card__store {
    margin-top: 16px;
    padding: 14px 14px 12px;
  }

  .cd-final .cd-hero-card__store-btn {
    width: 100%;
    max-width: 100%;
    padding: 0 14px;
  }
}

/* Product Hunt + SaaSHub + UpdateStar + BacklinkLog + Uptodown badges — Ctrl Deck page + homepage */
.cd-final .cd-proof-badges,
.home-ctrl-platforms .cd-proof-badges,
.home-ctrl-proof .cd-proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100%;
}

.cd-final .cd-proof-badges {
  justify-content: center;
  margin: 32px auto 12px;
}

.cd-final .cd-producthunt-badge,
.cd-final .cd-saashub-badge,
.cd-final .cd-updatestar-badge,
.cd-final .cd-backlinklog-badge,
.cd-final .cd-uptodown-badge,
.home-ctrl-platforms .cd-producthunt-badge,
.home-ctrl-platforms .cd-saashub-badge,
.home-ctrl-platforms .cd-updatestar-badge,
.home-ctrl-platforms .cd-backlinklog-badge,
.home-ctrl-platforms .cd-uptodown-badge,
.home-ctrl-proof .cd-producthunt-badge,
.home-ctrl-proof .cd-saashub-badge,
.home-ctrl-proof .cd-updatestar-badge,
.home-ctrl-proof .cd-backlinklog-badge,
.home-ctrl-proof .cd-uptodown-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  flex: 0 0 auto;
}

.cd-final .cd-producthunt-badge a,
.cd-final .cd-saashub-badge a,
.cd-final .cd-updatestar-badge a,
.cd-final .cd-backlinklog-badge a,
.cd-final .cd-uptodown-badge a,
.home-ctrl-platforms .cd-producthunt-badge a,
.home-ctrl-platforms .cd-saashub-badge a,
.home-ctrl-platforms .cd-updatestar-badge a,
.home-ctrl-platforms .cd-backlinklog-badge a,
.home-ctrl-platforms .cd-uptodown-badge a,
.home-ctrl-proof .cd-producthunt-badge a,
.home-ctrl-proof .cd-saashub-badge a,
.home-ctrl-proof .cd-updatestar-badge a,
.home-ctrl-proof .cd-backlinklog-badge a,
.home-ctrl-proof .cd-uptodown-badge a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cd-final .cd-producthunt-badge img,
.home-ctrl-platforms .cd-producthunt-badge img,
.home-ctrl-proof .cd-producthunt-badge img {
  display: block;
  width: 250px;
  height: 54px;
  border: 0;
}

.cd-final .cd-saashub-badge img,
.home-ctrl-platforms .cd-saashub-badge img,
.home-ctrl-proof .cd-saashub-badge img {
  display: block;
  max-width: 150px;
  width: auto;
  height: 54px;
  border: 0;
}

.cd-final .cd-updatestar-badge img,
.home-ctrl-platforms .cd-updatestar-badge img,
.home-ctrl-proof .cd-updatestar-badge img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 162px;
  border: 0;
}

.cd-final .cd-backlinklog-badge img,
.home-ctrl-platforms .cd-backlinklog-badge img,
.home-ctrl-proof .cd-backlinklog-badge img {
  display: block;
  width: 160px;
  height: 40px;
  border: 0;
}

.cd-final .cd-uptodown-badge img,
.home-ctrl-platforms .cd-uptodown-badge img,
.home-ctrl-proof .cd-uptodown-badge img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 150px;
  border: 0;
}

/* Homepage — software & apps entry (nav + section) */
.nav-software-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(255, 70, 80, .85);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .08) 18%, transparent 34%),
    linear-gradient(90deg, #f00016 0%, #b60010 38%, #320005 68%, #020202 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(14px, .95vw, 16px);
  line-height: 1.25;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, .18),
    inset 0 2px 0 rgba(255, 255, 255, .32);
  transition: transform 160ms ease, filter 160ms ease;
}

.nav-software-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Homepage — Microsoft Store CTA in hero actions */
.hero .actions {
  align-items: stretch;
  justify-content: center;
}

.home-hero-store-cta {
  scroll-margin-top: 92px;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  box-sizing: border-box;
  min-height: 88px;
  padding: 16px clamp(18px, 3vw, 28px);
  border-radius: 20px;
  flex: 1 1 100%;
  width: min(100%, 720px);
  max-width: 720px;
  margin-inline: auto;
  min-width: 0;
  text-align: left;
  text-decoration: none;
  color: #fff;
  background:
    radial-gradient(ellipse 100% 80% at 10% 0%, rgba(56, 189, 248, .28) 0%, transparent 50%),
    linear-gradient(125deg, #021428 0%, #0a3d7a 38%, #0d63c9 68%, #1d8cff 100%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 12px 28px rgba(8, 47, 120, .32);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.home-hero-store-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(8, 47, 120, .38);
}

.home-hero-store-cta__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  width: 100%;
}

.home-hero-store-cta__picto {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

.home-hero-store-cta__copy {
  flex: 1 1 180px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-hero-store-cta__eyebrow {
  display: block;
  margin: 0;
  font-size: clamp(10px, .95vw, 11px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(174, 220, 255, .92);
}

.home-hero-store-cta__title {
  display: block;
  margin: 0;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.home-hero-store-cta__badge-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-store-cta__ms-badge {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(200px, 38vw);
}

.home-hero-store-cta__btn {
  flex: 1 1 100%;
  display: block;
  margin: 2px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: #e8f4ff;
  overflow-wrap: anywhere;
}

/* Ctrl Deck product page — V1.3 standalone feature announcement card */
.cd-final .cd-v13-feature-wrap {
  width: min(900px, calc(100% - 40px));
  margin: clamp(40px, 6vw, 56px) auto 0;
  padding: 0;
}

.cd-final .cd-v13-feature-wrap--visual {
  width: min(960px, calc(100% - 40px));
  margin: clamp(48px, 7vw, 64px) auto 0;
}

.cd-final .cd-v13-feature-visual {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(96, 180, 255, .16),
    0 18px 48px rgba(2, 8, 24, .55),
    0 0 72px rgba(29, 140, 255, .18);
}

.cd-final .cd-v13-feature-visual__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(280px, 42vw, 420px);
  object-fit: contain;
  border-radius: 24px;
}

.cd-final .cd-v13-feature-card {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  background:
    radial-gradient(ellipse 140% 95% at 50% -30%, rgba(48, 170, 255, .42) 0%, transparent 58%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(29, 140, 255, .2) 0%, transparent 55%),
    linear-gradient(168deg, #01040c 0%, #041428 40%, #082040 100%);
  border: 1px solid rgba(130, 210, 255, .5);
  box-shadow:
    0 0 0 1px rgba(41, 160, 255, .22),
    0 0 64px rgba(29, 140, 255, .34),
    0 0 120px rgba(29, 140, 255, .14),
    0 28px 64px rgba(2, 8, 24, .72);
}

.cd-final .cd-v13-feature-card__halo {
  position: absolute;
  inset: -24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(88, 196, 255, .38) 0%, transparent 65%);
  filter: blur(22px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.cd-final .cd-v13-feature-card__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse at 50% 0%, rgba(72, 188, 255, .62) 0%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

.cd-final .cd-v13-feature-card__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13) 0%, transparent 36%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.cd-final .cd-v13-feature-card__inner {
  position: relative;
  z-index: 3;
  padding: clamp(28px, 4vw, 36px) clamp(24px, 4vw, 32px) clamp(26px, 3.5vw, 32px);
  display: grid;
  gap: clamp(18px, 3vw, 24px);
}

.cd-final .cd-v13-feature-card__title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: .22em .36em;
  line-height: 1.02;
  text-align: center;
}

.cd-final .cd-v13-feature-card__title-prefix {
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #ffffff;
  text-shadow: 0 0 28px rgba(96, 180, 255, .4);
}

.cd-final .cd-v13-feature-card__title-version {
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 950;
  letter-spacing: -.03em;
  color: #78d4ff;
  text-shadow:
    0 0 22px rgba(96, 210, 255, .95),
    0 0 48px rgba(29, 140, 255, .65);
}

.cd-final .cd-v13-feature-card__lead {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.02rem, 2vw, 1.14rem);
  line-height: 1.72;
  font-weight: 650;
}

.cd-final .cd-v13-feature-card__brand {
  font-weight: 900;
  color: #ffffff;
}

.cd-final .cd-v13-feature-card__brand--highlight {
  font-size: 1.12em;
  font-weight: 950;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(96, 180, 255, .28);
}

.cd-final .cd-v13-feature-card__highlight {
  margin: 0;
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 26px);
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 22px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(29, 140, 255, .28) 0%, rgba(41, 160, 255, .14) 100%);
  border: 1px solid rgba(140, 214, 255, .52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 0 36px rgba(29, 140, 255, .28);
}

.cd-final .cd-v13-feature-card__badge {
  position: relative;
  width: clamp(76px, 13vw, 92px);
  height: clamp(76px, 13vw, 92px);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.cd-final .cd-v13-feature-card__badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 176, 255, .38) 0%, rgba(29, 140, 255, .1) 72%);
  border: 2px solid rgba(130, 210, 255, .72);
  box-shadow:
    0 0 32px rgba(29, 140, 255, .62),
    inset 0 0 22px rgba(96, 200, 255, .28);
}

.cd-final .cd-v13-feature-card__badge img {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4));
}

.cd-final .cd-v13-feature-card__highlight-text {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.08rem, 2.3vw, 1.24rem);
  line-height: 1.62;
  font-weight: 850;
  letter-spacing: -.01em;
}

.cd-final .cd-v13-feature-card__list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.cd-final .cd-v13-feature-card__list li {
  position: relative;
  padding-left: 24px;
  color: #f4faff;
  font-size: clamp(.96rem, 1.9vw, 1.06rem);
  line-height: 1.55;
  font-weight: 800;
}

.cd-final .cd-v13-feature-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8ee0ff 0%, #2ea8ff 100%);
  box-shadow:
    0 0 0 3px rgba(41, 160, 255, .22),
    0 0 14px rgba(41, 160, 255, .9);
}

@media (max-width:760px) {
  .cd-final .cd-v13-feature-wrap {
    width: calc(100% - 24px);
    margin-top: 32px;
  }

  .cd-final .cd-v13-feature-wrap--visual {
    width: calc(100% - 24px);
    margin-top: 36px;
  }

  .cd-final .cd-v13-feature-visual__img {
    min-height: 220px;
  }

  .cd-final .cd-v13-feature-card__inner {
    padding: 24px 18px 22px;
    gap: 16px;
  }

  .cd-final .cd-v13-feature-card__highlight {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .cd-final .cd-v13-feature-card__highlight-text {
    font-size: 1.06rem;
  }
}

/* Homepage — Ctrl Deck V1.6 overview (single visual, FR / EN) */
.home-v16-marketing {
  scroll-margin-top: 92px;
  padding: clamp(28px, 4vw, 52px) 20px clamp(32px, 4.5vw, 56px);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(29, 140, 255, .14) 0%, transparent 55%),
    linear-gradient(180deg, #030810 0%, #061220 42%, #0a1830 100%);
  border-bottom: 1px solid rgba(96, 180, 255, .18);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04);
}

.home-v16-marketing__inner {
  max-width: min(1120px, 100%);
  margin: 0 auto;
}

.ctrl-deck-v16-overview__headline {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  padding: 0;
  font-size: clamp(1.05rem, 1.85vw, 1.25rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.015em;
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
  color: #1d8cff;
}

.home-v16-marketing__figure {
  max-width: 100%;
  width: 100%;
  margin-inline: auto;
  line-height: 0;
  overflow: visible;
}

.home-v16-marketing__link {
  display: block;
  max-width: 100%;
  overflow: visible;
  border-radius: clamp(12px, 1.6vw, 18px);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.home-v16-marketing__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.home-v16-marketing__link:focus-visible {
  outline: 2px solid rgba(96, 180, 255, .85);
  outline-offset: 4px;
}

.home-v16-marketing__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: inherit;
  box-shadow:
    0 0 0 1px rgba(96, 180, 255, .22),
    0 28px 72px rgba(2, 8, 24, .65),
    0 0 48px rgba(29, 140, 255, .12);
  transition: box-shadow .2s ease;
}

.home-v16-marketing__link:hover .home-v16-marketing__img {
  box-shadow:
    0 0 0 1px rgba(120, 200, 255, .38),
    0 32px 80px rgba(2, 8, 24, .72),
    0 0 56px rgba(29, 140, 255, .2);
}

.home-v16-marketing__caption {
  margin: clamp(12px, 2vw, 16px) 0 0;
  line-height: 1.55;
  font-size: clamp(.92rem, 1.6vw, 1rem);
  color: rgba(220, 235, 255, .82);
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}

@media (max-width:680px) {
  .home-v16-marketing {
    padding: 22px 14px 28px;
  }

  .home-v16-marketing__link {
    border-radius: 12px;
  }

  .home-v16-marketing__img {
    max-height: none;
    object-fit: contain;
    box-shadow:
      0 0 0 1px rgba(96, 180, 255, .18),
      0 16px 40px rgba(2, 8, 24, .5);
  }
}

/* Ctrl Deck V1.7 overview — homepage + product pages (7 locales) */
.ctrl-deck-v17-overview {
  scroll-margin-top: 92px;
  padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5.5vw, 72px);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(29, 140, 255, .12) 0%, transparent 58%),
    linear-gradient(180deg, #030810 0%, #061220 48%, #050505 100%);
  border-bottom: 1px solid rgba(96, 180, 255, .16);
  color: rgba(255, 255, 255, .9);
}

.ctrl-deck-v17-overview__inner {
  width: 100%;
  max-width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ctrl-deck-v17-overview__head {
  margin-bottom: clamp(20px, 3vw, 32px);
  text-align: center;
}

.ctrl-deck-v17-overview__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(29, 140, 255, .14);
  border: 1px solid rgba(96, 180, 255, .32);
  color: #7ec8ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ctrl-deck-v17-overview__title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #fff;
}

.ctrl-deck-v17-overview__intro {
  margin: 0 auto;
  max-width: 62ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

.ctrl-deck-v17-overview__figure {
  width: 100%;
  max-width: 100%;
  margin: 0 0 clamp(24px, 3.5vw, 36px);
  line-height: 0;
}

.ctrl-deck-v17-overview__zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: clamp(12px, 1.6vw, 18px);
  background: transparent;
  color: rgba(255, 255, 255, .96);
  cursor: zoom-in;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.ctrl-deck-v17-overview__zoom-trigger:focus {
  outline: none;
}

.ctrl-deck-v17-overview__zoom-trigger:focus-visible {
  outline: none;
}

.ctrl-deck-v17-overview__zoom-trigger:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow:
    0 0 0 3px rgba(126, 200, 255, 1),
    0 0 0 6px rgba(29, 140, 255, .38);
  pointer-events: none;
}

.ctrl-deck-v17-overview__zoom-trigger:hover .ctrl-deck-v17-overview__image,
.ctrl-deck-v17-overview__zoom-trigger:focus-visible .ctrl-deck-v17-overview__image {
  box-shadow:
    0 0 0 1px rgba(126, 200, 255, .42),
    0 28px 72px rgba(2, 8, 24, .62),
    0 0 48px rgba(29, 140, 255, .16);
}

.ctrl-deck-v17-overview__zoom-hint,
.ctrl-deck-v17-overview__zoom-badge {
  position: absolute;
  right: clamp(10px, 1.6vw, 14px);
  bottom: clamp(10px, 1.6vw, 14px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: clamp(44px, 4.8vw, 48px);
  height: clamp(44px, 4.8vw, 48px);
  max-width: calc(100% - 20px);
  padding: 0;
  border-radius: 999px;
  background: rgba(4, 12, 24, .84);
  border: 1px solid rgba(126, 200, 255, .42);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(29, 140, 255, .12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, .96);
  opacity: .88;
  pointer-events: none;
  transition:
    opacity .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.ctrl-deck-v17-overview__zoom-icon {
  flex: 0 0 auto;
  display: block;
}

.ctrl-deck-v17-overview__zoom-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ctrl-deck-v17-overview__zoom-trigger:hover .ctrl-deck-v17-overview__zoom-hint,
.ctrl-deck-v17-overview__zoom-trigger:focus-visible .ctrl-deck-v17-overview__zoom-hint {
  opacity: 1;
  width: auto;
  height: auto;
  min-width: clamp(44px, 4.8vw, 48px);
  min-height: clamp(44px, 4.8vw, 48px);
  padding: 8px 12px;
  background: rgba(8, 20, 38, .94);
  border-color: rgba(126, 200, 255, .56);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .48),
    0 0 0 2px rgba(126, 200, 255, .28);
}

.ctrl-deck-v17-overview__zoom-trigger:hover .ctrl-deck-v17-overview__zoom-text,
.ctrl-deck-v17-overview__zoom-trigger:focus-visible .ctrl-deck-v17-overview__zoom-text {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: hidden;
  clip: auto;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(28ch, calc(100vw - 120px));
}

.ctrl-deck-v17-overview__zoom-trigger:focus-visible .ctrl-deck-v17-overview__zoom-hint {
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .48),
    0 0 0 2px rgba(126, 200, 255, .95);
}

@media (prefers-reduced-motion: reduce) {
  .ctrl-deck-v17-overview__zoom-hint {
    transition: none;
  }
}

.ctrl-deck-v17-overview__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: clamp(12px, 1.6vw, 18px);
  object-fit: contain;
  box-shadow:
    0 0 0 1px rgba(96, 180, 255, .22),
    0 24px 64px rgba(2, 8, 24, .58),
    0 0 40px rgba(29, 140, 255, .1);
}

.ctrl-deck-v17-overview__body {
  max-width: 68ch;
  margin: 0 auto;
}

.ctrl-deck-v17-overview__body p {
  margin: 0 0 1.05em;
  font-size: clamp(.98rem, 1.45vw, 1.06rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
}

.ctrl-deck-v17-overview__body p:last-child {
  margin-bottom: 0;
}

.ctrl-deck-v17-overview__closing {
  margin-top: 1.35em !important;
  padding-top: 1.15em;
  border-top: 1px solid rgba(96, 180, 255, .18);
  font-weight: 800;
  color: rgba(255, 255, 255, .92) !important;
}

.cd-final .ctrl-deck-v17-overview {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 901px) {
  .ctrl-deck-v17-overview__inner {
    max-width: min(1120px, calc(100% - 32px));
  }

  .ctrl-deck-v17-overview__figure {
    width: 100%;
    max-width: 100%;
  }

  .ctrl-deck-v17-overview__image {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .ctrl-deck-v17-overview {
    padding-left: 0;
    padding-right: 0;
  }

  .ctrl-deck-v17-overview__inner {
    padding-inline: 0;
  }

  .ctrl-deck-v17-overview__head,
  .ctrl-deck-v17-overview__body {
    padding-inline: 4px;
  }

  .ctrl-deck-v17-overview__image {
    border-radius: 12px;
  }

  .ctrl-deck-v17-overview__zoom-trigger {
    border-radius: 12px;
  }
}

/* Ctrl Deck V1.7 overview — accessible image lightbox */
.ctrl-deck-v17-lightbox {
  width: min(calc(100vw - 32px), 1916px);
  max-width: min(calc(100vw - 32px), 1916px);
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.ctrl-deck-v17-lightbox::backdrop {
  background: rgba(2, 6, 14, .88);
}

.ctrl-deck-v17-lightbox__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100vh - 32px);
}

.ctrl-deck-v17-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 64px), 1916px);
  max-height: calc(100vh - 88px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(96, 180, 255, .24),
    0 28px 80px rgba(0, 0, 0, .55);
}

.ctrl-deck-v17-lightbox__close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(96, 180, 255, .32);
  border-radius: 999px;
  background: rgba(4, 12, 24, .92);
  color: rgba(255, 255, 255, .94);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ctrl-deck-v17-lightbox__close:focus {
  outline: none;
}

.ctrl-deck-v17-lightbox__close:focus-visible {
  outline: 2px solid rgba(126, 200, 255, .95);
  outline-offset: 2px;
}

.ctrl-deck-v17-lightbox__close:hover {
  background: rgba(8, 20, 38, .96);
  border-color: rgba(126, 200, 255, .48);
}

body.ctrl-deck-v17-lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .ctrl-deck-v17-lightbox {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .ctrl-deck-v17-lightbox__panel {
    max-height: calc(100vh - 20px);
  }

  .ctrl-deck-v17-lightbox__image {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 72px);
  }

  .ctrl-deck-v17-lightbox__close {
    top: 4px;
    right: 4px;
  }
}

/* Homepage — Ctrl Deck V1.3 marketing banner (legacy; product pages retired) */
.home-v13-marketing {
  scroll-margin-top: 92px;
  padding: clamp(28px, 4vw, 52px) 20px clamp(32px, 4.5vw, 56px);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(29, 140, 255, .14) 0%, transparent 55%),
    linear-gradient(180deg, #030810 0%, #061220 42%, #0a1830 100%);
  border-bottom: 1px solid rgba(96, 180, 255, .18);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04);
}

.home-v13-marketing__inner {
  max-width: min(1120px, 100%);
  margin: 0 auto;
}

.home-v13-marketing__figure {
  margin: 0;
  line-height: 0;
}

.home-v13-marketing__link {
  display: block;
  border-radius: clamp(12px, 1.6vw, 18px);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.home-v13-marketing__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.home-v13-marketing__link:focus-visible {
  outline: 2px solid rgba(96, 180, 255, .85);
  outline-offset: 4px;
}

.home-v13-marketing__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: inherit;
  box-shadow:
    0 0 0 1px rgba(96, 180, 255, .22),
    0 28px 72px rgba(2, 8, 24, .65),
    0 0 48px rgba(29, 140, 255, .12);
  transition: box-shadow .2s ease;
}

.home-v13-marketing__link:hover .home-v13-marketing__img {
  box-shadow:
    0 0 0 1px rgba(120, 200, 255, .38),
    0 32px 80px rgba(2, 8, 24, .72),
    0 0 56px rgba(29, 140, 255, .2);
}

@media (max-width:680px) {
  .home-v13-marketing {
    padding: 22px 14px 28px;
  }

  .home-v13-marketing__link {
    border-radius: 12px;
  }

  .home-v13-marketing__img {
    box-shadow:
      0 0 0 1px rgba(96, 180, 255, .18),
      0 16px 40px rgba(2, 8, 24, .5);
  }
}

/* Homepage — Ctrl Deck V1.3 → V1.5 summary (below V1.3/V1.4 promo) */
.home-v13-marketing__summary {
  margin: clamp(28px, 4vw, 40px) 0 0;
  line-height: 0;
}

.home-v13-marketing__summary-link {
  display: block;
  line-height: 0;
  cursor: zoom-in;
  text-decoration: none;
}

.home-v13-marketing__summary-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: clamp(12px, 1.6vw, 18px);
  box-shadow:
    0 0 0 1px rgba(96, 180, 255, .2),
    0 24px 64px rgba(2, 8, 24, .55),
    0 0 40px rgba(29, 140, 255, .1);
}

.home-v13-marketing__summary-caption {
  margin: clamp(12px, 2vw, 16px) 0 0;
  line-height: 1.5;
  font-size: clamp(.92rem, 1.6vw, 1rem);
  color: rgba(220, 235, 255, .82);
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}

@media (max-width:680px) {
  .home-v13-marketing__summary {
    margin-top: 22px;
  }

  .home-v13-marketing__summary-img {
    border-radius: 12px;
    box-shadow:
      0 0 0 1px rgba(96, 180, 255, .16),
      0 14px 36px rgba(2, 8, 24, .48);
  }
}

/* Homepage — cream software section before footer */
.home-software-apps {
  scroll-margin-top: 92px;
  padding-top: 48px;
  padding-bottom: 52px;
}

.home-software-apps__grid {
  display: block;
}

.commercial-trio {
  align-items: stretch;
}

@media (min-width:851px) {
  .commercial-trio.grid-3 {
    grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.commercial-trio .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.commercial-trio .product-card h3 {
  margin: 0 0 10px;
}

.commercial-trio .product-card p {
  margin: 0 0 18px;
  flex: 1;
}

.section.light .home-software-apps .commercial-ms-card--premium,
.commercial-ms-card--premium {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: clamp(300px, 32vw, 340px);
  border: 1px solid rgba(96, 180, 255, .55);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(29, 140, 255, .22) 0%, transparent 55%),
    linear-gradient(155deg, #050d1a 0%, #0a1f3d 32%, #0d3a72 68%, #1568c4 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    0 22px 56px rgba(4, 12, 32, .55),
    0 0 0 3px rgba(29, 140, 255, .12),
    0 0 56px rgba(29, 140, 255, .32);
  color: #e8f2ff;
  transform: translateZ(0);
}

.section.light .home-software-apps .commercial-ms-card--premium {
  color: #e8f2ff;
}

.commercial-ms-card--premium:hover {
  border-color: rgba(126, 200, 255, .72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1) inset,
    0 26px 64px rgba(4, 12, 32, .58),
    0 0 0 3px rgba(56, 180, 255, .2),
    0 0 72px rgba(45, 160, 255, .42);
}

.commercial-ms-card__glow {
  position: absolute;
  inset: -35% -25% auto;
  height: 75%;
  background: radial-gradient(ellipse at 50% 0%, rgba(72, 180, 255, .65) 0%, transparent 70%);
  pointer-events: none;
}

.commercial-ms-card__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .06) 42%, transparent 68%);
  pointer-events: none;
}

.commercial-ms-card__channel {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(174, 220, 255, .92);
}

.commercial-ms-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(22px, 2.4vw, 28px) clamp(20px, 2.2vw, 26px) clamp(20px, 2vw, 24px);
}

.commercial-ms-card__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  text-align: left;
}

.commercial-ms-card__icon {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, .4),
    0 0 24px rgba(29, 140, 255, .35);
}

.commercial-ms-card__head .label {
  display: inline-flex;
  margin-bottom: 8px;
  color: #7ec8ff;
  letter-spacing: .12em;
}

.commercial-ms-card__head h3,
.commercial-ms-card__product-name {
  margin: 0;
  color: #7ec8ff;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.25;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(2, 8, 24, .55), 0 0 18px rgba(126, 200, 255, .35);
}

.home-software-apps .commercial-ms-card__product-name {
  color: #052a56 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

.home-software-apps .commercial-ms-card--premium .commercial-ms-card__product-name {
  color: #d4e8ff !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(2, 8, 24, .6), 0 0 20px rgba(126, 200, 255, .4) !important;
}

.section.light .home-software-apps .commercial-ms-card--premium {
  color: #e8f2ff;
}

.commercial-ms-card__note {
  margin: 12px 0 0;
  flex: 0;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(232, 242, 255, .78);
}

/* Homepage — premium Microsoft Store cartouche + readable supporting note */
.home-software-apps .commercial-ms-card--premium .commercial-ms-card__badge-wrap {
  margin: 8px 0 24px;
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2.2vw, 22px);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 95% 130% at 50% 0%, rgba(255, 255, 255, .16) 0%, transparent 58%),
    linear-gradient(148deg, rgba(255, 255, 255, .11) 0%, rgba(96, 190, 255, .24) 36%, rgba(29, 140, 255, .34) 68%, rgba(10, 58, 128, .5) 100%);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(0, 0, 0, .14),
    0 10px 28px rgba(2, 10, 28, .42),
    0 0 40px rgba(29, 140, 255, .2);
}

.home-software-apps .commercial-ms-card--premium .commercial-ms-card__badge-wrap .ms-store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.home-software-apps .commercial-ms-card--premium .commercial-ms-card__note {
  margin: clamp(22px, 3vw, 28px) 0 0;
  padding-top: clamp(16px, 2.2vw, 20px);
  font-size: clamp(.92rem, 1.05vw, 1rem);
  font-weight: 800;
  line-height: 1.55;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.commercial-ms-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .48);
  background: linear-gradient(135deg, #4db0ff 0%, #248fff 38%, #0d63c9 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.25;
  box-shadow: 0 12px 32px rgba(13, 99, 201, .55), 0 0 20px rgba(29, 140, 255, .25);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.commercial-ms-card__btn:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 32px rgba(29, 140, 255, .55);
}

.commercial-ms-card__badge-wrap,
.cd-hero-card__ms-badge-wrap {
  margin: 4px 0 16px;
  display: flex;
  justify-content: center;
}

.commercial-ms-card__badge-wrap .ms-store-badge,
.cd-hero-card__ms-badge-wrap .ms-store-badge,
.cdfaq-ms-badge-wrap .ms-store-badge,
.cdfaq-hero__store .ms-store-badge,
.cdfaq-final-cta__store .ms-store-badge {
  display: inline-flex;
  max-width: min(100%, 240px);
  line-height: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.commercial-ms-card__badge-wrap .ms-store-badge:hover,
.cd-hero-card__ms-badge-wrap .ms-store-badge:hover,
.cdfaq-ms-badge-wrap .ms-store-badge:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.commercial-ms-card__badge-wrap .ms-store-badge__img,
.ms-store-badge__img {
  display: block;
  width: min(100%, 240px);
  height: auto;
}

.commercial-ms-card__badge-wrap .commercial-ms-card__ms-badge,
.commercial-ms-card__badge-wrap .ms-store-badge {
  max-width: min(100%, 260px);
}

.cdfaq-ms-badge-wrap {
  margin: 14px 0 4px;
}

.cdfaq-hero__store {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cdfaq-final-cta__store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.cd-final .cd-hero-card__store--premium .cd-hero-card__ms-badge-wrap {
  margin: 12px 0 10px;
}

.solutions-commercial .section-head {
  margin-bottom: 28px;
}

.solutions-commercial .section-head h1 {
  margin-bottom: 10px;
}

@media (max-width:850px) {
  .commercial-trio.grid-3 {
    grid-template-columns: 1fr;
  }

  .commercial-ms-card__btn {
    width: 100%;
  }
}

@media (max-width:760px) {
  .hero .actions .home-hero-store-cta {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .home-hero-store-cta__layout {
    gap: 12px 14px;
  }

  .home-hero-store-cta__badge-wrap {
    order: 4;
    flex: 1 1 100%;
  }

  .home-hero-store-cta__ms-badge {
    height: 40px;
  }

  .home-hero-store-cta__btn {
    order: 5;
  }
}

@media (max-width:850px) {
  .nav-links .nav-software-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Embedded Ctrl Deck page header (COM’BOX shell) */
.cd-final .cd-nav nav a {
  font-size: clamp(14px, .95vw, 16px);
  line-height: 1.28;
  letter-spacing: .012em;
  font-weight: 850;
}

.cd-final .cd-lang-item {
  font-size: clamp(12px, .8vw, 14px);
  line-height: 1.2;
}

@media (max-width:960px) {
  .cd-final .cd-nav nav a {
    font-size: 15px;
  }

  .cd-final .cd-lang-item {
    font-size: 13px;
  }
}

/* Ctrl Deck embedded — heading + CTA scale */
.cd-final h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
}

.cd-final h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.025em;
}

.cd-final h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  font-weight: 700;
}

.cd-final .cd-lead {
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.55;
}

.cd-final .cd-btn {
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 700;
  min-height: 50px;
  padding: 0 22px;
  line-height: 1.25;
}

/* Ctrl Deck V1.3 FAQ / Help page */
.nav-links .nav-faq-ctrl-deck {
  font-weight: 800;
  color: #7ec8ff;
}

.nav-links .nav-faq-ctrl-deck:hover {
  color: #fff;
}

.nav-ctrl-deck-utility {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3em 0.42em;
  max-width: 100%;
  line-height: 1.25;
}

.nav-ctrl-deck-utility__sep {
  color: #fff;
  font-weight: 800;
  opacity: 0.95;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.nav-ctrl-deck-utility .nav-ctrl-deck-utility__link {
  font-weight: 800;
  color: #7ec8ff;
  text-decoration: none;
}

.nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:hover {
  color: #fff;
}

.nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:focus-visible {
  outline: 2px solid #7ec8ff;
  outline-offset: 3px;
  border-radius: 2px;
}

.cdfaq-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 140, 255, .18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(24, 72, 160, .22), transparent 30%),
    linear-gradient(180deg, #050b18 0%, #071225 42%, #050a14 100%);
  color: #eef4ff;
}

.cdfaq-page .container {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
}

.cdfaq-hero {
  padding: 56px 0 40px;
}

.cdfaq-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: center;
}

.cdfaq-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6eb6ff;
}

.cdfaq-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
}

.cdfaq-hero__lead {
  margin: 0 0 22px;
  max-width: 52ch;
  color: rgba(238, 244, 255, .78);
  font-size: clamp(1.0625rem, 1.25vw, 1.3125rem);
  line-height: 1.55;
}

.cdfaq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cdfaq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.25;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cdfaq-btn--primary {
  background: linear-gradient(135deg, #2f8cff, #1a5fd4);
  color: #fff;
  border-color: rgba(158, 212, 255, .45);
  box-shadow: 0 10px 28px rgba(36, 120, 255, .35);
}

.cdfaq-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(36, 120, 255, .45);
  color: #fff;
}

.cdfaq-btn--secondary {
  background: rgba(255, 255, 255, .04);
  color: #eef4ff;
  border-color: rgba(126, 200, 255, .35);
}

.cdfaq-btn--secondary:hover {
  background: rgba(126, 200, 255, .12);
  color: #fff;
}

.cdfaq-tagline-card {
  padding: 22px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(18, 44, 92, .85), rgba(8, 18, 40, .92));
  border: 1px solid rgba(110, 182, 255, .35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.cdfaq-tagline-card__line {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.cdfaq-tagline-card__line:last-child {
  margin-bottom: 0;
}

.cdfaq-tagline-card__line--accent {
  color: #8ecfff;
  font-size: 1.2rem;
}

.cdfaq-section {
  padding: 36px 0;
}

.cdfaq-section__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6eb6ff;
}

.cdfaq-section h2 {
  margin: 0 0 22px;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  letter-spacing: -.02em;
  font-weight: 700;
  line-height: 1.1;
}

.cdfaq-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cdfaq-feature-card {
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(14, 34, 72, .72), rgba(8, 16, 34, .88));
  border: 1px solid rgba(100, 176, 255, .28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

.cdfaq-feature-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.cdfaq-feature-card p {
  margin: 0;
  color: rgba(238, 244, 255, .72);
  font-size: clamp(.9375rem, 1vw, 1rem);
  line-height: 1.5;
}

.cdfaq-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(70, 160, 255, .35), rgba(20, 60, 140, .55));
  border: 1px solid rgba(140, 210, 255, .35);
  color: #d8ecff;
  box-shadow: 0 8px 20px rgba(36, 120, 255, .2);
}

.cdfaq-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.cdfaq-icon-wrap--large {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.cdfaq-icon-wrap--large svg {
  width: 28px;
  height: 28px;
}

.cdfaq-feature-card--link .cdfaq-icon-wrap {
  background: linear-gradient(145deg, rgba(56, 180, 255, .4), rgba(16, 72, 150, .6));
}

.cdfaq-feature-card--folder .cdfaq-icon-wrap {
  background: linear-gradient(145deg, rgba(88, 140, 255, .38), rgba(24, 48, 110, .58));
}

.cdfaq-positioning__card {
  padding: 24px 22px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(90deg, rgba(24, 64, 130, .55), rgba(12, 28, 58, .75));
  border: 1px solid rgba(110, 182, 255, .32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.cdfaq-positioning__line {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 900;
  line-height: 1.35;
}

.cdfaq-positioning__line:last-child {
  margin-bottom: 0;
  color: rgba(238, 244, 255, .82);
  font-weight: 700;
}

.cdfaq-accordion {
  display: grid;
  gap: 12px;
}

.cdfaq-accordion__item {
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(12, 28, 58, .9), rgba(8, 16, 32, .95));
  border: 1px solid rgba(100, 176, 255, .24);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
  overflow: hidden;
}

.cdfaq-accordion__item[open] {
  border-color: rgba(126, 200, 255, .45);
  box-shadow: 0 14px 36px rgba(36, 120, 255, .18);
}

.cdfaq-accordion__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}

.cdfaq-accordion__summary::-webkit-details-marker {
  display: none;
}

.cdfaq-accordion__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cdfaq-accordion__title {
  font-weight: 800;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.3;
}

.cdfaq-accordion__preview {
  color: rgba(238, 244, 255, .58);
  font-size: .86rem;
  line-height: 1.35;
}

.cdfaq-accordion__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #8ecfff;
  border-bottom: 2px solid #8ecfff;
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -4px;
}

.cdfaq-accordion__item[open] .cdfaq-accordion__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.cdfaq-accordion__panel {
  padding: 0 18px 18px 74px;
}

.cdfaq-accordion__content p {
  margin: 0 0 12px;
  color: rgba(238, 244, 255, .78);
  line-height: 1.55;
}

.cdfaq-accordion__content p:last-child {
  margin-bottom: 0;
}

.cdfaq-paths {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.cdfaq-path {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(100, 176, 255, .22);
  color: #b9dcff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  line-height: 1.4;
  overflow-x: auto;
  white-space: nowrap;
}

.cdfaq-list {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  color: rgba(238, 244, 255, .78);
}

.cdfaq-list li {
  margin-bottom: 6px;
}

.cdfaq-example {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(126, 200, 255, .35);
  background: rgba(0, 0, 0, .2);
}

.cdfaq-example img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cdfaq-example figcaption {
  margin-top: 8px;
  font-size: .85rem;
  color: rgba(238, 244, 255, .65);
}

.cdfaq-safety__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(18, 40, 84, .75), rgba(10, 20, 42, .9));
  border: 1px solid rgba(110, 182, 255, .3);
}

.cdfaq-safety__card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.12;
}

.cdfaq-safety__card p {
  margin: 0;
  color: rgba(238, 244, 255, .76);
  line-height: 1.55;
}

.cdfaq-final-cta__card {
  padding: 28px 24px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(160deg, rgba(22, 56, 120, .8), rgba(10, 24, 52, .92));
  border: 1px solid rgba(126, 200, 255, .38);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .32);
}

.cdfaq-final-cta__card h2 {
  margin: 0 0 10px;
}

.cdfaq-final-cta__card p {
  margin: 0 0 18px;
  color: rgba(238, 244, 255, .76);
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.cdfaq-footer {
  margin-top: 0;
}

@media (max-width:980px) {
  .cdfaq-hero__grid {
    grid-template-columns: 1fr;
  }

  .cdfaq-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdfaq-accordion__panel {
    padding-left: 18px;
  }
}

@media (max-width:640px) {
  .cdfaq-feature-grid {
    grid-template-columns: 1fr;
  }

  .cdfaq-hero {
    padding-top: 40px;
  }

  .cdfaq-accordion__summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cdfaq-accordion__chevron {
    display: none;
  }

  .cdfaq-safety__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width:850px) {
  .nav-links > .nav-faq-ctrl-deck {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav-ctrl-deck-utility {
    width: 100%;
    justify-content: center;
    text-align: center;
    row-gap: 0.35em;
  }

  .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.cdfaq-lang-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.cdfaq-lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(126, 200, 255, .28);
  text-decoration: none;
  color: rgba(238, 244, 255, .82);
  font-size: clamp(13px, .85vw, 15px);
  font-weight: 800;
  line-height: 1.25;
}

.cdfaq-lang-switcher a.active,
.cdfaq-lang-switcher a:hover {
  color: #fff;
  border-color: rgba(126, 200, 255, .5);
  background: rgba(126, 200, 255, .12);
}

.cdfaq-lang-switcher .lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

/* Ctrl Deck — V1.3 validated showcase image (inside cream #demo section) */
.cd-final #demo.cd-light .ctrl-deck-v13-showcase {
  width: 100%;
  max-width: min(980px, 100%);
  margin: clamp(40px, 5vw, 56px) auto clamp(8px, 2vw, 16px);
  padding: 0 clamp(12px, 2vw, 20px);
  overflow: visible;
}

.cd-final #demo.cd-light .ctrl-deck-v13-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 20, 60, .18);
}

@media (max-width:768px) {
  .cd-final #demo.cd-light .ctrl-deck-v13-showcase {
    margin: 32px auto 8px;
    padding: 0 10px;
  }

  .cd-final #demo.cd-light .ctrl-deck-v13-showcase img {
    border-radius: 12px;
  }
}

/* Ctrl Deck — V1.3 / V1.4 + V1.3→V1.5 band (before #languages on FR/EN product pages) */
.cd-final .cd-v13-visuals {
  scroll-margin-top: 92px;
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.cd-final .cd-v13-visuals__inner {
  max-width: min(980px, 100%);
  margin: 0 auto;
}

.cd-final .cd-v13-visuals .ctrl-deck-v13-showcase {
  width: 100%;
  max-width: 100%;
  margin: 0 auto clamp(24px, 3.5vw, 32px);
  padding: 0;
}

.cd-final .cd-v13-visuals .ctrl-deck-v13-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 20, 60, .18);
}

.cd-final .cd-v13-visuals .ctrl-deck-v13-v15-summary {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.cd-final .cd-v13-visuals .ctrl-deck-v13-v15-summary__link {
  display: block;
  line-height: 0;
  cursor: zoom-in;
  text-decoration: none;
}

.cd-final .cd-v13-visuals .ctrl-deck-v13-v15-summary__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 20, 60, .18);
}

.cd-final .cd-v13-visuals .ctrl-deck-v13-v15-summary__caption {
  margin: clamp(12px, 2vw, 16px) 0 0;
  font-size: clamp(.92rem, 1.6vw, 1rem);
  line-height: 1.55;
  color: #4a5568;
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}

@media (max-width:768px) {
  .cd-final .cd-v13-visuals {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .cd-final .cd-v13-visuals .ctrl-deck-v13-showcase img,
  .cd-final .cd-v13-visuals .ctrl-deck-v13-v15-summary__img {
    border-radius: 12px;
  }
}

/* Ctrl Deck V1.6 — Quick Start (neutral layout, large row videos) */
.cd-final #demo.cd-light .cd-quick-start-v16 {
  scroll-margin-top: 92px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.cd-final #demo.cd-light .cd-quick-start-v16__inner {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: inherit;
}

.cd-final #demo.cd-light .cd-quick-start-v16__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #111;
  border: 1px solid rgba(0, 0, 0, .12);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cd-final #demo.cd-light .cd-quick-start-v16__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.18;
  color: #111;
}

.cd-final #demo.cd-light .cd-quick-start-v16__intro,
.cd-final #demo.cd-light .cd-quick-start-v16__positioning {
  margin: 0 0 12px;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.62;
  color: var(--muted2);
  max-width: 72ch;
}

.cd-final #demo.cd-light .cd-quick-start-v16__positioning {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.cd-final #demo.cd-light .cd-quick-start-v16__overview {
  margin: clamp(20px, 3vw, 28px) 0 clamp(28px, 3.5vw, 36px);
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.cd-final #demo.cd-light .cd-quick-start-v16__overview-link {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(18, 86, 168, .22);
  box-shadow:
    0 18px 48px rgba(10, 61, 122, .12),
    0 0 0 1px rgba(18, 86, 168, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cd-final #demo.cd-light .cd-quick-start-v16__overview-link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 56px rgba(10, 61, 122, .16),
    0 0 0 1px rgba(18, 86, 168, .14);
}

.cd-final #demo.cd-light .cd-quick-start-v16__overview-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.cd-final #demo.cd-light .cd-quick-start-v16__overview-caption {
  margin: 14px auto 0;
  max-width: 72ch;
  color: #0a3d7a;
  font-size: .98rem;
  line-height: 1.55;
  font-weight: 600;
}

.cd-final #demo.cd-light .cd-quick-start-v16__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cd-final #demo.cd-light .cd-quick-start-v16__row {
  display: grid;
  grid-template-columns: minmax(120px, 21%) minmax(0, 37%) minmax(280px, 42%);
  gap: clamp(18px, 2.5vw, 28px);
  align-items: start;
  padding: clamp(24px, 3vw, 32px) 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.cd-final #demo.cd-light .cd-quick-start-v16__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cd-final #demo.cd-light .cd-quick-start-v16__row-title {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.cd-final #demo.cd-light .cd-quick-start-v16__row-body {
  font-size: clamp(.96rem, 1.2vw, 1.05rem);
  line-height: 1.62;
  color: var(--muted2);
}

.cd-final #demo.cd-light .cd-quick-start-v16__row-body p {
  margin: 0 0 10px;
}

.cd-final #demo.cd-light .cd-quick-start-v16__row-body p:last-child {
  margin-bottom: 0;
}

.cd-final #demo.cd-light .cd-quick-start-v16__row-body ul {
  margin: 0 0 10px;
  padding-left: 1.25em;
}

.cd-final #demo.cd-light .cd-quick-start-v16__row-body li {
  margin-bottom: 4px;
}

.cd-final #demo.cd-light .cd-quick-start-v16__media {
  width: 100%;
  max-width: none;
  margin-left: 0;
  min-width: 0;
}

.cd-final #demo.cd-light .cd-quick-start-v16__embed {
  width: 100%;
  border-radius: 14px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .12),
    0 0 0 1px rgba(0, 0, 0, .06);
}

.cd-final #demo.cd-light .cd-quick-start-v16__placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, .16);
  background: rgba(0, 0, 0, .03);
}

.cd-final #demo.cd-light .cd-quick-start-v16__placeholder span {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #60606b;
  text-align: center;
  padding: 0 12px;
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary {
  margin-top: 10px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(13, 99, 201, .35);
  overflow: hidden;
  background: transparent;
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  list-style: none;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  padding: 14px 14px;
  background: linear-gradient(135deg, #1d8cff 0%, #0d63c9 48%, #0a3d7a 100%);
  box-shadow: 0 8px 20px rgba(13, 99, 201, .28);
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary summary::-webkit-details-marker {
  display: none;
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary summary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .92);
  outline-offset: 2px;
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary[open] {
  border-color: rgba(0, 0, 0, .08);
  background: #fff;
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary[open] summary {
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  box-shadow: none;
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary[open] summary::after {
  content: "−";
}

.cd-final #demo.cd-light .cd-quick-start-v16__video-summary p {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: .86rem;
  line-height: 1.5;
  color: #45454f;
  background: #fff;
}

.cd-download-launched {
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: calc(clamp(12px, 2vw, 20px) + 30px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  max-width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}

.cd-download-launched__card {
  pointer-events: auto;
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .16),
    0 0 0 1px rgba(255, 255, 255, .6) inset;
}

.cd-download-launched__title {
  margin: 0 0 6px;
  font-size: .95rem;
  font-weight: 800;
  color: #1f1f27;
}

.cd-download-launched__body {
  margin: 0 0 12px;
  font-size: .86rem;
  line-height: 1.45;
  color: #45454f;
  white-space: pre-line;
}

.cd-download-launched__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cd-download-launched__retry,
.cd-download-launched__close {
  appearance: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.cd-download-launched__retry {
  background: #1f1f27;
  color: #fff;
}

.cd-download-launched__retry:hover {
  background: #34343f;
}

.cd-download-launched__close {
  background: transparent;
  color: #45454f;
  border-color: rgba(0, 0, 0, .12);
}

.cd-download-launched__close:hover {
  background: rgba(0, 0, 0, .04);
}

@media (max-width:900px) {
  .cd-final #demo.cd-light .cd-quick-start-v16__row {
    grid-template-columns: 1fr;
  }

  .cd-final #demo.cd-light .cd-quick-start-v16__media {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width:768px) {
  .cd-final #demo.cd-light .cd-quick-start-v16 {
    padding: 0;
  }

  .cd-final #demo.cd-light .cd-quick-start-v16__inner {
    padding: 0;
  }
}

/* Ctrl Deck — V1.3 → V1.5 summary (legacy #demo placement for non-FR/EN locales) */
.cd-final #demo.cd-light .ctrl-deck-v13-v15-summary {
  width: 100%;
  max-width: min(980px, 100%);
  margin: clamp(24px, 3.5vw, 36px) auto clamp(8px, 2vw, 12px);
  padding: 0 clamp(12px, 2vw, 20px);
}

.cd-final #demo.cd-light .ctrl-deck-v13-v15-summary__link {
  display: block;
  line-height: 0;
  cursor: zoom-in;
  text-decoration: none;
}

.cd-final #demo.cd-light .ctrl-deck-v13-v15-summary__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 20, 60, .18);
}

.cd-final #demo.cd-light .ctrl-deck-v13-v15-summary__caption {
  margin: clamp(12px, 2vw, 16px) 0 0;
  font-size: clamp(.92rem, 1.6vw, 1rem);
  line-height: 1.55;
  color: #4a5568;
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}

@media (max-width:768px) {
  .cd-final #demo.cd-light .ctrl-deck-v13-v15-summary {
    margin: 20px auto 8px;
    padding: 0 10px;
  }

  .cd-final #demo.cd-light .ctrl-deck-v13-v15-summary__img {
    border-radius: 12px;
  }
}

/* Ctrl Deck — Developer actions explicit-intent infographic (#demo) */
.cd-final #demo.cd-light .ctrl-deck-dev-actions {
  width: 100%;
  max-width: min(980px, 100%);
  margin: clamp(20px, 3vw, 36px) auto clamp(28px, 4vw, 44px);
  padding: 0 clamp(12px, 2vw, 20px);
  overflow: hidden;
}

.cd-final #demo.cd-light .ctrl-deck-dev-actions__head {
  margin: 0 0 clamp(14px, 2.5vw, 22px);
  text-align: center;
}

.cd-final #demo.cd-light .ctrl-deck-dev-actions__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  font-weight: 900;
  color: #111;
}

.cd-final #demo.cd-light .ctrl-deck-dev-actions__lead {
  margin: 0 auto;
  max-width: 58rem;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
  font-weight: 650;
  color: rgba(17, 17, 17, .78);
}

.cd-final #demo.cd-light .ctrl-deck-dev-actions__figure {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 20, 60, .18);
}

@media (max-width:768px) {
  .cd-final #demo.cd-light .ctrl-deck-dev-actions {
    margin: 24px auto 32px;
    padding: 0 10px;
  }

  .cd-final #demo.cd-light .ctrl-deck-dev-actions__figure {
    border-radius: 12px;
  }
}

.cd-final #demo.cd-light .ctrl-deck-dev-actions__more {
  margin: 14px 0 0;
  font-size: .95rem;
}

.cd-final #demo.cd-light .ctrl-deck-dev-actions__more a {
  color: #0b5fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.cd-final #demo .cd-demo-visual-stack .cd-demo-figure figcaption strong {
  font-weight: 800;
  color: #111;
}

/* Ctrl Deck — V1.5 Workspaces video (#demo, below developer actions) */
.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video {
  width: 100%;
  max-width: min(980px, 100%);
  margin: clamp(44px, 6vw, 72px) auto clamp(32px, 5vw, 56px);
  padding: clamp(24px, 3.5vw, 40px) clamp(16px, 2.5vw, 28px) clamp(20px, 3vw, 32px);
  border-radius: clamp(18px, 2vw, 26px);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(17, 17, 17, .08);
  box-shadow: 0 20px 50px rgba(0, 20, 60, .1);
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__head {
  margin: 0 0 clamp(22px, 3vw, 32px);
  padding-top: clamp(8px, 1.5vw, 16px);
  text-align: center;
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 0.6vw, 6px);
  margin: 0 0 clamp(14px, 2vw, 20px);
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title-line {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title-highlight-line {
  display: block;
  line-height: 1.05;
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title-prefix {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #111;
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title-highlight {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #248fff;
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__subtitle {
  margin: 0 auto;
  max-width: 52rem;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
  color: rgba(17, 17, 17, .72);
}

.cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video .combox-youtube-embed {
  margin-top: clamp(4px, 1vw, 8px);
}

@media (max-width:768px) {
  .cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video {
    margin-top: 40px;
    margin-bottom: 36px;
    padding: 22px 12px 18px;
    border-radius: 14px;
  }

  .cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title-line {
    font-size: 22px;
  }

  .cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title-prefix,
  .cd-final #demo.cd-light .ctrl-deck-v15-workspaces-video__title-highlight {
    font-size: 32px;
  }
}

.cdfaq-safety__link {
  margin: 16px 0 0;
}

.cdfaq-safety__link a {
  color: #0b5fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

/* Ctrl Deck SEO landings — premium black / cream */
.cddev-landing {
  --cddev-ink: #0a0a0a;
  --cddev-cream: #f6f3ef;
  --cddev-cream-deep: #ebe4d8;
  --cddev-cream-warm: #f0ebe3;
  --cddev-warm: #d9d0c3;
  --cddev-brown: #6f5744;
  --cddev-muted: #4a4a55;
  background:
    radial-gradient(ellipse 120% 60% at 50% -8%, rgba(111, 87, 68, .09), transparent 58%),
    linear-gradient(180deg, var(--cddev-cream-deep) 0%, var(--cddev-cream) 14%, var(--cddev-cream) 100%);
  color: var(--cddev-ink);
}

.cddev-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse 90% 70% at 78% 18%, rgba(217, 208, 195, .1), transparent 55%),
    linear-gradient(155deg, #050505 0%, #14110e 36%, #221c17 68%, #342b22 100%);
  color: var(--cddev-cream);
}

.cddev-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
  gap: 32px;
  align-items: start;
}

.cddev-eyebrow,
.cddev-section__eyebrow {
  margin: 0 0 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cddev-warm);
}

.cddev-section__eyebrow {
  color: var(--cddev-brown);
}

.cddev-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cddev-lead {
  margin: 0 0 14px;
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  line-height: 1.65;
  color: rgba(246, 243, 239, .92);
  max-width: 62ch;
}

.cddev-lead--muted {
  color: rgba(217, 208, 195, .82);
  font-size: .98rem;
}

.cddev-hero__card {
  padding: 24px 22px;
  border-radius: 18px;
  background: rgba(246, 243, 239, .07);
  border: 1px solid rgba(217, 208, 195, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.cddev-hero__card-line {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cddev-cream);
}

.cddev-hero__card-line--accent {
  color: var(--cddev-warm);
  font-size: 1.2rem;
}

.cddev-section {
  padding: 52px 0;
}

.cddev-section--alt {
  background:
    linear-gradient(180deg, var(--cddev-cream-warm) 0%, var(--cddev-cream) 100%);
  border-block: 1px solid rgba(111, 87, 68, .08);
}

.cddev-landing .cddev-section:not(.cddev-section--alt):not(.cddev-cta) {
  background: linear-gradient(180deg, var(--cddev-cream) 0%, var(--cddev-cream-deep) 100%);
}

.cddev-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--cddev-ink);
}

.cddev-section__intro {
  margin: 0 0 18px;
  max-width: 68ch;
  line-height: 1.65;
  color: var(--cddev-muted);
}

.cddev-note {
  margin: 0 0 18px;
  max-width: 68ch;
  line-height: 1.65;
  padding: 16px 18px;
  border-left: 3px solid var(--cddev-brown);
  background: linear-gradient(90deg, var(--cddev-cream-deep) 0%, var(--cddev-cream-warm) 100%);
  border-radius: 0 12px 12px 0;
  color: var(--cddev-ink);
  box-shadow: inset 0 0 0 1px rgba(111, 87, 68, .1);
}

.cddev-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
  max-width: 72ch;
}

.cddev-list--grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: disc;
}

.cddev-landing .cddev-list li {
  color: var(--cddev-muted);
}

.cddev-list--neg li {
  color: var(--cddev-muted);
}

.cddev-landing .cddev-steps li {
  color: var(--cddev-muted);
}

.cddev-steps {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  display: grid;
  gap: 12px;
  max-width: 68ch;
}

.cddev-quote {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, #050505 0%, #1a1510 100%);
  border: 1px solid rgba(217, 208, 195, .14);
  color: var(--cddev-cream);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 600;
}

.cddev-figure {
  margin: 0;
}

.cddev-figure img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .14);
}

.cddev-use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.cddev-use-cases article {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff 0%, var(--cddev-cream-warm) 100%);
  border: 1px solid rgba(111, 87, 68, .12);
  box-shadow: 0 12px 32px rgba(10, 10, 10, .06);
}

.cddev-use-cases h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--cddev-ink);
}

.cddev-use-cases p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--cddev-muted);
}

.cddev-cta {
  padding-bottom: 64px;
}

.cddev-cta__card {
  padding: 28px 24px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(217, 208, 195, .08), transparent 55%),
    linear-gradient(145deg, #050505 0%, #14110e 52%, #2a231c 100%);
  color: var(--cddev-cream);
  border: 1px solid rgba(217, 208, 195, .14);
  box-shadow: 0 28px 64px rgba(5, 5, 5, .32);
}

.cddev-cta__card h2 {
  margin: 0 0 10px;
  color: var(--cddev-cream);
}

.cddev-cta__card p {
  margin: 0 0 20px;
  max-width: 62ch;
  line-height: 1.6;
  color: rgba(246, 243, 239, .86);
}

.cddev-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.cddev-store-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 20px 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  box-shadow: 0 10px 28px rgba(5, 5, 5, .18);
}

.cddev-store-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.cddev-store-cta--on-dark {
  background: var(--cddev-cream);
  color: var(--cddev-ink);
  border: 1px solid rgba(217, 208, 195, .55);
}

.cddev-store-cta--on-light {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1510 100%);
  color: var(--cddev-cream);
  border: 1px solid rgba(217, 208, 195, .2);
}

.cddev-store-cta__badge {
  display: block;
  width: auto;
  height: 40px;
  flex: 0 0 auto;
}

.cddev-store-cta__label {
  font-size: clamp(.84rem, 1.6vw, .95rem);
  max-width: 18ch;
}

.cddev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.cddev-landing a.cddev-btn--primary {
  background: var(--cddev-cream);
  color: var(--cddev-ink);
}

.cddev-landing a.cddev-btn--secondary {
  border: 1px solid rgba(217, 208, 195, .32);
  color: var(--cddev-cream);
  background: rgba(246, 243, 239, .08);
}

.cddev-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cddev-cta__links a {
  color: var(--cddev-warm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.cddev-footer {
  margin-top: 0;
}

@media (max-width: 768px) {
  .cddev-hero {
    padding: 40px 0 28px;
  }

  .cddev-hero__grid {
    grid-template-columns: 1fr;
  }

  .cddev-section {
    padding: 40px 0;
  }

  .cddev-list--grid {
    grid-template-columns: 1fr;
  }

  .cddev-store-cta {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .cddev-store-cta__label {
    max-width: none;
  }

  .cddev-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cddev-landing a.cddev-btn--secondary {
    text-align: center;
  }
}

/* Ctrl Deck download SEO landing (/fr/ctrl-deck/telecharger/) */
.cdtl-hero__card {
  padding: 24px 22px;
  border-radius: 18px;
  background: rgba(246, 243, 239, .07);
  border: 1px solid rgba(217, 208, 195, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.cdtl-hero__card-line {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cddev-cream);
}

.cdtl-hero__card-line--accent {
  color: var(--cddev-warm);
  font-size: 1.2rem;
}

.cdtl-channel {
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(111, 87, 68, .12);
  background: linear-gradient(165deg, #fff 0%, var(--cddev-cream-warm) 100%);
  box-shadow: 0 14px 40px rgba(10, 10, 10, .07);
}

.cdtl-channel--primary {
  border-color: rgba(111, 87, 68, .2);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(111, 87, 68, .06), transparent 60%),
    linear-gradient(165deg, #fff 0%, var(--cddev-cream) 55%, var(--cddev-cream-deep) 100%);
}

.cdtl-channel--secondary {
  background: linear-gradient(165deg, var(--cddev-cream-warm) 0%, var(--cddev-cream-deep) 100%);
}

.cdtl-channel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.cdtl-btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(111, 87, 68, .28);
  color: var(--cddev-ink);
  background: #fff;
  margin-top: 16px;
  box-shadow: 0 8px 22px rgba(10, 10, 10, .06);
}

.cddev-landing a.cdtl-btn--outline {
  color: var(--cddev-ink);
}

.cdtl-trial {
  max-width: 72ch;
}

.cdtl-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.cdtl-features article {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff 0%, var(--cddev-cream-warm) 100%);
  border: 1px solid rgba(111, 87, 68, .12);
  box-shadow: 0 10px 28px rgba(10, 10, 10, .05);
}

.cdtl-features h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--cddev-ink);
}

.cdtl-features p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--cddev-muted);
}

.cdtl-related {
  margin: 16px 0 0;
}

.cdtl-related a {
  color: var(--cddev-brown);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.cdtl-faq-mini {
  display: grid;
  gap: 10px;
  max-width: 72ch;
}

.cdtl-faq-mini details {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(111, 87, 68, .12);
  background: linear-gradient(165deg, #fff 0%, var(--cddev-cream-warm) 100%);
}

.cdtl-faq-mini summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cddev-ink);
}

.cdtl-faq-mini p {
  margin: 10px 0 0;
  line-height: 1.65;
  color: var(--cddev-muted);
}

/* Cream sections on cddev SEO landings — beat .cd-final global white/muted text */
.cd-final.cddev-landing .cddev-section:not(.cddev-hero):not(.cddev-cta) {
  color: var(--cddev-ink);
}

.cd-final.cddev-landing .cddev-section:not(.cddev-hero):not(.cddev-cta) p {
  color: #4a4a55;
}

.cd-final.cddev-landing .cddev-section:not(.cddev-hero):not(.cddev-cta) p.cddev-section__eyebrow {
  color: #6f5744;
}

.cd-final.cddev-landing .cddev-section:not(.cddev-hero):not(.cddev-cta) h2,
.cd-final.cddev-landing .cddev-section:not(.cddev-hero):not(.cddev-cta) h3,
.cd-final.cddev-landing .cdtl-features h3,
.cd-final.cddev-landing .cddev-use-cases h3,
.cd-final.cddev-landing .cdtl-faq-mini summary {
  color: #0a0a0a;
}

.cd-final.cddev-landing .cddev-section:not(.cddev-hero):not(.cddev-cta) li,
.cd-final.cddev-landing .cdtl-features p,
.cd-final.cddev-landing .cdtl-faq-mini p,
.cd-final.cddev-landing .cddev-use-cases p {
  color: #4a4a55;
}

.cd-final.cddev-landing .cdtl-related a,
.cd-final.cddev-landing .cddev-section:not(.cddev-hero):not(.cddev-cta) .cdtl-related a {
  color: #6f5744;
}

.cd-final #download:not(.cd-light) .cd-download-landing-link {
  margin: 14px 0 0;
  font-size: .95rem;
}

.cd-final #download:not(.cd-light) .cd-download-landing-link a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.cd-final #benefits .cd-shortcuts-landing-link {
  margin: 14px 0 0;
  font-size: .95rem;
}

.cd-final #benefits .cd-shortcuts-landing-link a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.cdfaq-accordion__related {
  margin: 14px 0 0;
}

.cdfaq-accordion__related a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .14em;
}

/* Developer Actions landings — 7-language switcher */
.cddev-lang-switcher {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  max-width: min(100%, 420px);
}

.cddev-lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 10px;
  border: 1px solid rgba(217, 208, 195, .24);
  text-decoration: none;
  color: rgba(246, 243, 239, .84);
  font-size: clamp(11px, .78vw, 13px);
  font-weight: 800;
  line-height: 1.2;
}

.cddev-lang-switcher a.active,
.cddev-lang-switcher a[aria-current="page"],
.cddev-lang-switcher a:hover {
  color: #fff;
  border-color: rgba(217, 208, 195, .48);
  background: rgba(246, 243, 239, .1);
}

.cddev-lang-switcher .lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.site-header .nav:has(.cddev-lang-switcher) {
  flex-wrap: wrap;
}

@media (min-width: 901px) {
  .site-header .nav:has(.cddev-lang-switcher) {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }

  .site-header .nav:has(.cddev-lang-switcher) .nav-links {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cddev-lang-switcher {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    max-width: none;
    gap: 4px;
  }

  .cddev-lang-switcher a {
    padding: 4px 6px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .site-header .nav:has(.cddev-lang-switcher) {
    align-items: flex-start;
    padding-block: 12px;
  }

  .cddev-lang-switcher {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    order: 3;
    row-gap: 8px;
  }
}

/* Homepage — Section A: official Microsoft Store + FAQ (light) */
.home-ctrl-official {
  background: #f3efe8;
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
  border-bottom: 1px solid rgba(26, 24, 22, .08);
}

.home-ctrl-official__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(26, 24, 22, .1);
  background: #fff;
}

.home-ctrl-official__badge-wrap .ms-store-badge__img {
  display: block;
  width: min(220px, 100%);
  height: auto;
}

.home-ctrl-official__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Homepage + Ctrl Deck page — third-party platform references (dark) */
.home-ctrl-platforms {
  background: linear-gradient(180deg, #121110 0%, #1a1816 100%);
  color: #f6f3ef;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.cd-final .home-ctrl-platforms {
  margin: 0;
}

.home-ctrl-platforms__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-ctrl-platforms__level {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(217, 208, 195, .16);
  order: 10;
}

.home-ctrl-platforms__level--reviews {
  order: 1;
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.home-ctrl-platforms__level--badges {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 20px;
  text-align: center;
}

.home-ctrl-platforms__level--badges .home-ctrl-platforms__level-title {
  flex: 0 0 100%;
  width: 100%;
}

.home-ctrl-platforms__level--badges .cd-proof-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 20px;
  margin-inline: auto;
  width: 100%;
}

.home-ctrl-platforms__level--listings {
  order: 3;
}

.home-ctrl-platforms__level--also {
  order: 4;
}

.home-ctrl-platforms__level-title {
  margin: 0 0 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d9d0c3;
}

.home-ctrl-platforms__level-title--reviews {
  color: #f6f3ef;
  font-size: .88rem;
}

.home-ctrl-platforms__reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-ctrl-platforms__review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 188px;
  border: 1px solid rgba(217, 208, 195, .32);
  border-radius: 16px;
  padding: 22px 20px 18px;
  background: rgba(246, 243, 239, .1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  text-align: center;
  width: 100%;
  min-width: 0;
}

.home-ctrl-platforms__review-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
}

.home-ctrl-platforms__review-logo-link,
.home-ctrl-platforms__review-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.home-ctrl-platforms__review-brand-link:hover .home-ctrl-platforms__review-brand {
  color: #fff;
}

.home-ctrl-platforms__review-brand {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
  color: #f6f3ef;
}

.home-ctrl-platforms__review-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.home-ctrl-platforms__review-brand--fallback {
  display: none;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
  color: #f6f3ef;
}

.home-ctrl-platforms__review-brand--fallback-softpedia {
  padding: 10px 16px;
  border-radius: 8px;
  background: #1a3f8b;
  color: #fff;
  letter-spacing: .08em;
}

.home-ctrl-platforms__review-brand--fallback-sooftware {
  font-size: 1.2rem;
  letter-spacing: .02em;
}

.home-ctrl-platforms__review-logo-link.is-logo-fallback .home-ctrl-platforms__review-logo,
.home-ctrl-platforms__review-logo-link.is-logo-fallback img {
  display: none !important;
}

.home-ctrl-platforms__review-logo-link.is-logo-fallback .home-ctrl-platforms__review-brand--fallback,
.home-ctrl-platforms__review-brand-link.is-logo-fallback .home-ctrl-platforms__review-brand--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-ctrl-platforms__review-logo--softpedia {
  max-width: 220px;
  max-height: 52px;
}

.home-ctrl-platforms__review-logo--sooftware {
  max-width: 180px;
  max-height: 44px;
}

.home-ctrl-platforms__review-rating {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: #f6f3ef;
}

.home-ctrl-platforms__review-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 4px;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #d9d0c3;
  text-decoration: underline;
  text-underline-offset: 3px;
  max-width: 100%;
}

.home-ctrl-platforms__review-link:hover {
  color: #f6f3ef;
}

.home-ctrl-platforms__listing-links,
.home-ctrl-platforms__text-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-ctrl-platforms__listing-links li,
.home-ctrl-platforms__text-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-ctrl-platforms__listing-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217, 208, 195, .28);
  background: rgba(246, 243, 239, .07);
  color: #f6f3ef;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.home-ctrl-platforms__listing-link:hover {
  border-color: rgba(217, 208, 195, .45);
  background: rgba(246, 243, 239, .12);
}

.home-ctrl-platforms__level--also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.home-ctrl-platforms__also-label {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(246, 243, 239, .78);
}

.home-ctrl-platforms__text-link {
  color: rgba(246, 243, 239, .84);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-ctrl-platforms__text-link:hover {
  color: #f6f3ef;
}

.home-ctrl-v15 {
  background: linear-gradient(180deg, #1a1816 0%, #121110 100%);
  color: #f6f3ef;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.home-ctrl-v15__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(217, 208, 195, .35);
  background: rgba(246, 243, 239, .08);
  letter-spacing: .04em;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.home-ctrl-v15__lead {
  margin-top: 14px;
  max-width: 68ch;
  line-height: 1.6;
  color: rgba(246, 243, 239, .9);
}

.home-ctrl-v15__panel-access {
  margin: 12px 0 0;
  max-width: 68ch;
  line-height: 1.6;
  font-weight: 600;
  color: #f6f3ef;
}

.home-ctrl-v15__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.home-ctrl-v15__card {
  border: 1px solid rgba(217, 208, 195, .2);
  border-radius: 16px;
  padding: 20px;
  background: rgba(246, 243, 239, .04);
}

.home-ctrl-v15__card--workspaces {
  border-color: rgba(232, 39, 74, .35);
  background: rgba(232, 39, 74, .08);
}

.home-ctrl-v15__card--workspaces h3 {
  color: #fff;
}

.home-ctrl-v15__card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #f6f3ef;
}

.home-ctrl-v15__list {
  margin: 14px 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
  color: rgba(246, 243, 239, .86);
  line-height: 1.5;
}

.home-ctrl-v15__note {
  margin: 18px 0 0;
  max-width: 72ch;
  line-height: 1.6;
  color: rgba(246, 243, 239, .84);
  font-size: .96rem;
}

.home-ctrl-v15__note--technical {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(217, 208, 195, .22);
  background: rgba(246, 243, 239, .05);
}

.home-ctrl-v15__note--workspace {
  font-weight: 600;
  color: rgba(246, 243, 239, .92);
}

.home-ctrl-v15__note--coming {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(217, 208, 195, .35);
  background: rgba(246, 243, 239, .04);
  color: rgba(246, 243, 239, .76);
  font-size: .92rem;
  font-style: italic;
}

.home-ctrl-v15__contents {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 208, 195, .18);
}

.home-ctrl-v15__contents h3 {
  margin: 0;
  font-size: 1rem;
  color: rgba(246, 243, 239, .92);
}

.home-ctrl-v15__tags {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-ctrl-v15__tags li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(217, 208, 195, .24);
  background: rgba(246, 243, 239, .06);
  font-size: .88rem;
  color: rgba(246, 243, 239, .88);
}

/* Homepage — contrast: dark text on cream/paper, cream text on dark */
.home-ctrl-official,
.home-ctrl-value,
.home-combox-publisher {
  color: #1a1816;
}

.home-ctrl-official .section-head h2,
.home-ctrl-value .section-head h2,
.home-combox-publisher .section-head h2 {
  color: #1a1816;
}

.home-ctrl-official .section-head p,
.home-ctrl-value .section-head p,
.home-combox-publisher .section-head p,
.home-ctrl-value__list li,
.home-combox-publisher__list li {
  color: #4a4540;
}

.home-ctrl-official .eyebrow,
.home-ctrl-value .eyebrow,
.home-combox-publisher .eyebrow {
  color: #6f5744;
}

.home-ctrl-platforms,
.home-ctrl-v15 {
  color: #f6f3ef;
}

.home-ctrl-platforms .section-head h2,
.home-ctrl-platforms .section-head p,
.home-ctrl-v15 .section-head h2 {
  color: #f6f3ef;
}

.home-ctrl-platforms .section-head p {
  color: rgba(246, 243, 239, .86);
}

.home-ctrl-platforms .eyebrow,
.home-ctrl-v15 .eyebrow.home-ctrl-v15__badge {
  color: #d9d0c3;
}


.home-ctrl-value__list,
.home-combox-publisher__list,
.home-ai-accelerator__list {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
}

.home-ctrl-value__note,
.home-combox-publisher__future {
  margin-top: 18px;
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(26, 24, 22, .78);
}

.home-combox-publisher {
  background: #f3efe8;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.home-combox-publisher__future {
  color: rgba(26, 24, 22, .72);
}

/* Homepage — rounded cream panel: publisher + historical expertises */
.home-combox-publisher.section.light {
  margin-top: clamp(16px, 3vw, 28px);
  margin-inline: clamp(16px, 2.5vw, 28px);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) 0 0;
  background: #f3efe8;
  overflow: hidden;
}

.home-legacy-expertises.section.light {
  margin-inline: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-radius: 0 0 clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px);
  background: #f3efe8;
  overflow: hidden;
  opacity: .96;
}

/* Homepage — rounded cream panel: software trio before footer */
.home-software-apps.section.light {
  margin-top: clamp(16px, 3vw, 28px);
  margin-inline: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-top: clamp(2.5rem, 5vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.25rem);
  border-radius: clamp(24px, 3vw, 32px);
  background: #f3efe8;
  overflow: hidden;
}

.home-legacy-expertises .section-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.home-ai-accelerator {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 18px;
  border: 1px solid rgba(217, 208, 195, .28);
  background: rgba(18, 17, 16, .42);
}

.home-ai-accelerator__title {
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.2;
  color: #f6f3ef;
}

.home-ai-accelerator__lead {
  margin: 12px 0 0;
  max-width: 62ch;
  line-height: 1.55;
  color: rgba(246, 243, 239, .86);
}

@media (max-width: 900px) {
  .home-ctrl-v15__grid {
    grid-template-columns: 1fr;
  }

  .home-ctrl-official__panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .home-ctrl-platforms {
    padding: 2.25rem 0;
  }

  .home-ctrl-platforms .container {
    width: min(1120px, calc(100% - 24px));
  }

  .home-ctrl-platforms__level {
    margin-top: 22px;
    padding-top: 18px;
  }

  .home-ctrl-platforms__level--reviews {
    margin-top: 8px;
    padding-top: 0;
  }

  .home-ctrl-platforms__reviews {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-ctrl-platforms__review-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .home-ctrl-platforms__review-logo-wrap {
    min-height: 52px;
  }

  .home-ctrl-platforms__review-logo--softpedia {
    max-width: min(220px, 100%);
    max-height: 52px;
  }

  .home-ctrl-platforms__review-logo--sooftware {
    max-width: min(180px, 100%);
    max-height: 44px;
  }

  .home-ctrl-platforms__review-rating {
    font-size: 1.45rem;
  }

  .home-ctrl-platforms__review-link {
    font-size: .9rem;
    padding: 0 4px;
  }

  .home-ctrl-platforms .cd-proof-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 16px;
  }

  .home-ctrl-platforms .cd-producthunt-badge,
  .home-ctrl-platforms .cd-saashub-badge,
  .home-ctrl-platforms .cd-updatestar-badge,
  .home-ctrl-platforms .cd-backlinklog-badge,
  .home-ctrl-platforms .cd-uptodown-badge {
    width: auto;
    max-width: none;
    overflow: visible;
  }

  .home-ctrl-platforms .cd-producthunt-badge a,
  .home-ctrl-platforms .cd-saashub-badge a,
  .home-ctrl-platforms .cd-updatestar-badge a,
  .home-ctrl-platforms .cd-backlinklog-badge a,
  .home-ctrl-platforms .cd-uptodown-badge a {
    width: auto;
    justify-content: center;
  }

  .home-ctrl-platforms__listing-links {
    gap: 8px;
  }

  .home-ctrl-platforms__listing-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .home-ctrl-platforms__level--also {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .home-ctrl-platforms__text-links {
    gap: 8px 14px;
  }
}

/* Ctrl Deck V1.6 future evolutions — product page */
.cd-final .cd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Ctrl Deck payment trust block — mockup layout */
.cd-final .cd-payment-trust {
  background: #f5f0e8;
  padding: clamp(56px, 7vw, 88px) 0;
}

.cd-final .cd-payment-trust__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(480px, 1.45fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.cd-final .cd-payment-trust__copy h2 {
  margin: 0 0 20px;
  color: #111;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
}

.cd-final .cd-payment-trust__lead,
.cd-final .cd-payment-trust__secondary,
.cd-final .cd-payment-trust__reassurance {
  margin: 0 0 14px;
  color: #5c5c5c;
  font-size: 1rem;
  line-height: 1.6;
}

.cd-final .cd-payment-trust__reassurance {
  margin-bottom: 0;
}

.cd-final .cd-payment-trust__card {
  display: block;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .07);
  box-sizing: border-box;
  width: min(664px, 100%);
  padding: 28px 32px 24px;
  color: inherit;
  text-decoration: none;
  justify-self: end;
}

.cd-final .cd-payment-trust__visual-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.cd-final .cd-payment-trust__divider {
  height: 1px;
  margin: 20px 0 16px;
  background: #ece8e0;
}

.cd-final .cd-payment-trust__secure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cd-final .cd-payment-trust__lock {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #b8a88a;
}

.cd-final .cd-payment-trust__secure-copy p {
  margin: 0 0 4px;
  color: #7a7a7a;
  font-size: .88rem;
  line-height: 1.5;
}

.cd-final .cd-payment-trust__secure-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .cd-final .cd-payment-trust__grid {
    grid-template-columns: 1fr;
  }

  .cd-final .cd-payment-trust__card {
    justify-self: center;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .cd-final .cd-payment-trust__card {
    padding: 20px 20px 18px;
  }
}

/* COM'BOX Facebook — global nav + footer */
.site-header .nav:has(.nav-utilities) {
  flex-wrap: nowrap;
  gap: 20px;
}

.site-header .nav:has(.nav-utilities) .nav-links {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-utilities {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.combox-facebook-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1877F2;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(24, 119, 242, .34);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.combox-facebook-nav:hover {
  background: #166FE5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, .42);
}

.combox-facebook-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .92);
  outline-offset: 2px;
}

.combox-social-icon {
  display: block;
}

.combox-social-icon--nav {
  width: 15px;
  height: 15px;
}

.combox-social-icon--footer {
  width: 18px;
  height: 18px;
}

.footer-grid:has(.footer-social-panel) {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px 36px;
}

.footer-social-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 168px;
  max-width: 220px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 119, 242, .34);
  background: linear-gradient(180deg, rgba(24, 119, 242, .14), rgba(24, 119, 242, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.footer-social-panel__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

.footer-social-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  transition: opacity .15s ease;
}

.footer-social-panel__cta:hover {
  opacity: .92;
}

.footer-social-panel__cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 2px;
  border-radius: 8px;
}

.footer-social-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1877F2;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(24, 119, 242, .35);
}

.footer-social-panel__text {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .94);
}

@media (max-width: 850px) {
  .site-header .nav:has(.nav-utilities) {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header .nav:has(.nav-utilities) .nav-links {
    justify-content: flex-start;
  }

  .nav-utilities {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    padding-top: 2px;
  }

  .combox-facebook-nav {
    width: 32px;
    height: 32px;
  }

  .combox-social-icon--nav {
    width: 16px;
    height: 16px;
  }

  .footer-grid:has(.footer-social-panel) {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: start;
  }

  .footer-social-panel {
    justify-self: stretch;
    max-width: 240px;
    min-height: 60px;
  }
}

/* =====================================================================
   COMBOX HOMEPAGE EFFECTS — PHASE 1
   Public FR ("/") + EN ("/en/") homepages only. Every rule below is gated
   by html[data-combox-home-effects="ready"], a marker set at runtime by
   /assets/js/combox-home-effects.js only after it confirms the real
   homepage Hero DOM is present — so none of this can ever affect Ctrl Deck
   product pages, FAQ pages, or any other route, even if the selectors
   below (e.g. #ctrl-deck-v17-overview) also exist elsewhere.
   Do not add rules here without the same guard.
   ===================================================================== */

/* ---------- Hero — red perimeter trace (desktop) ---------- */
html[data-combox-home-effects="ready"] .hero .home-header-visual.chfx-trace-host--hero {
  isolation: isolate;
}

html[data-combox-home-effects="ready"] .hero .home-header-visual.chfx-trace-host--hero > img {
  position: relative;
  z-index: 1;
}

html[data-combox-home-effects="ready"] .chfx-trace {
  --chfx-trace-length: 1000;
  position: absolute;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

/* Hero desktop richness — static fallbacks for the dynamic hotspot vars;
   real per-instance values are set inline by combox-home-effects.js once
   the trace is measured (inline style always wins the cascade). */
html[data-combox-home-effects="ready"] .chfx-trace--hero {
  --chfx-head-length: calc(var(--chfx-trace-length, 1000) * 0.11);
  --chfx-peak-length: calc(var(--chfx-trace-length, 1000) * 0.12);
  --chfx-hotspot-length: calc(var(--chfx-trace-length, 1000) * 0.028);
  --chfx-hotspot-top-start: 0;
  --chfx-hotspot-right-start: 0;
  --chfx-hotspot-left-start: 0;
  --chfx-hotspot-bl-start: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-active,
html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating,
html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete {
  opacity: 1;
}

/* V1.7 trace — same active/animating/complete opacity gate as Hero.
   Without this rule the trace stays at opacity:0 and is never visible. */
html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-active,
html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-animating,
html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-complete {
  opacity: 1;
}

html[data-combox-home-effects="ready"] .chfx-trace__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

html[data-combox-home-effects="ready"] .chfx-trace__stroke {
  fill: none;
  shape-rendering: geometricPrecision;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-outer,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-near,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-accent,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-boost,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-midright,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-outer,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-near,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-tr,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-left,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-bl,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-br,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--core {
  stroke-linecap: butt;
  stroke-linejoin: round;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-outer,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-near,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-accent,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-boost,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--core {
  stroke-dasharray: var(--chfx-trace-length, 1000);
  stroke-dashoffset: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-outer {
  stroke-width: 17px;
  opacity: 0.34;
  filter: blur(10px);
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-near {
  stroke-width: 8px;
  opacity: 0.48;
  filter: blur(4px);
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-accent {
  stroke-width: 12px;
  opacity: 0.4;
  filter: blur(5.5px);
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-boost {
  stroke-width: 10px;
  opacity: 0.44;
  filter: blur(4px);
}

/* Desktop-only decorative hotspot/head layers: undrawn + invisible by
   default (0-length dasharray, opacity 0). They only ever appear via the
   .is-chfx-animating keyframes below (a brief localized flash as the
   traveling head/peak segment crosses their landmark) or the small residual
   glow set by .is-chfx-complete. Mobile neutralizes them unconditionally
   (see @media max-width 899.98px) so a missing/failed animation can never
   leave a stray mark — the core 3-layer trace above remains fully correct
   on its own regardless of these optional layers. */
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-midright {
  stroke-width: 7px;
  opacity: 0;
  filter: blur(4px);
  stroke-linecap: round;
  stroke-dasharray: 0 var(--chfx-trace-length, 1000);
  stroke-dashoffset: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-tr,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-left {
  stroke-width: 7px;
  opacity: 0;
  visibility: hidden;
  filter: blur(4px);
  stroke-linecap: round;
  stroke-dasharray: 0 var(--chfx-trace-length, 1000);
  stroke-dashoffset: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-bl {
  stroke-width: 6px;
  opacity: 0;
  visibility: hidden;
  filter: blur(3.5px);
  stroke-linecap: round;
  stroke-dasharray: 0 var(--chfx-trace-length, 1000);
  stroke-dashoffset: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-br {
  stroke-width: 7px;
  opacity: 0;
  visibility: hidden;
  filter: blur(3px);
  stroke-dasharray: 0 var(--chfx-trace-length, 1000);
  stroke-dashoffset: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-outer,
html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-near {
  opacity: 0;
  stroke-dasharray: 0 var(--chfx-trace-length, 1000);
  stroke-dashoffset: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-outer {
  stroke-width: 14px;
  filter: blur(7px);
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-near {
  stroke-width: 5px;
  filter: blur(2px);
}

html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--core {
  stroke: #d41e45;
  stroke-width: 2.2px;
  opacity: 0.92;
  stroke-linecap: round;
}

@media (min-width: 900px) {
  html[data-combox-home-effects="ready"] .chfx-trace--hero {
    --chfx-hero-trace-duration: 5.8s;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-near,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-accent,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-boost,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--core {
    animation: chfx-trace-draw var(--chfx-hero-trace-duration) linear forwards;
  }

  /* Traveling "head" comet (outer+near) sweeps the full perimeter once,
     visible almost throughout (broad static fade window). glow-midright and
     the three glow-peak-* layers reuse the same style of traveling dash but
     only reveal themselves (via a per-instance JS-generated fade keyframe,
     see applyHeroTracePeakKeyframes) while the segment crosses one specific
     measured landmark — a brief localized flash, not a permanent layer. */
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-midright {
    --chfx-peak-length: var(--chfx-hotspot-length);
    animation:
      chfx-hero-trace-head-glow-dash var(--chfx-hero-trace-duration) linear forwards,
      chfx-hero-trace-midright-fade var(--chfx-hero-trace-duration) linear forwards;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-peak-tr {
    --chfx-peak-length: var(--chfx-hotspot-length);
    animation:
      chfx-hero-trace-peak-glow-dash var(--chfx-hero-trace-duration) linear forwards,
      chfx-hero-peak-tr-fade var(--chfx-hero-trace-duration) linear forwards;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-peak-left {
    --chfx-peak-length: var(--chfx-hotspot-length);
    animation:
      chfx-hero-trace-peak-glow-dash var(--chfx-hero-trace-duration) linear forwards,
      chfx-hero-peak-left-fade var(--chfx-hero-trace-duration) linear forwards;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-peak-bl {
    --chfx-peak-length: var(--chfx-hotspot-length);
    animation:
      chfx-hero-trace-peak-glow-dash var(--chfx-hero-trace-duration) linear forwards,
      chfx-hero-peak-bl-fade var(--chfx-hero-trace-duration) linear forwards;
  }

  /* glow-peak-br: defined layer (gradient + DOM stroke) kept inert to match
     the current final laboratory decision — never animated, never shown. */
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-peak-br {
    animation: none;
    opacity: 0;
    visibility: hidden;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-head-outer {
    animation:
      chfx-hero-trace-head-glow-dash var(--chfx-hero-trace-duration) linear forwards,
      chfx-hero-trace-head-glow-fade-outer var(--chfx-hero-trace-duration) linear forwards;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-head-near {
    animation:
      chfx-hero-trace-head-glow-dash var(--chfx-hero-trace-duration) linear forwards,
      chfx-hero-trace-head-glow-fade-near var(--chfx-hero-trace-duration) linear forwards;
  }

  /* Desktop-only settle: dim slightly once the entrance sweep completes.
     Scoped to this media query only — mobile keeps its own lighter resting
     opacity (set unconditionally further below) for both the animating and
     complete states, with no separate dimming step. */
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-outer {
    opacity: 0.31;
    transition: opacity 0.85s ease-out, filter 0.85s ease-out;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-near {
    opacity: 0.44;
    transition: opacity 0.85s ease-out, filter 0.85s ease-out;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--core {
    opacity: 0.84;
    transition: opacity 0.85s ease-out;
  }

  /* Resting state is reached by CSS "animation ... forwards" fill alone —
     removing .is-chfx-animating (whether or not JS ever adds
     .is-chfx-complete) already leaves every layer below at these same
     values via its own keyframe's 100% frame, so a missed/dropped
     "animationend" event never leaves the Hero incomplete or invisible.
     These rules only add the cosmetic cross-fade + final stroke/dashoffset
     bookkeeping once JS confirms completion. */
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-near,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-accent,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-boost,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-br,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--core {
    animation: none;
    stroke-dasharray: var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
    transition: opacity 0.85s ease-out, filter 0.85s ease-out, stroke-width 0.85s ease-out;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-accent {
    opacity: 0.37;
    filter: blur(5.5px);
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-boost {
    opacity: 0.4;
    filter: blur(4px);
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-br {
    opacity: 0;
    visibility: hidden;
    filter: none;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-head-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-head-near {
    animation: none;
    opacity: 0;
    stroke-dasharray: 0 var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
    filter: none;
    transition: opacity 0.35s ease;
  }

  /* Small residual hotspot glow at rest, parked at its measured landmark via
     the hotspot-start custom properties set by applyHeroHotspotVars(). */
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-midright,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-tr,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-left,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-bl {
    animation: none;
    stroke: #d41e45;
    stroke-dasharray: var(--chfx-hotspot-length) calc(var(--chfx-trace-length, 1000) - var(--chfx-hotspot-length));
    stroke-linecap: round;
    stroke-width: 7px;
    visibility: visible;
    filter: blur(4px);
    transition: opacity 1.1s ease-out, filter 1.1s ease-out;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-midright {
    stroke: url(#chfx-hero-glow-midright);
    stroke-dashoffset: calc(var(--chfx-trace-length, 1000) - var(--chfx-hotspot-right-start) - var(--chfx-hotspot-length));
    opacity: 0.16;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-tr {
    stroke: url(#chfx-hero-glow-peak-tr);
    stroke-dashoffset: calc(var(--chfx-trace-length, 1000) - var(--chfx-hotspot-top-start) - var(--chfx-hotspot-length));
    opacity: 0.15;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-left {
    stroke: url(#chfx-hero-glow-peak-left);
    stroke-dashoffset: calc(var(--chfx-trace-length, 1000) - var(--chfx-hotspot-left-start) - var(--chfx-hotspot-length));
    opacity: 0.14;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-peak-bl {
    stroke: url(#chfx-hero-glow-peak-bl);
    stroke-width: 6px;
    stroke-dashoffset: calc(var(--chfx-trace-length, 1000) - var(--chfx-hotspot-bl-start) - var(--chfx-hotspot-length));
    opacity: 0.11;
    filter: blur(3.5px);
  }
}

@keyframes chfx-trace-draw {
  0% {
    stroke-dasharray: 0 var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dasharray: var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
  }
}

@keyframes chfx-hero-trace-head-glow-dash {
  0% {
    stroke-dasharray: 0 var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
  }

  4% {
    stroke-dasharray: var(--chfx-head-length) calc(var(--chfx-trace-length, 1000) - var(--chfx-head-length));
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dasharray: var(--chfx-head-length) calc(var(--chfx-trace-length, 1000) - var(--chfx-head-length));
    stroke-dashoffset: calc(var(--chfx-trace-length, 1000) - var(--chfx-head-length));
  }
}

@keyframes chfx-hero-trace-head-glow-fade-outer {
  0%,
  3% {
    opacity: 0;
  }

  9%,
  96% {
    opacity: 0.38;
  }

  100% {
    opacity: 0;
  }
}

@keyframes chfx-hero-trace-head-glow-fade-near {
  0%,
  3% {
    opacity: 0;
  }

  9%,
  96% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

/* Peak fade keyframes (chfx-hero-peak-tr-fade / -left-fade / -bl-fade) and
   the midright fade (chfx-hero-trace-midright-fade) are generated at
   runtime in combox-home-effects.js from measured path landmarks — see
   applyHeroTracePeakKeyframes(). Only the shared dash mechanics live here. */
@keyframes chfx-hero-trace-peak-glow-dash {
  0% {
    stroke-dasharray: 0 var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
  }

  4% {
    stroke-dasharray: var(--chfx-peak-length) calc(var(--chfx-trace-length, 1000) - var(--chfx-peak-length));
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dasharray: var(--chfx-peak-length) calc(var(--chfx-trace-length, 1000) - var(--chfx-peak-length));
    stroke-dashoffset: calc(var(--chfx-trace-length, 1000) - var(--chfx-peak-length));
  }
}

/* ---------- Ctrl Deck V1.7 — red perimeter trace (homepage only, restrained) ---------- */
html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__zoom-trigger.chfx-trace-host--v17 {
  isolation: isolate;
  overflow: visible;
}

html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__figure {
  overflow: visible;
}

html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--glow-outer,
html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--glow-near,
html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--core {
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-dasharray: var(--chfx-trace-length, 1000);
  stroke-dashoffset: 0;
}

html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--glow-outer {
  stroke-width: 14px;
  opacity: 0.26;
  filter: blur(8px);
}

html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--glow-near {
  stroke-width: 6px;
  opacity: 0.36;
  filter: blur(3.5px);
}

html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--core {
  stroke: #d41e45;
  stroke-width: 2px;
  opacity: 0.78;
  stroke-linecap: round;
}

@media (min-width: 900px) {
  html[data-combox-home-effects="ready"] .chfx-trace--v17 {
    --chfx-v17-trace-duration: 5.6s;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-animating .chfx-trace__stroke--glow-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-animating .chfx-trace__stroke--glow-near,
  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-animating .chfx-trace__stroke--core {
    animation: chfx-trace-draw var(--chfx-v17-trace-duration) linear forwards;
  }

  /* Desktop-only settle (see Hero comment above for rationale). */
  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-complete .chfx-trace__stroke--glow-outer {
    opacity: 0.24;
    transition: opacity 0.85s ease-out;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-complete .chfx-trace__stroke--glow-near {
    opacity: 0.33;
    transition: opacity 0.85s ease-out;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-complete .chfx-trace__stroke--core {
    opacity: 0.66;
    transition: opacity 0.85s ease-out;
  }
}

/* ---------- V1.7 magnifier ring — homepage only, red + visibly thick ---------- */
html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__zoom-trigger .ctrl-deck-v17-overview__zoom-hint,
html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__zoom-trigger .ctrl-deck-v17-overview__zoom-badge {
  border: 3px solid rgba(212, 30, 69, 0.88) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(212, 30, 69, 0.35),
    0 0 16px rgba(232, 39, 74, 0.42) !important;
}

html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__zoom-trigger:focus-visible .ctrl-deck-v17-overview__zoom-hint {
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.48),
    0 0 0 2px rgba(212, 30, 69, 0.95),
    0 0 20px rgba(232, 39, 74, 0.45) !important;
}

/* ---------- V1.7 explanatory copy — homepage only, emphasis hierarchy ---------- */
html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__body {
  position: relative;
  isolation: isolate;
  font-family: Inter, Arial, system-ui, sans-serif;
  font-weight: 300;
  font-synthesis: none;
}

html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__body::before {
  content: "";
  position: absolute;
  inset: -0.15rem -0.85rem -0.35rem;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(2, 10, 28, 0.92) 0%,
    rgba(3, 18, 48, 0.89) 14%,
    rgba(4, 24, 62, 0.84) 28%,
    rgba(5, 32, 74, 0.78) 42%,
    rgba(8, 46, 98, 0.58) 58%,
    rgba(8, 46, 98, 0.34) 72%,
    rgba(8, 46, 98, 0.1) 86%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__body > * {
  position: relative;
  z-index: 1;
}

html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__body p:not(.ctrl-deck-v17-overview__closing):not(.chfx-v17-emphasis--paragraph),
html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__body p:not(.ctrl-deck-v17-overview__closing) :not(.chfx-v17-emphasis) {
  font-weight: 300 !important;
  font-synthesis: none;
}

html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__body .chfx-v17-emphasis,
html[data-combox-home-effects="ready"] #ctrl-deck-v17-overview .ctrl-deck-v17-overview__body .chfx-v17-emphasis--paragraph {
  font-weight: 900 !important;
  font-synthesis: weight;
  color: #7ec8ff;
}

/* ---------- ECG section separators — homepage only ---------- */
html[data-combox-home-effects="ready"] .chfx-separator {
  position: relative;
  min-height: 48px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  z-index: 12;
  pointer-events: none;
  overflow: visible;
  isolation: isolate;
  box-sizing: content-box;
}

html[data-combox-home-effects="ready"] .chfx-separator__zone {
  position: relative;
  width: 100%;
  height: 48px;
}

html[data-combox-home-effects="ready"] .chfx-separator__viewport {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100vw;
  max-width: 100vw;
  height: 48px;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}

html[data-combox-home-effects="ready"] .chfx-separator__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

html[data-combox-home-effects="ready"] .chfx-separator__wave-static,
html[data-combox-home-effects="ready"] .chfx-separator__wave-glow,
html[data-combox-home-effects="ready"] .chfx-separator__wave-pulse {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-combox-home-effects="ready"] .chfx-separator__wave-static {
  stroke-width: 1.5;
  opacity: 0.34;
}

html[data-combox-home-effects="ready"] .chfx-separator__wave-glow {
  stroke-width: 5.5;
  opacity: 0;
  stroke-dasharray: 168 832;
  stroke-dashoffset: 1000;
}

html[data-combox-home-effects="ready"] .chfx-separator__wave-pulse {
  stroke-width: 2.6;
  opacity: 0;
  stroke-dasharray: 168 832;
  stroke-dashoffset: 1000;
}

html[data-combox-home-effects="ready"] .chfx-separator--blue .chfx-separator__wave-static {
  stroke: #367cff;
  filter: drop-shadow(0 0 4px rgba(30, 80, 200, 0.28));
}

html[data-combox-home-effects="ready"] .chfx-separator--blue .chfx-separator__wave-glow {
  stroke: #367cff;
  filter: blur(3.5px);
}

html[data-combox-home-effects="ready"] .chfx-separator--blue .chfx-separator__wave-pulse {
  stroke: #83d9ff;
  filter:
    drop-shadow(0 0 5px rgba(131, 217, 255, 0.92))
    drop-shadow(0 0 14px rgba(54, 124, 255, 0.72))
    drop-shadow(0 0 28px rgba(30, 80, 200, 0.42));
}

html[data-combox-home-effects="ready"] .chfx-separator--red .chfx-separator__wave-static {
  stroke: #c91f43;
  filter: drop-shadow(0 0 4px rgba(184, 28, 60, 0.28));
}

html[data-combox-home-effects="ready"] .chfx-separator--red .chfx-separator__wave-glow {
  stroke: #c91f43;
  filter: blur(3.5px);
}

html[data-combox-home-effects="ready"] .chfx-separator--red .chfx-separator__wave-pulse {
  stroke: #e84862;
  filter:
    drop-shadow(0 0 5px rgba(232, 72, 98, 0.9))
    drop-shadow(0 0 14px rgba(201, 31, 67, 0.68))
    drop-shadow(0 0 28px rgba(184, 28, 60, 0.4));
}

html[data-combox-home-effects="ready"] .chfx-separator.is-chfx-loop-active .chfx-separator__wave-glow,
html[data-combox-home-effects="ready"] .chfx-separator.is-chfx-loop-active .chfx-separator__wave-pulse {
  animation: chfx-separator-wave-loop 5000ms linear infinite;
}

@keyframes chfx-separator-wave-loop {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0.45;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  1.5% {
    opacity: 1;
  }

  42% {
    stroke-dashoffset: -168;
    opacity: 1;
    animation-timing-function: ease-out;
  }

  46% {
    opacity: 0;
  }

  100% {
    stroke-dashoffset: -168;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-combox-home-effects="ready"] .chfx-separator__wave-glow,
  html[data-combox-home-effects="ready"] .chfx-separator__wave-pulse {
    display: none !important;
  }

  html[data-combox-home-effects="ready"] .chfx-separator__wave-static {
    opacity: 0.58;
    stroke-width: 1.8;
  }

  html[data-combox-home-effects="ready"] .chfx-separator--blue .chfx-separator__wave-static {
    stroke: #367cff;
    filter: drop-shadow(0 0 8px rgba(54, 124, 255, 0.38));
  }

  html[data-combox-home-effects="ready"] .chfx-separator--red .chfx-separator__wave-static {
    stroke: #d41e45;
    filter: drop-shadow(0 0 8px rgba(212, 30, 69, 0.34));
  }
}

/* ---------- Mobile (< 900px) — lighter trace intensity + visible entrance ---------- */
@media (max-width: 899.98px) {
  html[data-combox-home-effects="ready"] .hero .home-header-visual.chfx-trace-host--hero > img {
    z-index: 1;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero {
    --chfx-hero-trace-duration: 1.9s;
  }

  /* Desktop-only decorative hotspot/peak/head layers stay fully inert on
     mobile — matches current final laboratory mobile behavior exactly.
     Unconditional (not state-dependent) so a missed/failed animation can
     never leave a stray mark; only the core 3-layer trace below is active
     on mobile, unchanged from the previously validated mobile behavior. */
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-accent,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-boost,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-midright,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-tr,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-left,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-bl,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-peak-br,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-head-near {
    display: none;
  }

  /* Mobile starts undrawn (0-length dasharray) so the entrance sweep has
     something visible to draw; desktop above stays always-fully-drawn.
     The 100% keyframe already equals these same resting values, and
     animation "forwards" fill holds them the instant the browser's own
     rendering engine finishes — natively, with no dependency on a
     JavaScript "animationend" listener ever firing for this final state. */
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-near,
  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--core {
    stroke-dasharray: 0 var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-outer {
    stroke-width: 7px;
    opacity: 0.11;
    filter: blur(6px);
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--glow-near {
    stroke-width: 3.5px;
    opacity: 0.16;
    filter: blur(2.5px);
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero .chfx-trace__stroke--core {
    stroke-width: 1.4px;
    opacity: 0.42;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--glow-near,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-animating .chfx-trace__stroke--core {
    animation: chfx-trace-draw var(--chfx-hero-trace-duration) linear forwards;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-outer,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--glow-near,
  html[data-combox-home-effects="ready"] .chfx-trace--hero.is-chfx-complete .chfx-trace__stroke--core {
    animation: none;
    stroke-dasharray: var(--chfx-trace-length, 1000);
    stroke-dashoffset: 0;
    transition: none;
  }

  /* V1.7 mobile trace stays always fully-drawn (like desktop); only a light
     opacity pulse marks the one-shot entrance, then settles to resting. */
  html[data-combox-home-effects="ready"] .chfx-trace--v17 {
    --chfx-v17-trace-duration: 1.15s;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--glow-outer {
    stroke-width: 5px;
    opacity: 0.08;
    filter: blur(5px);
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--glow-near {
    stroke-width: 2.5px;
    opacity: 0.12;
    filter: blur(2px);
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17 .chfx-trace__stroke--core {
    stroke-width: 1.1px;
    opacity: 0.3;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-animating .chfx-trace__stroke--glow-outer {
    animation: chfx-mobile-v17-pulse-outer var(--chfx-v17-trace-duration) ease-out forwards;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-animating .chfx-trace__stroke--glow-near {
    animation: chfx-mobile-v17-pulse-near var(--chfx-v17-trace-duration) ease-out forwards;
  }

  html[data-combox-home-effects="ready"] .chfx-trace--v17.is-chfx-animating .chfx-trace__stroke--core {
    animation: chfx-mobile-v17-pulse-core var(--chfx-v17-trace-duration) ease-out forwards;
  }

  @keyframes chfx-mobile-v17-pulse-outer {
    0% { opacity: 0.03; }
    40% { opacity: 0.16; }
    100% { opacity: 0.08; }
  }

  @keyframes chfx-mobile-v17-pulse-near {
    0% { opacity: 0.04; }
    40% { opacity: 0.24; }
    100% { opacity: 0.12; }
  }

  @keyframes chfx-mobile-v17-pulse-core {
    0% { opacity: 0.08; }
    35% { opacity: 0.5; }
    100% { opacity: 0.3; }
  }

  html[data-combox-home-effects="ready"] .chfx-separator {
    min-height: 40px;
  }

  html[data-combox-home-effects="ready"] .chfx-separator__zone {
    height: 40px;
  }

  html[data-combox-home-effects="ready"] .chfx-separator__viewport {
    height: 40px;
  }

  html[data-combox-home-effects="ready"] .chfx-separator__wave-glow {
    stroke-width: 5;
  }

  html[data-combox-home-effects="ready"] .chfx-separator__wave-pulse {
    stroke-width: 2.3;
  }

  html[data-combox-home-effects="ready"] .chfx-separator.is-chfx-loop-active .chfx-separator__wave-glow,
  html[data-combox-home-effects="ready"] .chfx-separator.is-chfx-loop-active .chfx-separator__wave-pulse {
    animation: chfx-separator-wave-loop-mobile 4600ms linear infinite;
  }

  @keyframes chfx-separator-wave-loop-mobile {
    0% {
      stroke-dashoffset: 1000;
      opacity: 0.4;
      animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }

    2% {
      opacity: 0.85;
    }

    44% {
      stroke-dashoffset: -168;
      opacity: 0.85;
      animation-timing-function: ease-out;
    }

    48% {
      opacity: 0;
    }

    100% {
      stroke-dashoffset: -168;
      opacity: 0;
    }
  }
}

/* ---------- Primary navigation — red hover / focus (homepage only) ----------
   Ported from the validated laboratory header rules. Excludes the Microsoft
   Store nav CTA and both Ctrl Deck utility links (Quick Start + Avis &
   suggestions), which keep their own distinct blue-family treatment below —
   matches the current final laboratory `:not()` exclusion list exactly. */
html[data-combox-home-effects="ready"] .site-header .nav-links > a:not(.nav-software-cta):not(.nav-faq-ctrl-deck) {
  transition: color 180ms ease;
}

html[data-combox-home-effects="ready"] .site-header .nav-links > a:not(.nav-software-cta):not(.nav-faq-ctrl-deck):hover,
html[data-combox-home-effects="ready"] .site-header .nav-links > a:not(.nav-software-cta):not(.nav-faq-ctrl-deck):focus-visible {
  color: #d41e45;
  text-decoration: none;
  transform: none;
  background: none;
  box-shadow: none;
}

html[data-combox-home-effects="ready"] .site-header .nav-links > a:not(.nav-software-cta):not(.nav-faq-ctrl-deck):focus-visible {
  outline: 2px solid rgba(212, 30, 69, 0.55);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Ctrl Deck utility nav — Quick Start (blue/white) + Avis &
   suggestions (blue gradient/red) — homepage only ----------
   The Quick Start link (:first-of-type) keeps the site-wide default blue
   rest / white hover behavior already used on every other page (FAQ, product
   pages, etc.) — restated here explicitly, scoped to the homepage, so it
   cannot be affected by the primary-nav red-hover rule above or by any
   future change to the global default. Avis & suggestions (:last-of-type)
   gets its own distinct blue-gradient rest state and red hover/focus. */
html[data-combox-home-effects="ready"] .site-header .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:first-of-type {
  color: #7ec8ff;
  -webkit-text-fill-color: currentColor;
  background-image: none;
}

html[data-combox-home-effects="ready"] .site-header .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:first-of-type:hover,
html[data-combox-home-effects="ready"] .site-header .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:first-of-type:focus-visible {
  color: #fff;
  -webkit-text-fill-color: currentColor;
  filter: none;
}

html[data-combox-home-effects="ready"] .site-header .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:last-of-type {
  color: #3a9cff;
  background-image: linear-gradient(120deg, #72d4ff 0%, #3a9cff 52%, #2472d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: color 190ms ease, -webkit-text-fill-color 190ms ease, background-image 190ms ease, filter 190ms ease;
}

html[data-combox-home-effects="ready"] .site-header .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:last-of-type:hover,
html[data-combox-home-effects="ready"] .site-header .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:last-of-type:focus-visible {
  color: #d41e45;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #d41e45;
  filter: none;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

html[data-combox-home-effects="ready"] .site-header .nav-ctrl-deck-utility .nav-ctrl-deck-utility__link:last-of-type:focus-visible {
  outline: 2px solid rgba(212, 30, 69, 0.55);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Hero CTA buttons (Découvrir/Discover, Télécharger/Download) —
   homepage only ----------
   Restores the validated laboratory proportions/glow. The Microsoft Store
   CTA (.home-hero-store-cta) is a separate, already-styled element and is
   intentionally not touched here. */
html[data-combox-home-effects="ready"] .hero .actions {
  align-items: flex-start;
}

html[data-combox-home-effects="ready"] .hero .actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  min-height: 38px;
  max-height: 42px;
  height: auto;
  padding: 0 14px;
  font-size: 0.8125rem;
  line-height: 1.15;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-combox-home-effects="ready"] .hero .actions .btn:not(.secondary) {
  background: linear-gradient(135deg, #2a62e8, #3d8cff 52%, #2f74f2);
  border: 1px solid rgba(100, 160, 255, 0.35);
  color: #fff;
  box-shadow: 0 4px 20px rgba(61, 124, 255, 0.4), 0 0 0 1px rgba(61, 124, 255, 0.12) inset, inset 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-combox-home-effects="ready"] .hero .actions .btn.secondary {
  border-color: rgba(61, 124, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(61, 124, 255, 0.1), 0 5px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-combox-home-effects="ready"] .hero .actions .btn:focus-visible {
  outline: 2px solid rgba(96, 180, 255, 0.9);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(61, 124, 255, 0.16), 0 10px 30px rgba(61, 124, 255, 0.2);
}

@media (min-width: 900px) {
  html[data-combox-home-effects="ready"] .hero .actions .btn:not(.secondary):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 34px rgba(61, 124, 255, 0.5), 0 0 24px rgba(61, 124, 255, 0.24), inset 0 1px rgba(255, 255, 255, 0.18);
  }

  html[data-combox-home-effects="ready"] .hero .actions .btn.secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(61, 124, 255, 0.48);
    box-shadow: 0 8px 26px rgba(61, 124, 255, 0.22), 0 0 16px rgba(61, 124, 255, 0.12);
  }
}

/* Mobile keeps the same compact proportions/glow at rest; hover-only
   transforms above are gated to desktop since touch has no hover state,
   :focus-visible above already remains available on mobile via keyboard. */

/* ---------- Final CTA cards (Ctrl Deck / Microsoft Store / support) —
   homepage only, desktop-only (matches current final laboratory scope:
   hover-driven card glow has no touch equivalent in the lab either) ---------- */
@media (min-width: 900px) {
  html[data-combox-home-effects="ready"] #software-apps .commercial-trio .product-card.commercial-ctrl-card,
  html[data-combox-home-effects="ready"] #software-apps .commercial-trio .product-card.commercial-support-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
    border: 1px solid rgba(96, 180, 255, 0.28);
    box-shadow: 0 14px 38px rgba(2, 8, 24, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 0 36px rgba(61, 124, 255, 0.1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html[data-combox-home-effects="ready"] #software-apps .commercial-trio .product-card.commercial-ctrl-card:hover,
  html[data-combox-home-effects="ready"] #software-apps .commercial-trio .product-card.commercial-support-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 180, 255, 0.45);
    box-shadow: 0 18px 44px rgba(2, 8, 24, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.55) inset, 0 0 48px rgba(61, 124, 255, 0.18);
  }

  html[data-combox-home-effects="ready"] #software-apps .commercial-trio .btn.dark {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
    border: 1px solid rgba(96, 180, 255, 0.22);
    box-shadow: 0 6px 20px rgba(61, 124, 255, 0.12);
  }

  html[data-combox-home-effects="ready"] #software-apps .commercial-trio .btn.dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(61, 124, 255, 0.28), 0 0 20px rgba(61, 124, 255, 0.14);
  }

  /* Ctrl Deck card button — blue hover/focus, wins over the generic hover
     above via later cascade order (equal selector specificity). */
  html[data-combox-home-effects="ready"] #software-apps .commercial-ctrl-card .btn.dark {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
  }

  html[data-combox-home-effects="ready"] #software-apps .commercial-ctrl-card .btn.dark:hover,
  html[data-combox-home-effects="ready"] #software-apps .commercial-ctrl-card .btn.dark:focus-visible {
    color: #1d6fd4;
    border-color: rgba(61, 124, 255, 0.58);
    box-shadow: 0 10px 28px rgba(61, 124, 255, 0.38), 0 0 0 1px rgba(96, 180, 255, 0.38), 0 0 32px rgba(61, 124, 255, 0.45);
    transform: translateY(-2px);
  }

  /* Support card button — red hover/focus, wins over the generic blue hover
     above via later cascade order (equal selector specificity). */
  html[data-combox-home-effects="ready"] #software-apps .commercial-support-card .btn.dark {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
  }

  html[data-combox-home-effects="ready"] #software-apps .commercial-support-card .btn.dark:hover,
  html[data-combox-home-effects="ready"] #software-apps .commercial-support-card .btn.dark:focus-visible {
    color: #d41e45;
    border-color: rgba(212, 30, 69, 0.48);
    box-shadow: 0 10px 28px rgba(232, 39, 74, 0.3), 0 0 0 1px rgba(212, 30, 69, 0.35), 0 0 28px rgba(232, 39, 74, 0.38);
    transform: translateY(-2px);
  }
}

/* ---------- Section soft reveal — homepage only ----------
   Ported from the validated laboratory reveal system. The html.is-chfx-effects-ready
   class is added by combox-home-effects.js only after all surfaces are classified,
   so the pending:not(revealed) state never flashes for above-fold content.
   Static HTML is always visible — this only adds a visual entrance. */

/* Default: all surfaces visible (JS-off safe baseline). */
html[data-combox-home-effects="ready"] .chfx-reveal-surface {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Pending state — applied only after effects are confirmed ready. */
html[data-combox-home-effects="ready"].is-chfx-effects-ready .chfx-reveal-surface.is-chfx-reveal-pending:not(.is-chfx-revealed) {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  filter: blur(3px);
  will-change: opacity, transform, filter;
}

/* Revealed state — always fully visible. */
html[data-combox-home-effects="ready"].is-chfx-effects-ready .chfx-reveal-surface.is-chfx-revealed {
  opacity: 1;
  transform: translateZ(0);
  filter: none;
}

/* Transition — only when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  html[data-combox-home-effects="ready"].is-chfx-effects-ready .chfx-reveal-surface {
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* Reduced-motion hard override: always visible, no transition. */
@media (prefers-reduced-motion: reduce) {
  html[data-combox-home-effects="ready"] .chfx-reveal-surface,
  html[data-combox-home-effects="ready"].is-chfx-effects-ready .chfx-reveal-surface.is-chfx-reveal-pending:not(.is-chfx-revealed) {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ---------- Support-card COM'BOX logo — desktop display ----------
   Logo is injected by legacy-enhance.ts between <p> and <a>; this rule
   sizes and positions it to match the validated laboratory reference.
   No homepage-effects gate required here since the img is always in the
   DOM — the rule is already scoped by data-combox-home-effects. */
html[data-combox-home-effects="ready"] #software-apps .commercial-support-card .chfx-support-card__logo {
  display: block;
  width: min(100%, 168px);
  height: auto;
  margin: 0.85rem auto 1.15rem;
  object-fit: contain;
  pointer-events: none;
}

/* ---------- Desktop visual polish — platform review-cards, official panel,
   clickable panel halos, and Forums/Communauté grid alignment ----------
   All rules gated to desktop (min-width: 900px) and homepage marker.
   Values extracted verbatim from the validated laboratory CSS final state. */
@media (min-width: 900px) {

  /* Review cards — permanent blue ring matching lab is-lab-scene-active state */
  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__review-card {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(61, 124, 255, 0.12);
    transition: box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Official panel — permanent blue ring matching lab is-lab-scene-active state */
  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__panel {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(61, 124, 255, 0.12),
      0 0 52px rgba(61, 124, 255, 0.10);
    transition: box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Review-link and listing-link — blue hover glow matching lab treatment */
  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__review-link,
  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__listing-link {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__review-link:hover,
  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__listing-link:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 180, 255, 0.42);
    box-shadow: 0 10px 28px rgba(61, 124, 255, 0.22), 0 0 0 1px rgba(96, 180, 255, 0.16),
      0 0 20px rgba(61, 124, 255, 0.12);
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__review-link:focus-visible,
  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__listing-link:focus-visible {
    outline: 2px solid rgba(96, 180, 255, 0.9);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(61, 124, 255, 0.16), 0 10px 30px rgba(61, 124, 255, 0.20);
  }

  /* Forums / Communauté — level--also grid alignment (lab desktop layout) */
  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__level--also {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__level--also
    .home-ctrl-platforms__level-title {
    width: 100%;
    margin: 0 0 14px;
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-platforms .home-ctrl-platforms__text-links {
    width: 100%;
    gap: 10px 14px;
  }

  /* Ctrl Deck official — Microsoft Store + FAQ clickable rectangles */
  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark,
  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark-outline {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s ease;
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark {
    border: 1px solid transparent;
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 180, 255, 0.42);
    box-shadow: 0 10px 28px rgba(61, 124, 255, 0.22), 0 0 0 1px rgba(96, 180, 255, 0.16),
      0 0 20px rgba(61, 124, 255, 0.12);
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark:focus-visible {
    outline: 2px solid rgba(96, 180, 255, 0.9);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(61, 124, 255, 0.16), 0 10px 30px rgba(61, 124, 255, 0.20);
  }

  /* FAQ — resting blue matches header .nav-faq-ctrl-deck (#7ec8ff) */
  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark-outline[href*="/faq/"] {
    color: #7ec8ff;
    background: transparent;
    border: 1px solid rgba(126, 200, 255, 0.38);
    font-weight: 800;
    box-shadow: none;
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark-outline[href*="/faq/"]:hover {
    color: #0f5ab8;
    border-color: rgba(15, 90, 184, 0.52);
    background: rgba(29, 111, 212, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(61, 124, 255, 0.22), 0 0 0 1px rgba(96, 180, 255, 0.16),
      0 0 20px rgba(61, 124, 255, 0.12);
  }

  html[data-combox-home-effects="ready"] #ctrl-deck-official .home-ctrl-official__actions a.btn.dark-outline[href*="/faq/"]:focus-visible {
    outline: 2px solid rgba(96, 180, 255, 0.9);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(61, 124, 255, 0.16), 0 10px 30px rgba(61, 124, 255, 0.20);
  }
}

/* ---- AI deploy intro — lab-faithful production implementation ----------- */

/* Section context: relative so absolutely-positioned FX overlay is contained. */
html[data-combox-home-effects="ready"] #ai-mastery > .container {
  position: relative;
}

/* ---- Intro panel base (mobile-first: flex column) ---------------------- */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  padding: clamp(1.75rem, 7vw, 2.25rem) clamp(1.1rem, 5vw, 1.5rem) clamp(2.1rem, 7vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 6vw, 2.25rem);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 55% at 82% 10%, rgba(232, 39, 74, 0.16), transparent 62%),
    linear-gradient(155deg, rgba(22, 5, 9, 0.86) 0%, rgba(12, 4, 6, 0.72) 48%, rgba(8, 2, 4, 0.58) 100%);
  border: 1px solid rgba(232, 39, 74, 0.24);
  box-shadow: inset 0 1px rgba(255, 90, 108, 0.12), 0 20px 48px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-col--copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  order: 1;
}

/* Badge */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 39, 74, 0.42);
  background: rgba(232, 39, 74, 0.1);
  color: #ff8398;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__badge-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3f5e;
  box-shadow: 0 0 10px 2px rgba(255, 63, 94, 0.8);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-title {
  margin: 0.9rem 0 0.65rem;
  font-size: clamp(1.5rem, 7.5vw, 1.9rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f7f2f1;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-title-accent {
  color: #ff4a68;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-copy {
  max-width: 40ch;
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(244, 232, 231, 0.76);
}

/* Deploy button */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, #e8274a, #ff3f5e 55%, #d41e45);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 39, 74, 0.36), inset 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(232, 39, 74, 0.48), inset 0 1px rgba(255, 255, 255, 0.24);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy:hover .home-ai-mastery__deploy-icon {
  transform: translateX(3px);
}

/* Dossier column */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-col--dossier {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
  margin-top: 0.25rem;
}

/* Dossier visual — CSS/DOM composition, no image assets */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier {
  position: relative;
  width: min(220px, 74%);
  aspect-ratio: 3 / 4;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__glow {
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 39, 74, 0.36), rgba(180, 20, 45, 0.1) 46%, transparent 68%);
  filter: blur(24px);
  z-index: 0;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__back {
  position: absolute;
  inset: 5px 11px -5px -11px;
  border-radius: 14px;
  background: linear-gradient(155deg, #1a1013, #0c0708);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: rotate(3.5deg);
  z-index: 1;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__back--2 {
  inset: 8px 17px -8px -17px;
  background: linear-gradient(155deg, #150d0f, #0a0506);
  transform: rotate(6.5deg);
  z-index: 0;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__card {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.2rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #1c1315, #0a0607);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__brand {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #efe6e5;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3f5e;
  box-shadow: 0 0 8px 2px rgba(255, 63, 94, 0.7);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__rule {
  display: block;
  height: 1px;
  margin: 0.85rem 0 0.95rem;
  background: linear-gradient(90deg, rgba(232, 39, 74, 0.7), transparent);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff7c8e;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__heading {
  display: block;
  margin: 0.5rem 0 auto;
  font-size: 1.12rem;
  line-height: 1.18;
  font-weight: 800;
  color: #e9e0de;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__note {
  margin-top: 1.2rem;
  font-size: 0.68rem;
  color: rgba(238, 226, 224, 0.56);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__tab {
  position: absolute;
  top: 1.5rem;
  right: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 56px;
  border-radius: 5px;
  background: linear-gradient(180deg, #ff3f5e, #c91f43);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  box-shadow: 0 8px 22px rgba(232, 39, 74, 0.5);
}

/* Seam line + arrow — absolutely positioned within the intro */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__seam {
  position: absolute;
  left: 50%;
  bottom: clamp(46px, 6.6vw, 62px);
  width: 100vw;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__seam-line {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(232, 39, 74, 0.55) 50%, transparent 96%);
  box-shadow: 0 0 18px 2px rgba(232, 39, 74, 0.3);
  opacity: 0.55;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__arrow {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 4.4vw, 38px);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 39, 74, 0.55);
  background: radial-gradient(circle, rgba(30, 6, 10, 0.92), rgba(10, 2, 4, 0.92));
  color: #ff8398;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(232, 39, 74, 0.08), 0 14px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__arrow:hover {
  transform: translateX(-50%) translateY(3px);
  border-color: rgba(255, 63, 94, 0.85);
  box-shadow: 0 0 0 9px rgba(232, 39, 74, 0.12), 0 18px 36px rgba(0, 0, 0, 0.55);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__arrow-icon {
  width: 18px;
  height: 18px;
}

/* ---- FX overlay — injected by JS, absolutely positioned in .container --- */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__seed {
  position: absolute;
  left: 50%;
  bottom: clamp(64px, 9vw, 92px);
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff6b82 0%, #ff3f5e 26%, #e8274a 56%, transparent 80%);
  filter: blur(2px);
  opacity: 0;
  transform: scale(0.2);
  box-shadow: 0 0 46px 16px rgba(232, 39, 74, 0.62), 0 0 100px 44px rgba(212, 30, 69, 0.3);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__halo {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 5vw, 46px);
  width: min(1400px, 128vw);
  height: clamp(150px, 24vw, 260px);
  margin-left: calc(min(1400px, 128vw) / -2);
  border-radius: 50%;
  background:
    radial-gradient(ellipse 46% 100% at 50% 100%, rgba(255, 70, 96, 0.68), rgba(232, 39, 74, 0.32) 40%, transparent 72%),
    radial-gradient(ellipse 64% 100% at 50% 100%, rgba(184, 28, 60, 0.24), transparent 78%);
  filter: blur(26px);
  opacity: 0;
  transform: scaleX(0.08);
  transform-origin: 50% 100%;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__dust {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(760px, 62vw);
  height: clamp(140px, 20vw, 220px);
  margin-left: calc(min(760px, 62vw) / -2);
  pointer-events: none;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__dust-mote {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #ff6b82, #d41e45 62%, transparent 100%);
  filter: blur(1px);
  opacity: 0;
  box-shadow: 0 0 6px 1px rgba(232, 39, 74, 0.5);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__svg {
  position: absolute;
  left: 50%;
  bottom: clamp(58px, 8.4vw, 86px);
  width: min(1500px, 132vw);
  height: 90px;
  margin-left: calc(min(1500px, 132vw) / -2);
  overflow: visible;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__arc {
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__arc--depth {
  stroke: #b81c3c;
  stroke-width: 22;
  stroke-linecap: round;
  opacity: 0.14;
  filter: blur(16px);
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__arc--core {
  stroke: url(#chfx-ai-wave-fade);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.95;
}

html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__arc--glow {
  stroke: #e8274a;
  stroke-width: 12;
  stroke-linecap: round;
  opacity: 0.35;
  filter: blur(9px);
}

/* ---- State transitions -------------------------------------------------- */

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-mastery__deploy {
  animation: chfx-ai-cta-pulse 280ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  pointer-events: none;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-mastery__arrow {
  animation: chfx-ai-arrow-pulse 280ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  pointer-events: none;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-fx__seed {
  animation: chfx-ai-seed-grow 420ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-mastery__seam-line {
  animation: chfx-ai-seam-brighten 420ms ease-out 80ms forwards;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-fx__halo {
  animation: chfx-ai-halo-expand 1250ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-fx__arc--depth {
  animation: chfx-ai-wave-draw 1050ms cubic-bezier(0.16, 1, 0.3, 1) 340ms forwards;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-fx__arc--core {
  animation: chfx-ai-wave-draw 950ms cubic-bezier(0.16, 1, 0.3, 1) 380ms forwards;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-fx__arc--glow {
  animation: chfx-ai-wave-draw 1000ms cubic-bezier(0.16, 1, 0.3, 1) 400ms forwards;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-fx__dust-mote {
  animation: chfx-ai-dust-drift 900ms ease-out var(--chfx-ai-dust-delay, 0ms) forwards;
}

html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="opening"] .home-ai-mastery__intro {
  animation: chfx-ai-intro-exit 520ms cubic-bezier(0.4, 0, 0.2, 1) 900ms forwards;
}

/* "open": intro and FX removed (both are non-content UI; safe to display:none) */
html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="open"] .home-ai-mastery__intro,
html[data-combox-home-effects="ready"] #ai-mastery[data-chfx-ai-state="open"] .home-ai-mastery__fx {
  display: none;
}

/* Content entrance (class added by JS after content.hidden = false) */
html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__content.is-chfx-ai-revealed {
  animation: chfx-ai-content-enter 950ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---- Keyframes ---------------------------------------------------------- */

@keyframes chfx-ai-cta-pulse {
  0%   { transform: scale(1);    filter: brightness(1); }
  45%  { transform: scale(1.05); filter: brightness(1.25); }
  100% { transform: scale(1);    filter: brightness(1); }
}

@keyframes chfx-ai-arrow-pulse {
  0%   { transform: translateX(-50%) scale(1);    filter: brightness(1); }
  45%  { transform: translateX(-50%) scale(1.08); filter: brightness(1.3); }
  100% { transform: translateX(-50%) scale(1);    filter: brightness(1); }
}

@keyframes chfx-ai-seed-grow {
  0%   { opacity: 0;    transform: scale(0.2); }
  60%  { opacity: 1;    transform: scale(1.15); }
  100% { opacity: 0.85; transform: scale(1); }
}

@keyframes chfx-ai-seam-brighten {
  0%   { opacity: 0.55; filter: brightness(1); }
  100% { opacity: 1;    filter: brightness(1.6); box-shadow: 0 0 30px 6px rgba(232, 39, 74, 0.55); }
}

@keyframes chfx-ai-halo-expand {
  0%   { opacity: 0;    transform: scaleX(0.08); }
  55%  { opacity: 0.85; transform: scaleX(0.72); }
  100% { opacity: 0.55; transform: scaleX(1); }
}

@keyframes chfx-ai-wave-draw {
  0%   { stroke-dashoffset: 1000; opacity: 0.2; }
  8%   { opacity: 1; }
  100% { stroke-dashoffset: 0;    opacity: 0.9; }
}

@keyframes chfx-ai-intro-exit {
  0%   { opacity: 1; transform: translateY(0) scale(1);        filter: blur(0); }
  100% { opacity: 0; transform: translateY(-18px) scale(0.985); filter: blur(3px); }
}

@keyframes chfx-ai-content-enter {
  0%   { opacity: 0; transform: translateY(26px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chfx-ai-dust-drift {
  0%   { opacity: 0;    transform: translateY(10px) scale(0.5); }
  32%  { opacity: 0.55; }
  100% { opacity: 0;    transform: translateY(-22px) scale(1); }
}

/* ---- Desktop (900px+): two-column grid layout, larger dossier ----------- */
@media (min-width: 900px) {
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.25rem);
    min-height: clamp(420px, 34vw, 480px);
    padding: clamp(2.75rem, 5vw, 3.5rem) clamp(2rem, 3.6vw, 3rem) clamp(5.25rem, 7.5vw, 6rem);
    border-radius: 24px;
    margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
    background:
      radial-gradient(ellipse 60% 55% at 82% 18%, rgba(232, 39, 74, 0.16), transparent 60%),
      linear-gradient(155deg, rgba(22, 5, 9, 0.82) 0%, rgba(12, 4, 6, 0.68) 48%, rgba(8, 2, 4, 0.52) 100%);
    box-shadow: inset 0 1px rgba(255, 90, 108, 0.12), 0 34px 78px rgba(0, 0, 0, 0.48);
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-col--copy {
    order: unset;
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-col--dossier {
    order: unset;
    min-height: 360px;
    margin-top: 0;
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier {
    width: min(300px, 92%);
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__glow {
    inset: -18%;
    filter: blur(34px);
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__back {
    inset: 6px 14px -6px -14px;
    border-radius: 16px;
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__back--2 {
    inset: 10px 22px -10px -22px;
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__card {
    padding: 1.6rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.06);
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__brand  { font-size: 0.8rem; }
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__rule   { margin: 0.95rem 0 1.1rem; }
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__kicker { font-size: 0.62rem; }
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__heading { font-size: 1.28rem; margin: 0.55rem 0 auto; }
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__note   { margin-top: 1.4rem; font-size: 0.74rem; }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-dossier__tab {
    top: 1.7rem;
    right: -14px;
    width: 30px;
    height: 62px;
    border-radius: 6px;
    font-size: 0.68rem;
    box-shadow: 0 10px 26px rgba(232, 39, 74, 0.5);
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-title {
    margin: 1.1rem 0 0.85rem;
    font-size: clamp(2.15rem, 4.6vw, 3.35rem);
    line-height: 1.06;
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro-copy {
    max-width: 34ch;
    margin: 0 0 1.9rem;
    font-size: clamp(0.98rem, 1.35vw, 1.1rem);
    line-height: 1.55;
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy {
    font-size: 0.92rem;
    padding: 0.85rem 1.5rem;
    box-shadow: 0 14px 32px rgba(232, 39, 74, 0.38), inset 0 1px rgba(255, 255, 255, 0.2);
  }

  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy-icon {
    width: 16px;
    height: 16px;
  }
}

/* ---- Reduced motion: no animations, immediate reveal ------------------- */
@media (prefers-reduced-motion: reduce) {
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__intro,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__fx,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__seed,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__halo,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__arc,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-fx__dust-mote,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__deploy,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__arrow,
  html[data-combox-home-effects="ready"] #ai-mastery .home-ai-mastery__content {
    animation: none !important;
    transition: none !important;
  }
}
