/* ConvoDock design B ("The Dock"): site chrome and the homepage sections.
   Sections are core blocks with cdb-* classes (inc/sections.php); behaviour
   comes from assets/js/site.js and inc/render.php. Brand tokens are in site.css. */

:root {
  --cdb-green: #017F4F;
  --cdb-green-dark: #01633D;
  --cdb-bright: #03B257;
  --cdb-light: #9BF5BE;
  --cdb-ink: #0B1422;
  --cdb-pad: clamp(20px, 5.6vw, 80px);
  --cdb-max: 1440px;
  --cdb-spring: cubic-bezier(.32,.72,0,1);
  --cdb-hero-bg: radial-gradient(80% 70% at 80% 30%, #03B257 0%, rgba(3,178,87,0) 60%), linear-gradient(160deg, #017F4F 0%, #01633D 100%);
}

/* ================= chrome ================= */
.cd-header { position: relative; z-index: 40; background: var(--cdb-hero-bg); color: #fff; }
.cd-header:has(~ .cd-main > .cd-entry > .cdb-hero:first-child) { position: absolute; inset: 0 0 auto; background: transparent; }
.admin-bar .cd-header:has(~ .cd-main > .cd-entry > .cdb-hero:first-child) { top: 32px; }
@media (max-width: 782px) { .admin-bar .cd-header:has(~ .cd-main > .cd-entry > .cdb-hero:first-child) { top: 46px; } }
.cd-header__inner { max-width: var(--cdb-max); margin: 0 auto; padding: 26px clamp(20px, 3.4vw, 48px) 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cd-header__brand { display: inline-flex; align-items: center; height: 50px; padding: 0 20px; border-radius: 999px; background: #fff; box-shadow: 0 12px 28px -14px rgba(0,30,20,.55); transition: transform .35s var(--cdb-spring); }
.cd-header__brand:hover { transform: translateY(-1px); }
.cd-header__brand img { display: block; width: auto; height: 30px; }
@media (max-width: 640px) { .cd-header__brand { height: 44px; padding: 0 16px; } .cd-header__brand img { height: 26px; } }

.cd-dock { padding: 6px; border-radius: 20px; background: #014D30; border: 1px solid rgba(155,245,190,.25); box-shadow: 0 20px 40px -16px rgba(0,30,20,.6); }
.cd-dock__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cd-dock__list a {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 14px;
  color: #D7F5E4; font-size: 15px; font-weight: 500; text-decoration: none;
  transition: transform .45s var(--cdb-spring), background .25s, color .25s, box-shadow .25s;
}
.cd-dock__list a:hover, .cd-dock__list a:focus-visible { transform: translateY(8px) scale(1.06); background: var(--cdb-green); color: #fff; box-shadow: 0 12px 24px -10px rgba(0,30,20,.55); }
.cd-dock__list [aria-current="page"], .cd-dock__list .current-menu-item > a { background: var(--cdb-light); color: #04210F; }
.cd-dock__list a::before { content: ""; width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; display: none; }
.cd-dock__list a[href*="features"]::before { display: block; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.cd-dock__list a[href*="how-it-works"]::before { display: block; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M8.2 11l7.6-4M8.2 13l7.6 4'/%3E%3C/svg%3E"); }
.cd-dock__list a[href*="pricing"]::before { display: block; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 7h16M4 12h10M4 17h7'/%3E%3C/svg%3E"); }
.cd-dock__list a[href*="security"]::before { display: block; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3C/svg%3E"); }

.cd-header__actions { display: flex; align-items: center; gap: 18px; }
.cd-header__login { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.cd-header__login:hover { text-decoration: underline; text-underline-offset: 4px; color: #fff; }
.cd-pill { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .35s var(--cdb-spring); }
.cd-pill:active { transform: scale(.98); }
.cd-pill--white { background: #fff; color: var(--cdb-ink); }
.cd-pill--white:hover { color: var(--cdb-ink); }

.cd-menu { display: none; }
.cd-menu summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 10px; color: #fff; display: grid; place-items: center; }
.cd-menu summary::-webkit-details-marker { display: none; }
.cd-menu__close, .cd-menu[open] .cd-menu__open { display: none; }
.cd-menu[open] .cd-menu__close { display: block; }
.cd-menu:not([open]) .cd-menu__panel { display: none; }
.cd-menu__panel { position: absolute; inset-inline: 12px; top: calc(100% - 6px); padding: 14px; background: #fff; color: var(--cdb-ink); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,30,20,.45); }
.cd-menu__list { list-style: none; margin: 0; padding: 0; }
.cd-menu__list a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 500; font-size: 17px; color: var(--cdb-ink); text-decoration: none; }
.cd-menu__list a:hover { background: #EDF4F1; }
.cd-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
@media (max-width: 1000px) {
  .cd-dock, .cd-header__actions { display: none; }
  .cd-menu { display: block; }
}

.cd-footer { margin-top: 96px; background: var(--cdb-ink); color: #F1F5F9; border-radius: 40px 40px 0 0; overflow: hidden; padding-top: 100px; }
body:has(.cd-entry > .cdb-ctaband:last-child) .cd-footer { margin-top: 0; padding-top: 210px; }
.cd-footer__inner { max-width: var(--cdb-max); margin: 0 auto; padding: 0 var(--cdb-pad); }
.cd-footer__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-weight: 600; font-size: 20px; }
.cd-footer__slogan { margin-left: 8px; font-weight: 400; font-size: 16px; color: #8A9BB0; }
.cd-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #1F2D42; }
.cd-footer__title { font-size: 14px; font-weight: 600; color: #8A9BB0; margin: 0; }
.cd-footer__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.cd-footer__list a { color: #CBD5E1; text-decoration: none; font-size: 15px; }
.cd-footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cd-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 48px; font-size: 13px; color: #64748B; }
.cd-footer__word { margin-top: 40px; font-size: clamp(90px, 21vw, 300px); font-weight: 700; letter-spacing: -0.065em; line-height: .74; color: var(--cdb-green); white-space: nowrap; text-align: center; user-select: none; }
@media (max-width: 640px) { .cd-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ================= shared section styles ================= */
.cd-entry > [class*="cdb-"] { width: auto; max-width: var(--cdb-max); margin-inline: auto; padding-inline: var(--cdb-pad); box-sizing: border-box; }
[class*="cdb-"] h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; max-width: 900px; }
.cdb-lede { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.cdb-eyebrow { font-size: 15px; font-weight: 600; color: var(--cdb-green); margin-bottom: 14px; }
.cdb-note { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* pill buttons with the button-in-button arrow */
[class*="cdb-"] .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
[class*="cdb-"] .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: 17px; font-weight: 600; border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--cdb-spring), background .2s, border-color .2s;
}
[class*="cdb-"] .wp-block-button__link:active { transform: scale(.98); }
[class*="cdb-"] .is-style-fill .wp-block-button__link { background: var(--cdb-ink); color: #fff; padding-right: 8px; }
[class*="cdb-"] .is-style-fill .wp-block-button__link::after {
  content: ""; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--cdb-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .35s var(--cdb-spring);
}
[class*="cdb-"] .is-style-fill .wp-block-button__link:hover::after { transform: translate(2px, -1px) scale(1.05); }
[class*="cdb-"] .is-style-outline .wp-block-button__link { background: transparent; color: var(--cdb-ink); border-color: var(--line); }
[class*="cdb-"] .is-style-outline .wp-block-button__link:hover { background: #EDF4F1; }
/* on green backgrounds */
.cdb-hero .is-style-fill .wp-block-button__link, .cdb-ctaband .is-style-fill .wp-block-button__link { background: #fff; color: var(--cdb-ink); }
.cdb-hero .is-style-fill .wp-block-button__link::after, .cdb-ctaband .is-style-fill .wp-block-button__link::after { background-color: var(--cdb-green); }
.cdb-hero .is-style-outline .wp-block-button__link, .cdb-ctaband .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.4); }
.cdb-hero .is-style-outline .wp-block-button__link:hover, .cdb-ctaband .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); }

/* list rows: "Label · value" (inc/render.php) */
.cdb-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cdb-rows li { display: flex; align-items: center; gap: 12px; }
.cdb-row__label { flex: 1; min-width: 0; }
.cdb-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #EDF4F1; color: #334155; font-size: 11px; font-weight: 700; flex: none; }
.cdb-rows .cdb-av { display: none; }
.cdb-chip { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cdb-chip--warn { background: #FEF3E2; color: #B45309; }
.cdb-chip--danger { background: #FDECEA; color: #B42318; }
.cdb-chip--ok { background: #E6F8EE; color: var(--cdb-green); }

/* ================= Hero ================= */
.cd-entry > .cdb-hero {
  max-width: none; position: relative; overflow: hidden; color: #fff; background: var(--cdb-hero-bg);
  padding-top: 150px; padding-bottom: 64px; min-height: min(780px, 100svh);
  padding-inline: max(var(--cdb-pad), calc((100% - 1280px) / 2));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 40px; align-items: center;
}
.cdb-hero__text { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.cdb-hero__title { margin: 0; font-size: clamp(2rem, 8.4vw, 4.5rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.05em; color: #fff; }
.cdb-rotator { display: none; }
.cdb-words { display: block; height: 1.25em; margin: -0.1em 0; overflow: hidden; color: var(--cdb-light); }
.cdb-words__in { display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.7,0,.2,1); }
.cdb-words__in > span { display: block; height: 1.25em; line-height: 1.25em; white-space: nowrap; width: max-content; }
.cdb-hero__lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: rgba(255,255,255,.86); max-width: 540px; }

.cdb-dock { position: relative; height: 540px; }
.cdb-card { position: absolute; width: 380px; box-sizing: border-box; padding: 22px; border-radius: 24px; background: #fff; color: var(--cdb-ink); box-shadow: 0 30px 60px -20px rgba(0,30,20,.45); }
.cdb-card h3 { margin: 0; font-size: 20px; font-weight: 700; }
.cdb-card__phone { position: absolute; right: 22px; top: 25px; margin: 0; font-size: 14px; color: var(--muted); }
.cdb-card .cdb-rows { margin-top: 20px; font-size: 15px; }
.cdb-avatars { display: flex; margin-top: 18px; padding-top: 14px; border-top: 1px solid #EDF4F1; }
.cdb-avatars .cdb-av { border: 2px solid #fff; margin-left: -8px; background: #E6F8EE; color: var(--cdb-green); }
.cdb-avatars .cdb-av:first-child { margin-left: 0; }
.cdb-card--back { left: 150px; top: 10px; transform: rotate(8deg); opacity: .9; }
.cdb-card--mid { left: 40px; top: 110px; transform: rotate(-7deg); opacity: .96; }
.cdb-card--front { left: 90px; top: 220px; width: 420px; }
.cdb-card--back .cdb-avatars, .cdb-card--mid .cdb-avatars { border-top: 0; padding-top: 0; }
.cdb-fchip {
  position: absolute; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.96); color: var(--cdb-ink); font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 16px 30px -12px rgba(0,30,20,.45); animation: cdb-bob 5s ease-in-out infinite;
}
.cdb-fchip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cdb-bright); }
.cdb-fchip--warn::before { background: #B45309; }
.cdb-fchip:nth-of-type(1) { left: -30px; top: 50px; }
.cdb-fchip:nth-of-type(2) { right: -20px; top: 200px; animation-delay: -1.6s; }
.cdb-fchip:nth-of-type(3) { left: 0; top: 500px; animation-delay: -3.2s; }
@keyframes cdb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1100px) {
  .cd-entry > .cdb-hero { grid-template-columns: minmax(0, 1fr); padding-top: 150px; min-height: 0; }
  .cdb-dock { height: 520px; max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 640px) {
  .cd-entry > .cdb-hero { padding-top: 120px; padding-bottom: 56px; gap: 36px; }
  .cdb-dock { height: auto; }
  .cdb-card--back, .cdb-card--mid, .cdb-fchip:nth-of-type(3) { display: none; }
  .cdb-card--front { position: relative; left: 0; top: 0; width: 100%; }
  .cdb-fchip { position: relative; left: auto !important; right: auto !important; top: auto !important; width: max-content; margin: 12px 0 0; }
}

/* ================= Statement (scroll reveal) ================= */
.cd-entry > .cdb-statement { padding-top: 104px; padding-bottom: 72px; }
.cdb-statement__text { font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; max-width: 1160px; color: var(--cdb-ink); }
.cdb-statement__text strong {
  display: inline-flex; align-items: center; gap: .25em; vertical-align: middle; padding: .1em .45em .1em .12em; border-radius: 999px;
  background: var(--cdb-ink); color: #fff; font-size: .68em; font-weight: 600;
}
.cdb-statement__text strong::before { content: ""; width: 1.15em; height: 1.15em; border-radius: 50%; background: url("../brand/icon-dark.svg") center / contain no-repeat; }
@supports (animation-timeline: view()) {
  .cdb-reveal {
    color: transparent;
    background-image: linear-gradient(var(--cdb-ink), var(--cdb-ink)), linear-gradient(#B6C8C0, #B6C8C0);
    background-size: 0% 100%, 100% 100%; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    animation: cdb-reveal linear both; animation-timeline: view(); animation-range: entry 30% cover 55%;
  }
  .cdb-reveal strong { -webkit-background-clip: border-box; background-clip: border-box; }
  @keyframes cdb-reveal { to { background-size: 100% 100%, 100% 100%; } }
}

/* ================= Numbers diagram ================= */
.cd-entry > .cdb-flow { padding-top: 32px; padding-bottom: 96px; }
.cdb-flow__map { position: relative; margin-top: 44px; padding: 32px 52px; border-radius: 32px; background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 280px) 1fr minmax(0, 280px); align-items: center; gap: 40px; }
.cdb-flow__in, .cdb-flow__out { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; position: relative; z-index: 2; }
.cdb-flow__in li, .cdb-flow__out li { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 16px; box-shadow: var(--shadow-1); }
.cdb-node__sub { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.cdb-node__dot { display: none; }
.cdb-flow__in .cdb-node__dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--cdb-bright); flex: none; animation: cdb-live 2s infinite; }
@keyframes cdb-live { 0% { box-shadow: 0 0 0 0 rgba(3,178,87,.5); } 100% { box-shadow: 0 0 0 9px rgba(3,178,87,0); } }
.cdb-flow__hub {
  position: relative; z-index: 2; justify-self: center; margin: 0; width: 160px; height: 140px; border-radius: 28px;
  background: var(--cdb-green); color: #fff; font-weight: 700; font-size: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  animation: cdb-hub 2s ease-in-out infinite;
}
.cdb-flow__hub::before { content: ""; width: 52px; height: 52px; border-radius: 16px; background: #fff url("../brand/icon-light.svg") center / 36px no-repeat; }
@keyframes cdb-hub { 0%, 100% { box-shadow: 0 24px 50px -18px rgba(1,127,79,.6), 0 0 0 0 rgba(3,178,87,.35); } 50% { box-shadow: 0 24px 50px -18px rgba(1,127,79,.6), 0 0 0 14px rgba(3,178,87,0); } }
.cdb-flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.cdb-flow__svg path { fill: none; stroke: #CFE3DA; stroke-width: 2; }
.cdb-flow__svg path.cdb-flow__dash { stroke: var(--cdb-bright); stroke-dasharray: 2 14; stroke-linecap: round; opacity: .45; animation: cdb-dash 1.6s linear infinite; }
@keyframes cdb-dash { to { stroke-dashoffset: -32; } }
.cdb-pkt { position: absolute; left: 0; top: 0; z-index: 1; width: 16px; height: 11px; border-radius: 6px 6px 6px 2px; background: var(--cdb-bright); box-shadow: 0 0 0 4px rgba(3,178,87,.16); offset-rotate: 0deg; opacity: 0; animation: cdb-flow 4s cubic-bezier(.45,0,.25,1) infinite; }
.cdb-pkt--out { background: var(--cdb-ink); box-shadow: 0 0 0 4px rgba(11,20,34,.10); border-radius: 6px 6px 2px 6px; }
@keyframes cdb-flow { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (max-width: 900px) {
  .cdb-flow__map { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .cdb-flow__in, .cdb-flow__out { gap: 12px; }
  .cdb-flow__svg, .cdb-pkt { display: none; }
  .cdb-flow__hub { width: 100%; height: 110px; }
}

/* ================= Product video ================= */
.cd-entry > .cdb-product { max-width: calc(var(--cdb-max) - 48px); margin-inline: auto; padding-top: 72px; padding-bottom: 80px; background: var(--cdb-ink); color: #F1F5F9; border-radius: 48px; }
@media (max-width: 1488px) { .cd-entry > .cdb-product { margin-inline: 24px; } }
.cdb-product__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.cdb-product__head h2 { color: #F1F5F9; max-width: 720px; }
.cdb-product__head p { margin: 0; font-size: 19px; line-height: 1.55; color: #CBD5E1; max-width: 460px; }
.cdb-tour { position: relative; width: min(100%, calc((100svh - 330px) * 1.6 + 24px)); margin: 36px auto 0; padding: 12px; border-radius: 22px; background: #16233A; border: 1px solid #1F2D42; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.cdb-tour__video { margin: 0; }
.cdb-tour__video video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; background: #0B1422; }
.cdb-tour::after { content: ""; position: absolute; inset: 12px 12px auto; aspect-ratio: 16 / 10; border-radius: 16px; background: linear-gradient(180deg, rgba(11,20,34,.55) 0%, rgba(11,20,34,0) 22%, rgba(11,20,34,0) 60%, rgba(11,20,34,.45) 100%); pointer-events: none; transition: opacity .3s; }
.cdb-tour .wp-block-buttons.cdb-tour__play-wrap, .cdb-tour .wp-block-buttons { position: absolute; left: 50%; top: calc(12px + (100% - 12px - 40px) / 2); transform: translate(-50%, -50%); z-index: 2; margin: 0; }
.cdb-tour .wp-block-button__link {
  height: auto; padding: 12px 28px 12px 12px; gap: 16px; background: rgba(255,255,255,.96); color: var(--cdb-ink); font-size: 19px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.cdb-tour .wp-block-button__link::before {
  content: ""; width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: var(--cdb-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") 56% center / 24px no-repeat;
}
.cdb-tour__note { margin: 12px 6px 2px; display: flex; align-items: center; gap: 10px; color: #8A9BB0; font-size: 14px; }
.cdb-tour__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cdb-bright); animation: cdb-live 2s infinite; }
.cdb-tour.is-playing::after, .cdb-tour.is-playing .wp-block-buttons { opacity: 0; pointer-events: none; visibility: hidden; }
.cdb-chapters { list-style: none; width: min(100%, calc((100svh - 330px) * 1.6 + 24px)); margin: 16px auto 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cdb-chapter { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; border-radius: 16px; background: #16233A; border: 1px solid #1F2D42; font: inherit; font-size: 15px; color: #F1F5F9; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.cdb-chapter:hover, .cdb-chapter[aria-current="true"] { border-color: var(--cdb-bright); background: #0F2A1E; }
.cdb-chapter span { font-size: 13px; color: #8A9BB0; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .cd-entry > .cdb-product { border-radius: 32px; padding-top: 72px; padding-bottom: 72px; margin-inline: 12px; }
  .cdb-chapters { grid-template-columns: 1fr 1fr; }
  .cdb-tour .wp-block-button__link { font-size: 16px; padding: 8px 20px 8px 8px; }
  .cdb-tour .wp-block-button__link::before { width: 48px; height: 48px; }
}

/* ================= How it works (tabs) ================= */
.cd-entry > .cdb-journey { padding-top: 100px; padding-bottom: 88px; }
.cdb-steps-nav { position: relative; margin-top: 44px; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.cdb-steps-nav::before { content: ""; position: absolute; left: 8px; right: calc(100% / var(--n, 5)); top: 8px; height: 2px; background: #DFE7E4; }
.cdb-steps-nav__bar { position: absolute; left: 8px; top: 8px; height: 2px; background: var(--cdb-green); transition: width .45s var(--cdb-spring); }
.cdb-steps-nav button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 8px 0 0; background: none; border: 0; font: inherit; font-size: 17px; font-weight: 600; color: var(--muted); text-align: left; cursor: pointer; }
.cdb-steps-nav button::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #B6C8C0; background: var(--bg); box-sizing: border-box; transition: all .3s; }
.cdb-steps-nav button.is-done::before { border-color: var(--cdb-green); background: var(--cdb-green); }
.cdb-steps-nav button[aria-selected="true"] { color: var(--cdb-ink); }
.cdb-steps-nav button[aria-selected="true"]::before { border-color: var(--cdb-green); background: var(--cdb-green); box-shadow: 0 0 0 6px #CFF1DC; }
.cdb-step { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; margin-top: 40px; }
.cdb-journey.is-tabs .cdb-step { margin-top: 32px; }
.cdb-journey.is-tabs .cdb-step:not(.is-active) { display: none; }
.cdb-journey.is-tabs .cdb-step__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cdb-step__label { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 600; color: var(--cdb-green); }
.cdb-step__card { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.cdb-step__card h4 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.1rem); letter-spacing: -0.03em; font-weight: 700; }
.cdb-step__card p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.cdb-step__card .cdb-step__note { margin-top: auto; font-size: 15px; color: var(--cdb-green); font-weight: 600; }
.cdb-step .cdb-rows { align-content: center; padding: 28px; border-radius: 24px; background: #E6F8EE; gap: 12px; }
.cdb-step .cdb-rows li { padding: 16px 18px; border-radius: 16px; background: #fff; font-size: 16px; box-shadow: var(--shadow-1); }
.cdb-step .cdb-rows .cdb-av { display: grid; width: 36px; height: 36px; background: var(--cdb-ink); color: #fff; font-size: 12px; }
@media (max-width: 900px) {
  .cdb-step { grid-template-columns: 1fr; }
  .cdb-step__card { padding: 28px; }
  .cdb-step .cdb-rows { padding: 20px; }
  .cdb-steps-nav { grid-template-columns: 1fr; gap: 14px; }
  .cdb-steps-nav::before, .cdb-steps-nav__bar { display: none; }
  .cdb-steps-nav button { flex-direction: row; align-items: center; }
}

/* ================= Waiting Board ================= */
.cd-entry > .cdb-wb { max-width: none; background: #fff; padding-top: 96px; padding-bottom: 96px; padding-inline: max(var(--cdb-pad), calc((100% - 1280px) / 2)); }
.cdb-wb__top { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.cdb-gauge { position: relative; width: 340px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(from 225deg, #B42318 0 210deg, #EDF4F1 210deg 270deg, transparent 270deg); }
.cdb-gauge p { margin: 0; }
.cdb-gauge__label, .cdb-gauge__sub { font-size: 15px; color: var(--muted); font-weight: 600; }
.cdb-gauge__value { font-size: clamp(2.75rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cdb-points { list-style: none; counter-reset: cdb; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; font-size: 17px; color: var(--ink-2); }
.cdb-points li { counter-increment: cdb; position: relative; padding-left: 44px; min-height: 30px; }
.cdb-points li::before { content: counter(cdb); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #E6F8EE; color: var(--cdb-green); font-size: 13px; font-weight: 700; flex: none; }
.cdb-points strong { color: var(--cdb-ink); }
.cdb-wb__bottom { margin-top: 64px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start; }
.cdb-frame { margin: 0; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(1,60,40,.35); }
.cdb-frame img { display: block; width: 100%; height: auto; border-radius: 14px; }
.cdb-clock { border-radius: 24px; border: 1px solid var(--line); background: #fff; padding: 30px; box-shadow: 0 30px 70px -24px rgba(1,60,40,.25); }
.cdb-clock__who { font-size: 17px; font-weight: 700; }
.cdb-clock__who .cdb-av { display: grid; width: 40px; height: 40px; font-size: 13px; }
.cdb-clock__label { margin: 26px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.cdb-clock__days { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; font-size: 13px; color: var(--muted); }
.cdb-clock__days li::before { content: ""; display: block; height: 40px; margin-bottom: 6px; border-radius: 10px; background: linear-gradient(90deg, #EDF4F1 0 70%, #F6C98E 70% 100%); }
.cdb-clock__days li:nth-child(2)::before { background: repeating-linear-gradient(135deg, #F4FBF8 0 6px, #EDF4F1 6px 12px); }
.cdb-clock__days li:nth-child(3)::before { background: linear-gradient(90deg, #F6C98E 0 58%, #EDF4F1 58% 100%); }
.cdb-facts { margin-top: 12px; gap: 0; font-size: 15px; }
.cdb-facts li { padding: 12px 0; border-bottom: 1px solid #EDF4F1; }
.cdb-facts li:last-child { border-bottom: 0; }
.cdb-facts .cdb-row__label { color: var(--muted); }
.cdb-facts .cdb-chip--ok { background: #EDF4F1; color: var(--ink-2); }
.cdb-clock__foot { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #EDF4F1; font-size: 15px; font-weight: 600; color: var(--cdb-green); }
@media (max-width: 1000px) {
  .cdb-wb__top, .cdb-wb__bottom { grid-template-columns: 1fr; gap: 48px; }
  .cdb-gauge { width: 320px; margin-inline: auto; }
  .cd-entry > .cdb-wb { padding-top: 80px; padding-bottom: 80px; }
}

/* ================= Security (list + detail) ================= */
.cd-entry > .cdb-guard { padding-top: 96px; padding-bottom: 88px; }
.cdb-guard { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 24px; }
.cdb-guard > h2, .cdb-guard > .cdb-note { grid-column: 1 / -1; }
.cdb-guard > h2 { margin-bottom: 40px; }
.cdb-guard__menu { grid-column: 1; grid-row: 2 / span 20; align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.cdb-guard__menu button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 20px; border: 0; border-radius: 18px; background: transparent; font: inherit; font-size: 18px; font-weight: 600; color: var(--ink-2); text-align: left; cursor: pointer; }
.cdb-guard__menu button::after { content: "→"; font-size: 20px; }
.cdb-guard__menu button:hover { background: #EDF4F1; }
.cdb-guard__menu button[aria-selected="true"] { background: var(--cdb-ink); color: #fff; }
.cdb-guard__item { grid-column: 2; border-radius: 26px; background: var(--cdb-ink); color: #F1F5F9; padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.cdb-guard:not(.is-tabs) .cdb-guard__item { grid-column: 1 / -1; margin-bottom: 16px; }
.cdb-guard.is-tabs .cdb-guard__item { grid-row: 2; }
.cdb-guard.is-tabs .cdb-guard__item:not(.is-active) { display: none; }
.cdb-guard__item h3 { order: 2; margin: 0; font-size: clamp(1.8rem, 3vw, 2.75rem); letter-spacing: -0.035em; font-weight: 700; line-height: 1.08; color: #fff; }
.cdb-guard__kind { order: 1; margin: 0; font-size: 15px; color: var(--cdb-light); font-weight: 600; }
.cdb-guard__item > p:not(.cdb-guard__kind) { order: 3; margin: 0; font-size: 20px; line-height: 1.55; color: #CBD5E1; max-width: 640px; }
.cdb-tags { order: 4; list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cdb-tags li { padding: 6px 12px; border-radius: 999px; background: #16233A; color: var(--cdb-light); font-size: 13px; font-weight: 600; }
@media (max-width: 900px) {
  .cdb-guard { grid-template-columns: 1fr; }
  .cdb-guard__menu { grid-column: 1; grid-row: auto; margin-bottom: 16px; }
  .cdb-guard.is-tabs .cdb-guard__item { grid-column: 1; grid-row: auto; padding: 32px; }
}

/* ================= Pricing ================= */
.cd-entry > .cdb-pricing { padding-top: 24px; padding-bottom: 104px; }
.cdb-plans { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #fff; }
.cdb-plan { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.cdb-plan h3 { margin: 0; display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: 700; }
.cdb-plan__tag { margin: 0; color: var(--muted); }
.cdb-plan__price { margin: 0; font-size: 48px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cdb-plan__price span { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.cdb-plan__usd { margin: -12px 0 0; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cdb-plan--soon .cdb-plan__usd { color: #94A3B8; }
.cdb-plan .wp-block-buttons, .cdb-plan .wp-block-button, .cdb-plan .wp-block-button__link { width: 100%; justify-content: space-between; }
.cdb-plan .is-style-outline .wp-block-button__link { padding-right: 26px; }
.cdb-plan--popular { background: #E6F8EE; border-inline: 1px solid var(--line); }
.cdb-plan--popular h3::after { content: "Most teams"; padding: 6px 12px; border-radius: 999px; background: var(--cdb-green); color: #fff; font-size: 13px; font-weight: 600; }
.cdb-plan--soon { color: #94A3B8; }
.cdb-plan--soon h3 { color: var(--muted); }
.cdb-plan--soon .cdb-plan__price span { color: #94A3B8; }
.cdb-plan__soon { margin: 0; height: 54px; display: grid; place-items: center; border-radius: 999px; border: 1px dashed var(--line); font-weight: 600; }
.cdb-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--ink-2); }
.cdb-checks li::before { content: "✓"; margin-right: 10px; color: var(--cdb-green); font-weight: 700; }
.cdb-plan--soon .cdb-checks { color: #94A3B8; }
.cdb-plan--soon .cdb-checks li::before { content: none; }
@media (max-width: 1000px) {
  .cdb-plans { grid-template-columns: 1fr; }
  .cdb-plan--popular { border-inline: 0; border-block: 1px solid var(--line); }
  .cdb-plan { padding: 28px; }
}

/* ================= CTA band (overlaps the footer when last) ================= */
.cd-entry > .cdb-ctaband {
  position: relative; z-index: 2; max-width: calc(1440px - 160px); margin: 0 auto; padding: 80px 72px; border-radius: 40px; overflow: hidden; color: #fff;
  background-image: radial-gradient(circle, rgba(155,245,190,.28) 1.3px, transparent 1.7px), var(--cdb-hero-bg);
  background-size: 26px 26px, auto, auto;
  box-shadow: 0 40px 80px -30px rgba(0,30,20,.55);
  display: flex; align-items: end; justify-content: space-between; gap: 48px;
}
@media (max-width: 1440px) { .cd-entry > .cdb-ctaband { margin-inline: var(--cdb-pad); } }
.cd-entry > .cdb-ctaband:last-child { margin-bottom: -130px; }
.cdb-ctaband__text { max-width: 760px; }
.cdb-ctaband h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: .98; letter-spacing: -0.05em; }
.cdb-ctaband p { margin: 24px 0 0; font-size: clamp(1.1rem, 1.5vw, 1.375rem); line-height: 1.5; color: rgba(255,255,255,.88); }
.cdb-ctaband .wp-block-buttons { flex-direction: column; flex: none; }
@media (max-width: 900px) {
  .cd-entry > .cdb-ctaband { flex-direction: column; align-items: flex-start; padding: 56px 28px; border-radius: 28px; }
  .cdb-ctaband .wp-block-buttons { flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
  .cdb-fchip, .cdb-flow__hub, .cdb-node__dot, .cdb-flow__svg path.cdb-flow__dash, .cdb-tour__note::before { animation: none !important; }
  .cdb-pkt { display: none; }
  .cdb-words__in { transition: none; }
}
