/*
Theme Name: Centerly
Theme URI: https://centerlyapp.com
Description: Centerly child theme for Divi 5 — the Royal design system (violet + apricot) for centerlyapp.com and Centerly-powered community sites. Design lives here in CSS variables and retained Divi classes, never in Divi module decoration values, so a Divi update cannot restyle the site.
Author: Centerly
Author URI: https://centerlyapp.com
Template: Divi
Version: 1.7.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: centerly
*/

/* =========================================================================
   1. ROYAL TOKENS
   Single source of truth. Change a value here and the whole site follows —
   this is the hook the Brand Kit module will write to.
   ========================================================================= */

.centerly {
  /* brand */
  --cy-violet:        #6D4AE0;
  --cy-violet-hover:  #5A38C6;
  --cy-violet-soft:   #EEE9FC;
  --cy-violet-light:  #9E85F5;

  --cy-apricot:       #F58B4C;
  --cy-apricot-hover: #E9762F;
  --cy-apricot-soft:  #FCEBDD;

  /* ink */
  --cy-ink:           #1E1830;
  --cy-ink-2:         #59526E;
  --cy-muted:         #8E88A2;

  /* light surfaces */
  --cy-bg:            #F8F7FC;
  --cy-surface:       #FFFFFF;
  --cy-border:        #E7E3F3;

  /* dark / plum */
  --cy-plum:          #0D0A1F;
  --cy-plum-2:        #171233;
  --cy-on-dark:       #EDE9F7;
  --cy-on-dark-2:     #CFC7EA;

  /* type */
  --cy-font-display:  'Fraunces', Georgia, 'Times New Roman', serif;
  --cy-font-body:     'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* shape */
  --cy-radius:        18px;
  --cy-radius-sm:     12px;
  --cy-radius-pill:   999px;
  --cy-shadow:        0 18px 50px -22px rgba(30, 24, 48, .28);
  --cy-shadow-lg:     0 44px 90px -28px rgba(13, 10, 31, .45);
}

/* =========================================================================
   2. BASE TYPOGRAPHY
   ========================================================================= */

.centerly,
.centerly body {
  background: var(--cy-bg);
  color: var(--cy-ink);
  font-family: var(--cy-font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.centerly h1,
.centerly h2,
.centerly h3,
.centerly h4,
.centerly h5,
.centerly h6 {
  font-family: var(--cy-font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--cy-ink);
  text-wrap: balance;
}

.centerly h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.centerly h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.centerly h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }

.centerly p { color: var(--cy-ink-2); }
.centerly a { color: var(--cy-violet); }
.centerly a:hover { color: var(--cy-violet-hover); }

/* Numbers always align — giving totals, member counts, pricing. */
.centerly .cy-num,
.centerly .et_pb_number_counter .percent-value,
.centerly table td,
.centerly table th { font-variant-numeric: tabular-nums; }

/* Display italic accent (Fraunces italic) */
.centerly .cy-it { font-family: var(--cy-font-display); font-style: italic; font-weight: 500; }

/* Eyebrow label */
.centerly .cy-eyebrow {
  font-family: var(--cy-font-body);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cy-apricot-hover);
}

/* Violet → apricot gradient text, used on one word in a headline */
.centerly .cy-grad {
  background: linear-gradient(100deg, var(--cy-violet), var(--cy-apricot) 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================================
   3. WORDMARK
   Fixed rule: "Centerly" is ONE word. Never split into two flex items —
   that inserts a gap. The "ly" may be tinted; the word stays whole.
   ========================================================================= */

.centerly .cy-wordmark {
  font-family: var(--cy-font-body);
  font-weight: 800;
  font-size: 1.26rem;
  letter-spacing: -.03em;
  white-space: nowrap;
  display: inline;
}
.centerly .cy-wordmark .ly { color: var(--cy-violet); }
.centerly .cy-on-dark .cy-wordmark .ly,
.centerly .cy-dark .cy-wordmark .ly { color: var(--cy-violet-light); }

/* =========================================================================
   4. BUTTONS — Divi's .et_pb_button, restyled
   ========================================================================= */

.centerly .et_pb_button,
.centerly .cy-btn {
  font-family: var(--cy-font-body);
  font-weight: 700;
  font-size: .98rem;
  padding: 15px 26px !important;
  border-radius: var(--cy-radius-pill);
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  line-height: 1;
}
.centerly .et_pb_button:hover,
.centerly .cy-btn:hover { transform: translateY(-2px); }

/* Divi draws an arrow via :after — we supply our own spacing instead. */
.centerly .et_pb_button:after { display: none !important; }

.centerly .et_pb_button,
.centerly .cy-btn-primary {
  background: var(--cy-apricot);
  color: #2A1303 !important;
  box-shadow: 0 8px 30px -6px rgba(245, 139, 76, .55);
}
.centerly .et_pb_button:hover,
.centerly .cy-btn-primary:hover {
  background: var(--cy-apricot-hover);
  box-shadow: 0 10px 40px -6px rgba(245, 139, 76, .7);
}

.centerly .cy-btn-violet {
  background: var(--cy-violet);
  color: #fff !important;
  box-shadow: 0 8px 30px -8px rgba(109, 74, 224, .55);
}
.centerly .cy-btn-violet:hover { background: var(--cy-violet-hover); }

.centerly .cy-btn-ghost {
  background: transparent;
  color: var(--cy-ink) !important;
  border: 1px solid var(--cy-border);
  box-shadow: none;
}
.centerly .cy-btn-ghost:hover { border-color: var(--cy-violet); color: var(--cy-violet) !important; }

/* Glass button, for use on plum sections */
.centerly .cy-btn-glass {
  background: rgba(255,255,255,.07);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.centerly .cy-btn-glass:hover { background: rgba(255,255,255,.14); }

/* =========================================================================
   5. SECTIONS & LAYOUT (retained Divi classes only)
   NOTE: Divi 5 dropped .et_pb_column_1_2 / _1_3 / _1_4. Never size columns
   by fractional classes — size from structure with grid + :has().
   ========================================================================= */

.centerly .et_pb_section { background: transparent; }
.centerly .et_pb_section.cy-dark {
  background: var(--cy-plum);
  color: var(--cy-on-dark);
}
.centerly .cy-dark h1,
.centerly .cy-dark h2,
.centerly .cy-dark h3,
.centerly .cy-dark h4 { color: var(--cy-on-dark); }
.centerly .cy-dark p  { color: var(--cy-on-dark-2); }
.centerly .cy-dark a  { color: var(--cy-violet-light); }
.centerly .cy-dark .cy-eyebrow { color: var(--cy-apricot); }

.centerly .et_pb_section.cy-soft { background: var(--cy-violet-soft); }

/* Equal-height columns — Larry's standing preference for Divi builds. */
.centerly .et_pb_row.cy-equal { display: flex; flex-wrap: wrap; align-items: stretch; }
.centerly .et_pb_row.cy-equal > .et_pb_column { display: flex; flex-direction: column; }
.centerly .et_pb_row.cy-equal > .et_pb_column > .et_pb_module { flex: 1 1 auto; }

/* Structural column sizing, replacing the removed fractional classes. */
.centerly .et_pb_row.cy-grid { display: grid; gap: 18px; }
.centerly .et_pb_row.cy-grid:has(> .et_pb_column:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.centerly .et_pb_row.cy-grid:has(> .et_pb_column:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.centerly .et_pb_row.cy-grid:has(> .et_pb_column:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .centerly .et_pb_row.cy-grid { grid-template-columns: 1fr !important; }
}

/* =========================================================================
   6. CARDS
   ========================================================================= */

.centerly .cy-card {
  background: var(--cy-surface);
  border: 1px solid var(--cy-border);
  border-radius: var(--cy-radius);
  padding: 26px;
  box-shadow: var(--cy-shadow);
  height: 100%;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.centerly .cy-card:hover {
  transform: translateY(-6px);
  border-color: var(--cy-violet-light);
  box-shadow: 0 26px 60px -24px rgba(109, 74, 224, .4);
}
.centerly .cy-card h3 {
  font-family: var(--cy-font-body);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

/* Glass card, for plum sections */
.centerly .cy-dark .cy-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  box-shadow: none;
  color: var(--cy-on-dark);
}
.centerly .cy-dark .cy-card:hover {
  background: rgba(158,133,245,.08);
  border-color: rgba(158,133,245,.5);
}

/* Icon tile inside a card */
.centerly .cy-ic {
  width: 46px; height: 46px;
  border-radius: var(--cy-radius-sm);
  background: var(--cy-violet-soft);
  color: var(--cy-violet);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.centerly .cy-dark .cy-ic { background: rgba(158,133,245,.16); color: var(--cy-violet-light); }

/* Tag pill, e.g. "Beats LifterLMS" */
.centerly .cy-tag {
  display: inline-block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2A1303;
  background: var(--cy-apricot);
  padding: 3px 10px;
  border-radius: var(--cy-radius-pill);
  vertical-align: middle;
  margin-left: 8px;
}

/* =========================================================================
   7. FORMS — giving, contact, signup
   ========================================================================= */

.centerly input[type=text],
.centerly input[type=email],
.centerly input[type=tel],
.centerly input[type=number],
.centerly select,
.centerly textarea,
.centerly .et_pb_contact_form_label + input,
.centerly .et_pb_contact_field input,
.centerly .et_pb_contact_field textarea {
  font-family: var(--cy-font-body);
  background: var(--cy-surface);
  border: 1px solid var(--cy-border);
  border-radius: var(--cy-radius-sm);
  padding: 13px 15px;
  color: var(--cy-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.centerly input:focus,
.centerly select:focus,
.centerly textarea:focus {
  outline: 0;
  border-color: var(--cy-violet);
  box-shadow: 0 0 0 3px var(--cy-violet-soft);
}

/* =========================================================================
   8. ACCESSIBILITY
   ========================================================================= */

.centerly a:focus-visible,
.centerly button:focus-visible,
.centerly .et_pb_button:focus-visible {
  outline: 3px solid var(--cy-violet);
  outline-offset: 2px;
  border-radius: var(--cy-radius-sm);
}

.centerly .cy-skip {
  position: absolute; left: -9999px;
  background: var(--cy-violet); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--cy-radius-sm) 0;
  z-index: 100000; font-weight: 700;
}
.centerly .cy-skip:focus { left: 0; top: 0; }

@media (prefers-reduced-motion: reduce) {
  .centerly *,
  .centerly *::before,
  .centerly *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   9. BUILDER SAFETY
   Never let the design leak into Divi's own editing UI.
   ========================================================================= */

.et-fb .centerly .cy-card:hover { transform: none; }

/* =========================================================================
   10. HOMEPAGE
   Styles for the layout built by inc/layout-home.php. Everything here hangs
   off .centerly, so it cannot leak into the builder or another theme.
   ========================================================================= */

/* Divi chrome we don't want on the marketing page */
.centerly .cy-section-hero .et_pb_row,
.centerly .cy-row-wide { max-width: 1180px; width: 90%; }
.centerly .et_pb_section { padding: 0; }
.centerly .et_pb_row { padding: 88px 0; }
.centerly .cy-section-hero .et_pb_row { padding: 74px 0 84px; }
.centerly .cy-section-aud .et_pb_row { padding: 0; }

/* ---- shared bits ---- */
.centerly .cy-shead { text-align: center; max-width: 660px; margin: 0 auto; }
.centerly .cy-shead p { font-size: 1.1rem; margin-bottom: 34px; }
.centerly .cy-h-center h1,
.centerly .cy-h-center h2 { text-align: center; margin: 12px auto 0; max-width: 18ch; }
.centerly .cy-sub { font-size: 1.2rem; max-width: 40ch; margin-bottom: 28px; }
.centerly .cy-micro { margin-top: 15px; font-size: .85rem; color: var(--cy-muted); }
.centerly .cy-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.centerly .cy-cta-center { justify-content: center; margin-top: 24px; }
.centerly .cy-btn-block { width: 100%; justify-content: center; }

.centerly .cy-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 15px; border-radius: var(--cy-radius-pill);
  font-size: .8rem; font-weight: 700; color: #D8D2EC; margin-bottom: 22px;
}

/* ---- hero ---- */
.centerly .cy-hero { position: relative; }
.centerly .cy-hero-aurora { position: absolute; inset: -120px -40px; overflow: hidden; pointer-events: none; z-index: 0; }
.centerly .cy-hero-aurora span { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .5; mix-blend-mode: screen; display: block; }
.centerly .cy-hero-aurora .b1 { width: 640px; height: 640px; background: var(--cy-violet); top: -180px; left: -140px; animation: cyF1 20s ease-in-out infinite; }
.centerly .cy-hero-aurora .b2 { width: 540px; height: 540px; background: var(--cy-apricot); top: -60px; right: -120px; opacity: .38; animation: cyF2 24s ease-in-out infinite; }
.centerly .cy-hero-aurora .b3 { width: 560px; height: 560px; background: #3A2B70; bottom: -240px; left: 38%; animation: cyF3 22s ease-in-out infinite; }
@keyframes cyF1 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(90px,60px) scale(1.15) } }
@keyframes cyF2 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(-70px,80px) scale(1.1) } }
@keyframes cyF3 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(-60px,-50px) scale(1.2) } }

.centerly .cy-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
@media (max-width: 900px) { .centerly .cy-hero-grid { grid-template-columns: 1fr; } }

.centerly .cy-stage { position: relative; }
.centerly .cy-haze { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 520px; height: 440px; border-radius: 50%; background: radial-gradient(closest-side, rgba(158,133,245,.4), transparent 72%); filter: blur(20px); z-index: 0; }

.centerly .cy-console {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
  box-shadow: var(--cy-shadow-lg);
  overflow: hidden; color: var(--cy-ink);
  transform: rotate(-2.2deg);
  animation: cyFloatTilt 7s ease-in-out infinite;
}
@keyframes cyFloatTilt { 0%,100% { transform: translateY(0) rotate(-2.2deg) } 50% { transform: translateY(-12px) rotate(-2.2deg) } }
@keyframes cyFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

.centerly .cy-console .bar { height: 36px; background: #F0EEF7; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid #E4DFF0; }
.centerly .cy-console .bar i { width: 11px; height: 11px; border-radius: 50%; background: #D3CCDF; }
.centerly .cy-console .bar .u { margin-left: 12px; font-size: .72rem; color: #9A93AC; background: #fff; border-radius: 6px; padding: 4px 12px; }
.centerly .cy-console .capp { display: grid; grid-template-columns: 140px 1fr; }
.centerly .cy-console .crail { background: #FAF9FF; border-right: 1px solid #EEE7F7; padding: 13px 9px; }
.centerly .cy-console .crail .lg { margin-bottom: 12px; }
.centerly .cy-console .crail .lg .cy-wordmark { font-size: .85rem; }
.centerly .cy-console .crail .r { font-size: .76rem; color: #6A6385; padding: 7px 9px; border-radius: 8px; font-weight: 600; }
.centerly .cy-console .crail .r.on { background: var(--cy-violet-soft); color: var(--cy-violet-hover); }
.centerly .cy-console .cbody { padding: 16px 18px; }
.centerly .cy-console .cbody .h { font-family: var(--cy-font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; color: var(--cy-ink); }
.centerly .cy-console .ck { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 12px; }
.centerly .cy-console .kk { background: #fff; border: 1px solid #EEE7F7; border-radius: 10px; padding: 10px; }
.centerly .cy-console .kk .l { font-size: .56rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #8A83A0; }
.centerly .cy-console .kk .v { font-family: var(--cy-font-display); font-size: 1.3rem; font-weight: 600; margin-top: 3px; }
.centerly .cy-console .kk .d { font-size: .58rem; color: #2E9E6B; font-weight: 800; }
.centerly .cy-console .cchart { background: #fff; border: 1px solid #EEE7F7; border-radius: 10px; padding: 11px; }
.centerly .cy-console .cchart .lbl { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8A83A0; margin-bottom: 5px; }
.centerly .cy-console .cchart svg { width: 100%; height: 74px; display: block; }

.centerly .cy-chip {
  position: absolute; z-index: 3;
  background: rgba(23,18,51,.72); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18); border-radius: 13px;
  padding: 11px 15px; box-shadow: 0 16px 40px -14px rgba(0,0,0,.6);
}
.centerly .cy-chip .n { font-family: var(--cy-font-display); font-size: 1.35rem; font-weight: 600; color: #fff; }
.centerly .cy-chip .t { font-size: .64rem; color: #C9BFF0; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.centerly .cy-chip-1 { top: -16px; left: -14px; animation: cyFloat 6s ease-in-out infinite; }
.centerly .cy-chip-2 { bottom: 24px; right: -16px; animation: cyFloat 8s ease-in-out .6s infinite; }
@media (max-width: 900px) { .centerly .cy-chip { display: none; } }

/* ---- audience strip ---- */
.centerly .cy-aud {
  text-align: center; color: var(--cy-muted); font-weight: 700; font-size: .98rem;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.centerly .cy-aud span { color: #E5DFFB; }
.centerly .cy-aud b { color: var(--cy-apricot); }

/* ---- card grids ---- */
.centerly .cy-cards { display: grid; gap: 18px; }
.centerly .cy-cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .centerly .cy-cards-3 { grid-template-columns: 1fr; } }
.centerly .cy-n { font-family: var(--cy-font-display); font-style: italic; color: var(--cy-apricot); font-size: 1.2rem; }
.centerly .cy-ic { font-size: 1.4rem; line-height: 1; }

/* ---- deep-dive feature rows ---- */
.centerly .cy-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.centerly .cy-feat-alt { direction: rtl; }
.centerly .cy-feat-alt > * { direction: ltr; }
@media (max-width: 900px) { .centerly .cy-feat, .centerly .cy-feat-alt { grid-template-columns: 1fr; direction: ltr; } }
.centerly .cy-feat h3 { font-size: 2rem; margin: 12px 0 14px; }
.centerly .cy-feat .cy-eyebrow { color: var(--cy-violet-light); }

.centerly .cy-checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.centerly .cy-checks li { position: relative; padding-left: 30px; font-size: .97rem; }
.centerly .cy-checks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 9px; border-left: 2.4px solid var(--cy-apricot); border-bottom: 2.4px solid var(--cy-apricot);
  transform: rotate(-45deg);
}

.centerly .cy-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--cy-radius); padding: 20px; backdrop-filter: blur(8px); }
.centerly .cy-panel-label { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cy-muted); margin-bottom: 12px; }
.centerly .cy-panel-foot { text-align: center; font-size: .74rem; color: var(--cy-muted); margin-top: 10px; }
.centerly .cy-lz { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 11px 13px; margin-bottom: 9px; }
.centerly .cy-lz .bd { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .6rem; flex: none; }
.centerly .cy-lz .bV { background: rgba(158,133,245,.2); color: var(--cy-violet-light); }
.centerly .cy-lz .bA { background: rgba(245,139,76,.2); color: #F6B98D; }
.centerly .cy-lz .bL { background: rgba(46,158,107,.2); color: #67D6A3; }
.centerly .cy-lz .bQ { background: rgba(158,133,245,.16); color: #C9BFF0; }
.centerly .cy-lz .lt { font-weight: 700; font-size: .9rem; color: #fff; }
.centerly .cy-lz .ls { font-size: .74rem; color: var(--cy-muted); }
.centerly .cy-lz .meta { margin-left: auto; font-size: .68rem; color: var(--cy-muted); font-weight: 700; }

.centerly .cy-brow { display: flex; gap: 10px; margin-bottom: 14px; }
.centerly .cy-sw { flex: 1; }
.centerly .cy-sw .l { font-size: .64rem; color: var(--cy-muted); font-weight: 800; margin-bottom: 5px; }
.centerly .cy-sw .c { height: 40px; border-radius: 10px; }
.centerly .cy-sw .cy-aa { background: #fff; color: var(--cy-ink); display: flex; align-items: center; justify-content: center; font-family: var(--cy-font-display); font-weight: 600; }
.centerly .cy-mini { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 11px; padding: 15px; }
.centerly .cy-mini .bar1 { height: 9px; width: 44%; background: var(--cy-violet-light); border-radius: 5px; margin-bottom: 8px; }
.centerly .cy-mini .bar2 { height: 7px; width: 80%; background: rgba(255,255,255,.22); border-radius: 5px; margin-bottom: 6px; }
.centerly .cy-mini .bar3 { height: 7px; width: 64%; background: rgba(255,255,255,.22); border-radius: 5px; margin-bottom: 13px; }
.centerly .cy-mini-btn { display: inline-block; background: var(--cy-apricot); color: #2A1303; font-weight: 800; font-size: .72rem; padding: 7px 14px; border-radius: var(--cy-radius-pill); }

/* ---- pricing ---- */
.centerly .cy-pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 840px; margin: 0 auto; }
@media (max-width: 760px) { .centerly .cy-pgrid { grid-template-columns: 1fr; } }
.centerly .cy-tier { background: var(--cy-surface); border: 1.5px solid var(--cy-border); border-radius: var(--cy-radius); padding: 30px; position: relative; }
.centerly .cy-tier-featured { border-color: var(--cy-violet); box-shadow: 0 20px 50px -22px rgba(109,74,224,.45); }
.centerly .cy-tier .cy-bdg { position: absolute; top: -13px; left: 30px; background: var(--cy-violet); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--cy-radius-pill); }
.centerly .cy-tier h3 { font-family: var(--cy-font-body); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.centerly .cy-tier .sub { color: var(--cy-muted); font-size: .9rem; margin: 4px 0 18px; }
.centerly .cy-tier .cy-checks { margin-bottom: 22px; }
.centerly .cy-freeline { text-align: center; color: var(--cy-ink-2); font-size: .92rem; margin-top: 22px; }
.centerly .cy-freeline b { color: var(--cy-apricot-hover); }

/* ---- quote ---- */
.centerly .cy-quote { text-align: center; }
.centerly .cy-quote blockquote { font-family: var(--cy-font-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.3; max-width: 20ch; margin: 0 auto; color: #fff; border: 0; padding: 0; }
.centerly .cy-quote .a { margin-top: 18px; color: var(--cy-muted); font-weight: 600; font-size: .88rem; }
.centerly .cy-quote .ph { margin-top: 6px; font-size: .7rem; color: var(--cy-apricot); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

/* =========================================================================
   11. DARK SECTIONS — selected structurally
   Divi renders this page through the Divi 4 compatibility framework, which
   drops the Divi 5 `className` attribute. So instead of naming sections, we
   select them by what they contain. Survives reordering; no markup needed.
   ========================================================================= */

.centerly .et_pb_section:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow), :has(.cy-quote)
) {
  background: var(--cy-plum);
  color: var(--cy-on-dark);
}
.centerly .et_pb_section:is(:has(.cy-hero), :has(.cy-aud)) { background: var(--cy-plum); }
.centerly .et_pb_section:is(:has(.cy-ic), :has(.cy-lz), :has(.cy-brow)) { background: var(--cy-plum-2); }
.centerly .et_pb_section:has(.cy-quote) { background: var(--cy-plum); }

.centerly .et_pb_section:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow), :has(.cy-quote)
) :is(h1, h2, h3, h4, .cy-card h3) { color: var(--cy-on-dark); }

.centerly .et_pb_section:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow), :has(.cy-quote)
) :is(p, li, .cy-sub) { color: var(--cy-on-dark-2); }

.centerly .et_pb_section:is(:has(.cy-ic), :has(.cy-lz), :has(.cy-brow)) .cy-eyebrow { color: var(--cy-apricot); }
.centerly .et_pb_section:is(:has(.cy-ic), :has(.cy-lz), :has(.cy-brow)) .cy-feat .cy-eyebrow { color: var(--cy-violet-light); }

/* Glass cards on the dark module grid */
.centerly .et_pb_section:has(.cy-ic) .cy-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.centerly .et_pb_section:has(.cy-ic) .cy-card:hover {
  background: rgba(158,133,245,.08);
  border-color: rgba(158,133,245,.5);
}
.centerly .et_pb_section:has(.cy-ic) .cy-ic { background: rgba(158,133,245,.16); color: var(--cy-violet-light); }

/* The console must stay light — it is a screenshot of the product */
.centerly .cy-console,
.centerly .cy-console :is(h1,h2,h3,h4,p) { color: var(--cy-ink); }

/* Divi's default light text color class fights us on dark sections */
.centerly .et_pb_section:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow), :has(.cy-quote)
) .et_pb_text.et_pb_bg_layout_light { color: var(--cy-on-dark); }

/* Divi 4 framework re-adds section padding we already control on the row */
.centerly .et_pb_section { padding: 0; }
.centerly .et_pb_row { width: 90%; max-width: 1180px; margin: 0 auto; }

/* Count-up chips need the script; without JS they still read correctly */
.centerly .cy-chip .n { min-width: 3ch; }

/* =========================================================================
   12. HEADER & FOOTER
   Divi renders its own header markup and colors it from Theme Options, so
   a child theme has to restyle it explicitly — it does not inherit the page
   design. The logo itself is a Theme Option (divi_logo), set by
   Appearance > Centerly Setup, not markup we can change here.
   ========================================================================= */

.centerly #main-header,
.centerly #main-header.et-fixed-header {
  background: rgba(13, 10, 31, .82) !important;
  backdrop-filter: blur(14px);
  box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Nav links */
.centerly #top-menu li a,
.centerly #et-top-navigation .et-cart-info,
.centerly #et_top_search .et-search-field,
.centerly .et_search_outer .et-search-field {
  color: var(--cy-on-dark-2) !important;
  font-family: var(--cy-font-body);
  font-weight: 600;
  font-size: .94rem;
}
.centerly #top-menu li a:hover,
.centerly #top-menu li.current-menu-item > a {
  color: #fff !important;
  opacity: 1;
}

/* Divi's blue underline/accent on the active item */
.centerly #top-menu li.current-menu-item > a { color: var(--cy-violet-light) !important; }

/* Search icon */
.centerly #et_top_search .et-search-field,
.centerly #et_search_icon:before { color: var(--cy-on-dark-2) !important; }
.centerly #et_search_icon:hover:before { color: #fff !important; }

/* Logo sizing — the file is 560x130 with transparency */
.centerly #logo { max-height: 46px; width: auto; }

/* Mobile menu */
.centerly .et_mobile_menu {
  background: var(--cy-plum-2);
  border-top-color: var(--cy-violet);
}
.centerly .et_mobile_menu li a { color: var(--cy-on-dark-2); border-bottom-color: rgba(255,255,255,.08); }
.centerly .et_mobile_menu li a:hover { color: #fff; background: rgba(158,133,245,.1); }
.centerly .mobile_menu_bar:before { color: var(--cy-on-dark-2) !important; }

/* The hero sits directly under a transparent-ish header — no white gap */
.centerly #page-container { background: var(--cy-plum); }

/* Footer */
.centerly #main-footer { background: var(--cy-plum); border-top: 1px solid rgba(255,255,255,.08); }
.centerly #footer-bottom { background: transparent; }
.centerly #footer-info,
.centerly #footer-info a { color: var(--cy-muted); }
.centerly #footer-info a:hover { color: var(--cy-violet-light); }
.centerly #main-footer .et-social-icon a { color: var(--cy-muted); }
.centerly #main-footer .et-social-icon a:hover { color: var(--cy-apricot); }

/* =========================================================================
   13. INNER PAGES
   Features / Pricing / Demo / For Centers / Migrate
   ========================================================================= */

/* ---- compact page hero ---- */
.centerly .cy-phero { position: relative; padding: 26px 0 10px; }
.centerly .cy-phero .cy-hero-aurora { inset: -80px -40px; }
.centerly .cy-phero-inner { position: relative; z-index: 2; max-width: 46ch; }
.centerly .cy-phero h1 { margin: 12px 0 16px; }
.centerly .cy-phero .cy-sub { max-width: 46ch; margin-bottom: 0; }
.centerly .et_pb_section:has(.cy-phero) { background: var(--cy-plum); }
.centerly .et_pb_section:has(.cy-phero) :is(h1, h2, h3) { color: var(--cy-on-dark); }
.centerly .et_pb_section:has(.cy-phero) p { color: var(--cy-on-dark-2); }

/* ---- quiet panel used on Features ---- */
.centerly .cy-panel-quiet { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; }
.centerly .cy-modmark { opacity: .5; margin-top: 10px; }
.centerly .cy-note { font-size: .9rem; color: var(--cy-muted); }
.centerly .cy-center { text-align: center; }

/* ---- pricing ---- */
.centerly .cy-pgrid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
@media (max-width: 1000px) { .centerly .cy-pgrid-3 { grid-template-columns: 1fr; } }
.centerly .cy-price { margin: 10px 0 2px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.centerly .cy-price-num { font-family: var(--cy-font-display); font-size: 2.6rem; font-weight: 600; color: var(--cy-ink); line-height: 1; }
.centerly .cy-price-per { font-size: .9rem; color: var(--cy-muted); font-weight: 600; }
.centerly .cy-price-tbd {
  display: inline-block; font-size: .82rem; font-weight: 700;
  color: var(--cy-apricot-hover); background: var(--cy-apricot-soft);
  padding: 6px 12px; border-radius: var(--cy-radius-pill);
}
.centerly .cy-tier .cy-checks { flex: 1; }
.centerly .cy-tier { display: flex; flex-direction: column; }

/* ---- FAQ ---- */
.centerly .cy-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.centerly .cy-faq-item { background: var(--cy-surface); border: 1px solid var(--cy-border); border-radius: var(--cy-radius); padding: 22px 26px; }
.centerly .cy-faq-item h3 { font-family: var(--cy-font-body); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 6px; }
.centerly .cy-faq-item p { font-size: .96rem; margin: 0; }

/* ---- demo tour ---- */
.centerly .cy-tour { max-width: 940px; margin: 0 auto; }
.centerly .cy-tour-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.centerly .cy-tab {
  font-family: var(--cy-font-body); font-weight: 700; font-size: .9rem;
  padding: 10px 20px; border-radius: var(--cy-radius-pill); cursor: pointer;
  background: rgba(255,255,255,.06); color: var(--cy-on-dark-2);
  border: 1px solid rgba(255,255,255,.16); transition: background .15s, color .15s;
}
.centerly .cy-tab:hover { background: rgba(255,255,255,.12); color: #fff; }
.centerly .cy-tab.is-on { background: var(--cy-violet); border-color: var(--cy-violet); color: #fff; }
.centerly .cy-console-flat { transform: none; animation: none; }
.centerly .cy-panel-view { display: none; }
.centerly .cy-panel-view.is-on { display: block; }
.centerly .cy-console .crail .r.is-on { background: var(--cy-violet-soft); color: var(--cy-violet-hover); }

.centerly .cy-rowlist { display: grid; gap: 6px; }
.centerly .cy-rowitem { display: grid; grid-template-columns: 1.1fr 1fr auto auto; gap: 10px; align-items: center; background: #fff; border: 1px solid #EEE7F7; border-radius: 9px; padding: 9px 12px; font-size: .78rem; }
.centerly .cy-rowitem .who { font-weight: 700; color: var(--cy-ink); }
.centerly .cy-rowitem .fund { color: #8A83A0; }
.centerly .cy-rowitem .amt { font-weight: 700; color: var(--cy-ink); }
.centerly .cy-rowitem .tagr { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--cy-violet-hover); background: var(--cy-violet-soft); padding: 3px 8px; border-radius: var(--cy-radius-pill); }
.centerly .cy-note-inline { margin-top: 10px; font-size: .74rem; color: #8A83A0; }
.centerly .cy-lz-light { background: #fff; border-color: #EEE7F7; }
.centerly .cy-lz-light .lt { color: var(--cy-ink); }
.centerly .cy-lz-light .ls, .centerly .cy-lz-light .meta { color: #8A83A0; }

/* ---- vocabulary table (For Centers) ---- */
.centerly .cy-vocab { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; max-width: 900px; margin: 0 auto 18px; }
@media (max-width: 860px) { .centerly .cy-vocab { grid-template-columns: 1fr; } .centerly .cy-vocab-arrow { display: none; } }
.centerly .cy-vocab-col { background: var(--cy-surface); border: 1px solid var(--cy-border); border-radius: var(--cy-radius); padding: 24px; }
.centerly .cy-vocab-h { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cy-muted); margin-bottom: 12px; }
.centerly .cy-vocab-arrow { font-size: 1.6rem; color: var(--cy-violet); }
.centerly .cy-xlist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.centerly .cy-xlist li { position: relative; padding-left: 30px; color: var(--cy-muted); text-decoration: line-through; }
.centerly .cy-xlist li::before { content: "\00d7"; position: absolute; left: 4px; top: -2px; color: var(--cy-muted); font-size: 1.1rem; text-decoration: none; }
.centerly .cy-cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .centerly .cy-cards-2 { grid-template-columns: 1fr; } }

/* ---- migrate steps ---- */
.centerly .cy-steps { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; }
.centerly .cy-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: var(--cy-surface); border: 1px solid var(--cy-border); border-radius: var(--cy-radius); padding: 22px 26px; }
.centerly .cy-step-n { width: 38px; height: 38px; border-radius: 50%; background: var(--cy-violet-soft); color: var(--cy-violet-hover); font-family: var(--cy-font-display); font-weight: 600; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.centerly .cy-step h3 { font-family: var(--cy-font-body); font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.centerly .cy-step p { font-size: .95rem; margin: 0; }

.centerly .cy-callout { max-width: 800px; margin: 0 auto; background: var(--cy-apricot-soft); border: 1px solid #F3D3B8; border-left: 4px solid var(--cy-apricot); border-radius: var(--cy-radius); padding: 24px 28px; }
.centerly .cy-callout h3 { font-family: var(--cy-font-body); font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; color: var(--cy-ink); }
.centerly .cy-callout p { color: var(--cy-ink-2); margin: 0; font-size: .96rem; }

/* FAQ section keeps the light ground */
.centerly .cy-section-faq { background: var(--cy-bg); }

/* Inner-page hero: headline was wrapping into a narrow column */
.centerly .cy-phero-inner { max-width: 62ch; }
.centerly .cy-phero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); max-width: 20ch; }
.centerly .cy-phero .cy-sub { max-width: 54ch; font-size: 1.12rem; }
.centerly .et_pb_section:has(.cy-phero) .et_pb_row { padding: 56px 0 48px; }

/* -------------------------------------------------------------------------
   Section ground truth.
   #page-container is plum so the fixed header has no white seam behind it,
   but that made every transparent section inherit plum. Sections default to
   the light ground; the dark list in section 11 overrides where wanted.
   ------------------------------------------------------------------------- */
.centerly .et_pb_section { background: var(--cy-bg); }

.centerly .et_pb_section:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow),
  :has(.cy-quote), :has(.cy-phero), :has(.cy-vocab)
) { background: var(--cy-plum); }

.centerly .et_pb_section:is(:has(.cy-ic), :has(.cy-lz), :has(.cy-brow)) { background: var(--cy-plum-2); }

/* For Centers: the vocabulary panels sit on plum but are light cards */
.centerly .cy-vocab-col { color: var(--cy-ink); }
.centerly .cy-vocab-col p { color: var(--cy-ink-2); }
.centerly .et_pb_section:has(.cy-vocab) .cy-vocab-col :is(li, .cy-vocab-h) { color: inherit; }
.centerly .et_pb_section:has(.cy-vocab) .cy-checks li { color: var(--cy-ink-2); }
.centerly .et_pb_section:has(.cy-vocab) .cy-xlist li { color: var(--cy-muted); }

/* -------------------------------------------------------------------------
   Full-bleed hero aurora.
   The aurora lives inside a Divi text module, which sits inside the row —
   so it was clipped to the row's 1180px and the glow stopped short of the
   viewport edges. Break it out to full width; the section clips the
   overflow so no horizontal scrollbar appears.
   ------------------------------------------------------------------------- */
.centerly .et_pb_section:is(:has(.cy-hero), :has(.cy-phero)) { overflow: hidden; }

.centerly .cy-hero-aurora {
  position: absolute;
  top: -160px;
  bottom: -160px;
  left: 50%;
  right: auto;
  width: 100vw;
  margin-left: -50vw;
  inset-inline: auto;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Spread the blobs across the wider canvas so the glow reaches both edges */
.centerly .cy-hero-aurora .b1 { width: 46vw; height: 46vw; max-width: 760px; max-height: 760px; top: -14%; left: -6%; }
.centerly .cy-hero-aurora .b2 { width: 40vw; height: 40vw; max-width: 660px; max-height: 660px; top: -8%; right: -6%; left: auto; }
.centerly .cy-hero-aurora .b3 { width: 42vw; height: 42vw; max-width: 700px; max-height: 700px; bottom: -30%; left: 34%; }

/* Corrected full-bleed aurora.
   The previous rule's `inset-inline: auto` cancelled `left: 50%`, shifting
   the whole layer ~600px left. Center it with a transform instead. */
.centerly .cy-hero-aurora {
  left: 50%;
  right: auto;
  margin-left: 0;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
}

/* =========================================================================
   14. RESPONSIVE
   Every page has to hold up on a phone, not just narrow gracefully.
   Breakpoints: 1100 (small laptop), 900 (tablet), 620 (phone).
   ========================================================================= */

/* Nothing may cause a horizontal scrollbar */
.centerly, .centerly body { overflow-x: hidden; }
.centerly img, .centerly svg { max-width: 100%; height: auto; }

@media (max-width: 1100px) {
  .centerly .et_pb_row { width: 92%; padding: 68px 0; }
  .centerly .cy-hero-grid { gap: 32px; }
  .centerly .cy-feat { gap: 32px; }
}

@media (max-width: 900px) {
  .centerly .et_pb_row { padding: 56px 0; }
  .centerly .cy-section-hero .et_pb_row { padding: 44px 0 56px; }

  /* Hero stacks; console sits below the copy and stops tilting */
  .centerly .cy-hero-grid { grid-template-columns: 1fr; }
  .centerly .cy-sub { max-width: none; }
  .centerly .cy-console { transform: none; animation: none; }
  .centerly .cy-haze { width: 90%; height: 70%; }

  /* Deep-dive rows and cards go single column */
  .centerly .cy-feat,
  .centerly .cy-feat-alt { grid-template-columns: 1fr; direction: ltr; }
  .centerly .cy-cards-2,
  .centerly .cy-cards-3 { grid-template-columns: 1fr; }
  .centerly .cy-pgrid,
  .centerly .cy-pgrid-3 { grid-template-columns: 1fr; }
  .centerly .cy-vocab { grid-template-columns: 1fr; }
  .centerly .cy-vocab-arrow { display: none; }

  /* Featured tier badge would collide with the stacked card above */
  .centerly .cy-tier-featured { margin-top: 14px; }

  .centerly .cy-h-center h1,
  .centerly .cy-h-center h2 { max-width: 24ch; }
}

@media (max-width: 620px) {
  .centerly .et_pb_row { width: 100%; padding: 40px 20px; }
  .centerly .cy-section-hero .et_pb_row { padding: 28px 20px 44px; }

  .centerly h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .centerly h2 { font-size: clamp(1.6rem, 6.4vw, 2rem); }
  .centerly h3 { font-size: 1.25rem; }
  .centerly .cy-sub { font-size: 1.02rem; }
  .centerly .cy-phero h1 { font-size: clamp(1.8rem, 7.6vw, 2.3rem); max-width: none; }

  /* Buttons go full width and stack — thumb targets, not tiny pills */
  .centerly .cy-cta-row { flex-direction: column; align-items: stretch; }
  .centerly .cy-cta-row .cy-btn,
  .centerly .et_pb_button { width: 100%; justify-content: center; }

  .centerly .cy-badge { font-size: .74rem; padding: 6px 12px; }

  /* Console: drop the sidebar, it is unreadable at this width */
  .centerly .cy-console .capp { grid-template-columns: 1fr; }
  .centerly .cy-console .crail { display: none; }
  .centerly .cy-console .ck { grid-template-columns: 1fr; gap: 7px; }
  .centerly .cy-console .cbody { padding: 13px 14px; }

  /* Giving rows stack into labelled lines */
  .centerly .cy-rowitem { grid-template-columns: 1fr auto; row-gap: 3px; }
  .centerly .cy-rowitem .fund { grid-column: 1; font-size: .72rem; }
  .centerly .cy-rowitem .tagr { grid-column: 2; justify-self: end; }

  /* Cards, panels, steps: tighter padding so text is not in a gutter */
  .centerly .cy-card,
  .centerly .cy-tier,
  .centerly .cy-faq-item,
  .centerly .cy-vocab-col,
  .centerly .cy-callout { padding: 20px; }
  .centerly .cy-step { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .centerly .cy-panel { padding: 16px; }

  /* Demo tour tabs scroll horizontally rather than wrapping into a block */
  .centerly .cy-tour-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .centerly .cy-tour-tabs::-webkit-scrollbar { display: none; }
  .centerly .cy-tab { flex: 0 0 auto; }

  .centerly .cy-lz { flex-wrap: wrap; }
  .centerly .cy-lz .meta { margin-left: 0; width: 100%; }

  .centerly .cy-price-num { font-size: 2.2rem; }
  .centerly #logo { max-height: 34px; }
}

/* Landscape phones: keep the hero from eating the whole viewport */
@media (max-height: 520px) and (orientation: landscape) {
  .centerly .cy-section-hero .et_pb_row { padding: 28px 0; }
  .centerly .cy-hero-aurora { top: -60px; bottom: -60px; }
}

/* -------------------------------------------------------------------------
   Inner-page hero, corrected.

   1. Section 13's `.cy-phero .cy-hero-aurora { inset }` outranks the
      full-bleed rule, so the aurora stayed clipped to the row. Beat it on
      specificity rather than editing history.
   2. The left-aligned two-column hero belongs to the homepage, where the
      console fills the right half. On inner pages there is nothing there,
      so the header reads as broken. Center it.
   ------------------------------------------------------------------------- */

.centerly .et_pb_section:has(.cy-phero) .cy-hero-aurora {
  inset: auto;
  top: -140px;
  bottom: -140px;
  left: 50%;
  right: auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: 0;
  transform: translateX(-50%);
}

.centerly .cy-phero { padding: 40px 0 34px; text-align: center; }
.centerly .cy-phero-inner { max-width: 760px; margin: 0 auto; }
.centerly .cy-phero h1 { max-width: 18ch; margin: 14px auto 18px; }
.centerly .cy-phero .cy-sub { max-width: 58ch; margin: 0 auto; }
.centerly .cy-phero .cy-eyebrow { display: block; }

/* Slightly tighter aurora on the shorter inner heroes so the glow reads as
   a band behind the title rather than a full-height wash. */
.centerly .et_pb_section:has(.cy-phero) .cy-hero-aurora .b1 { top: -30%; left: 2%; }
.centerly .et_pb_section:has(.cy-phero) .cy-hero-aurora .b2 { top: -24%; right: 2%; }
.centerly .et_pb_section:has(.cy-phero) .cy-hero-aurora .b3 { display: none; }

@media (max-width: 620px) {
  .centerly .cy-phero { padding: 26px 0 22px; }
  .centerly .cy-phero h1 { max-width: none; }
}

/* =========================================================================
   15. FOREGROUND TOKENS  (supersedes the color rules in section 11)

   Section 11 colored dark-section text with a hand-maintained selector
   list, so a section could get a dark background without getting light
   text — which is exactly what happened to the vocabulary section.

   Instead: every section publishes --cy-fg / --cy-fg-2, and all text reads
   from those. Light surfaces sitting on a dark section (white cards, the
   console) republish the light values for their own subtree. Add a new
   dark section and its text is correct automatically.
   ========================================================================= */

.centerly .et_pb_section {
  --cy-fg:   var(--cy-ink);
  --cy-fg-2: var(--cy-ink-2);
  --cy-fg-3: var(--cy-muted);
}

.centerly .et_pb_section:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow),
  :has(.cy-quote), :has(.cy-phero), :has(.cy-vocab)
) {
  --cy-fg:   var(--cy-on-dark);
  --cy-fg-2: var(--cy-on-dark-2);
  --cy-fg-3: var(--cy-muted);
}

/* Light surfaces republish the light palette for everything inside them */
.centerly .cy-vocab-col,
.centerly .cy-tier,
.centerly .cy-faq-item,
.centerly .cy-step,
.centerly .cy-callout,
.centerly .cy-console,
.centerly .cy-rowitem,
.centerly .cy-lz-light {
  --cy-fg:   var(--cy-ink);
  --cy-fg-2: var(--cy-ink-2);
  --cy-fg-3: #8A83A0;
}

/* Everything that carries text reads the token */
.centerly .et_pb_section :is(h1, h2, h3, h4, h5, h6) { color: var(--cy-fg); }
.centerly .et_pb_section :is(p, li, blockquote, dd, dt, td, th) { color: var(--cy-fg-2); }
.centerly .et_pb_section .et_pb_text { color: var(--cy-fg-2); }
.centerly .cy-panel-label,
.centerly .cy-vocab-h,
.centerly .cy-panel-foot,
.centerly .cy-note,
.centerly .cy-note-inline { color: var(--cy-fg-3); }

/* The struck-through "what other platforms assume" column stays muted,
   but muted against a WHITE card, not against plum. */
.centerly .cy-vocab-col .cy-xlist li { color: var(--cy-muted); }
.centerly .cy-vocab-col .cy-checks li { color: var(--cy-ink-2); }

/* Console internals are always on white */
.centerly .cy-console :is(.h, .kk .v, .lt) { color: var(--cy-ink); }
.centerly .cy-console :is(.kk .l, .cchart .lbl, .ls, .meta) { color: #8A83A0; }

/* Accent text that must not be overridden by the generic rules above */
.centerly .cy-grad { color: transparent; }
.centerly .cy-eyebrow { color: var(--cy-apricot); }
.centerly .cy-feat .cy-eyebrow { color: var(--cy-violet-light); }
.centerly .et_pb_section:not(:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow),
  :has(.cy-quote), :has(.cy-phero), :has(.cy-vocab)
)) .cy-feat .cy-eyebrow { color: var(--cy-violet); }
.centerly .cy-quote blockquote { color: #fff; }
.centerly .cy-freeline b,
.centerly .cy-quote .ph { color: var(--cy-apricot-hover); }
.centerly .et_pb_section:has(.cy-quote) .cy-quote .ph { color: var(--cy-apricot); }
.centerly .cy-n { color: var(--cy-apricot); }
.centerly .cy-price-num { color: var(--cy-ink); }
.centerly .cy-step-n { color: var(--cy-violet-hover); }
.centerly .cy-callout h3 { color: var(--cy-ink); }
.centerly .cy-rowitem .who,
.centerly .cy-rowitem .amt { color: var(--cy-ink); }
.centerly .cy-rowitem .tagr { color: var(--cy-violet-hover); }
.centerly .cy-chip .n { color: #fff; }
.centerly .cy-chip .t { color: #C9BFF0; }
.centerly .cy-aud span { color: #E5DFFB; }
.centerly .cy-aud b { color: var(--cy-apricot); }

/* -------------------------------------------------------------------------
   Contrast corrections (found by an automated ratio scan, not by eye).

   1. Light surfaces republished --cy-fg but never reset `color`, so text
      inherited the dark-section color straight through the white card.
      Measured 1.61:1 on the demo module labels.
   2. Apricot on the light ground measured 2.27:1 — fine as a graphic accent,
      not legible as text. Eyebrows get a darker apricot on light sections.
   ------------------------------------------------------------------------- */

.centerly .cy-vocab-col,
.centerly .cy-tier,
.centerly .cy-faq-item,
.centerly .cy-step,
.centerly .cy-callout,
.centerly .cy-console,
.centerly .cy-rowitem,
.centerly .cy-lz-light { color: var(--cy-fg-2); }

.centerly .cy-lz-light .meta,
.centerly .cy-lz-light .ls,
.centerly .cy-console .meta,
.centerly .cy-console .ls { color: #6A6385; }

/* Apricot is a 2.27:1 accent on #F8F7FC — too low for text. Darken it for
   light grounds; the dark sections keep the brighter brand apricot. */
.centerly {
  --cy-apricot-on-light: #A64B10;
}
.centerly .et_pb_section:not(:is(
  :has(.cy-hero), :has(.cy-aud), :has(.cy-ic), :has(.cy-lz), :has(.cy-brow),
  :has(.cy-quote), :has(.cy-phero), :has(.cy-vocab)
)) :is(.cy-eyebrow, .cy-n, .cy-freeline b, .cy-quote .ph) {
  color: var(--cy-apricot-on-light);
}

/* Badges were colored for the dark homepage panel; on the demo page they
   sit on white cards, where the tints measured 1.7:1. Darken for light. */
.centerly .cy-lz-light .bd { font-weight: 800; }
.centerly .cy-lz-light .bV { background: var(--cy-violet-soft);  color: #4A2CB0; }
.centerly .cy-lz-light .bA { background: var(--cy-apricot-soft); color: #8F3F0C; }
.centerly .cy-lz-light .bL { background: #DCF3E8;                color: #14663F; }
.centerly .cy-lz-light .bQ { background: var(--cy-violet-soft);  color: #4A2CB0; }

/* The "pricing being finalised" pill measured 2.55:1 on its own soft ground */
.centerly .cy-price-tbd { color: var(--cy-apricot-on-light); }

/* Console browser-bar label */
.centerly .cy-console .bar .u { color: #6A6385; }

/* Section headings.
   `cy-h-center` was set as a block className, which Divi's Divi 4
   compatibility framework drops — so it never applied. h2 is only ever used
   as a section heading here (cards and feature rows use h3), so center it
   structurally instead of relying on a class that does not survive. */
.centerly .et_pb_section h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}
@media (max-width: 620px) {
  .centerly .et_pb_section h2 { max-width: none; }
}

/* =========================================================================
   16. FOOTER
   Divi's default footer credit and social icons are replaced through Theme
   Options by Appearance > Centerly Setup; this styles what lands there.
   ========================================================================= */

.centerly #main-footer { background: var(--cy-plum); border-top: 1px solid rgba(255,255,255,.08); }
.centerly #footer-bottom { background: transparent; padding: 0; }
.centerly #footer-bottom .container { width: 90%; max-width: 1180px; padding: 0; }
.centerly #footer-info { float: none; padding: 0; margin: 0; }
.centerly .et-social-icons { display: none; }

.centerly .cy-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  font-family: var(--cy-font-body);
}
.centerly .cy-footer-brand { display: flex; align-items: center; gap: 9px; }
.centerly .cy-footer-brand .cy-wordmark { font-size: 1.05rem; color: #fff; }

.centerly .cy-footer-nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.centerly .cy-footer-nav a {
  color: var(--cy-on-dark-2);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}
.centerly .cy-footer-nav a:hover { color: #fff; }

.centerly .cy-footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
  font-size: .82rem;
  color: var(--cy-muted);
}
.centerly .cy-footer-parent a {
  color: var(--cy-violet-light);
  text-decoration: none;
  font-weight: 600;
}
.centerly .cy-footer-parent a:hover { color: var(--cy-apricot); text-decoration: underline; }

@media (max-width: 900px) {
  .centerly .cy-footer { grid-template-columns: 1fr; justify-items: center; gap: 18px; text-align: center; }
  .centerly .cy-footer-legal { align-items: center; text-align: center; }
}
@media (max-width: 620px) {
  .centerly .cy-footer { padding: 24px 0; }
  .centerly .cy-footer-nav { gap: 14px 18px; }
}

/* Divi's footer is hidden; ours is rendered on wp_footer (see functions.php).
   Divi sanitizes the custom-credit HTML, stripping classes and structure, so
   it cannot carry a real layout. */
.centerly #main-footer { display: none; }

.centerly .cy-site-footer {
  background: var(--cy-plum);
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--cy-font-body);
}
.centerly .cy-site-footer .cy-footer {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
}
.centerly .cy-site-footer .cy-footer-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.centerly .cy-site-footer .cy-footer-brand .cy-wordmark { font-size: 1.08rem; color: #fff; }
.centerly .cy-site-footer .cy-footer-brand .ly { color: var(--cy-violet-light); }

.centerly .cy-site-footer .cy-footer-nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.centerly .cy-site-footer .cy-footer-nav a {
  color: var(--cy-on-dark-2); font-size: .9rem; font-weight: 600;
  text-decoration: none; transition: color .15s ease;
}
.centerly .cy-site-footer .cy-footer-nav a:hover { color: #fff; }

.centerly .cy-site-footer .cy-footer-legal {
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
  text-align: right; font-size: .82rem; color: var(--cy-muted); line-height: 1.5;
}
.centerly .cy-site-footer .cy-footer-parent a { color: var(--cy-violet-light); text-decoration: none; font-weight: 600; }
.centerly .cy-site-footer .cy-footer-parent a:hover { color: var(--cy-apricot); text-decoration: underline; }

@media (max-width: 900px) {
  .centerly .cy-site-footer .cy-footer { grid-template-columns: 1fr; justify-items: center; gap: 18px; text-align: center; }
  .centerly .cy-site-footer .cy-footer-legal { align-items: center; text-align: center; }
}
@media (max-width: 620px) {
  .centerly .cy-site-footer .cy-footer { padding: 26px 0; }
  .centerly .cy-site-footer .cy-footer-nav { gap: 12px 18px; }
}

/* =========================================================================
   N. 404 — "Nothing here."

   The Bloom mark arrives scattered and gathers itself back to center. The
   rays carry their own --tx/--ty offsets from 404.php so the markup and the
   motion can never disagree about which ray flies where, and transform-box:
   view-box keeps the origin at the mark's center (24,24) rather than at each
   line's own degenerate bounding box.

   Every value below is a token. Nothing here is a hex literal, so the Brand
   Kit re-themes this page along with the rest of the site.
   ========================================================================= */

.centerly .cy-404 {
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(480px, 62vh, 680px);   /* header + footer carry the rest */
  padding: 64px 24px 88px;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--cy-violet-soft) 0%, transparent 70%),
    var(--cy-bg);
}

.centerly .cy-404__inner { width: 100%; max-width: 640px; text-align: center; }

/* --- the mark ----------------------------------------------------------- */

.centerly .cy-404__mark { margin: 0 auto 26px; width: 150px; height: 150px; }
.centerly .cy-404__mark svg { display: block; width: 100%; height: auto; overflow: visible; }

.centerly .cy-404__ray,
.centerly .cy-404__core {
  transform-box: view-box;
  transform-origin: 24px 24px;
}

.centerly .cy-404__ray {
  opacity: 0;
  animation: cy-404-gather .9s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

.centerly .cy-404__core {
  opacity: 0;
  animation: cy-404-bloom .7s cubic-bezier(.22, 1, .36, 1) .72s forwards;
}

@keyframes cy-404-gather {
  0%   { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(22deg) scale(.55); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
}

@keyframes cy-404-bloom {
  0%   { opacity: 0; transform: scale(0); }
  70%  { opacity: 1; transform: scale(1.28); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- type --------------------------------------------------------------- */

.centerly .cy-404__eyebrow {
  margin: 0 0 10px; font-family: var(--cy-font-body);
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--cy-muted);
}

.centerly .cy-404__title {
  margin: 0 0 14px; font-family: var(--cy-font-display);
  text-wrap: balance;
  font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 600; line-height: 1.04;
  letter-spacing: -.02em; color: var(--cy-ink);
}

.centerly .cy-404__lede {
  /* balance, not a hard max-width: at 30ch this line orphaned "out," onto
     its own row, which reads as a typo rather than a pause. */
  margin: 0 auto 18px; max-width: 34ch; text-wrap: balance;
  font-family: var(--cy-font-display); font-style: italic;
  font-size: clamp(1.08rem, 2.4vw, 1.32rem); font-weight: 500; line-height: 1.5;
  color: var(--cy-ink-2);
}

.centerly .cy-404__sub {
  margin: 0 auto 26px; max-width: 42ch; text-wrap: balance;
  font-size: .96rem; line-height: 1.6; color: var(--cy-muted);
}

/* --- search ------------------------------------------------------------- */

.centerly .cy-404__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.centerly .cy-404__search {
  display: flex; gap: 8px; max-width: 460px; margin: 0 auto 18px;
}

.centerly .cy-404__search input[type="search"] {
  flex: 1 1 auto; min-width: 0;
  padding: 13px 18px;
  font-family: var(--cy-font-body); font-size: .97rem; color: var(--cy-ink);
  background: var(--cy-surface);
  border: 1px solid var(--cy-border); border-radius: var(--cy-radius-pill);
  box-shadow: 0 2px 10px -6px rgba(30, 24, 48, .2);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.centerly .cy-404__search input[type="search"]::placeholder { color: var(--cy-fg-3); }
.centerly .cy-404__search input[type="search"]:focus {
  outline: none;
  border-color: var(--cy-violet);
  box-shadow: 0 0 0 4px var(--cy-violet-soft);
}

.centerly .cy-404__search button {
  flex: none; padding: 13px 22px; cursor: pointer;
  font-family: var(--cy-font-body); font-size: .95rem; font-weight: 700;
  color: var(--cy-ink); background: var(--cy-surface);
  border: 1px solid var(--cy-border); border-radius: var(--cy-radius-pill);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.centerly .cy-404__search button:hover {
  color: var(--cy-violet); border-color: var(--cy-violet-light); background: var(--cy-violet-soft);
}

/* --- actions ------------------------------------------------------------ */

.centerly .cy-404__actions { margin: 0 0 30px; }

.centerly .cy-404__btn {
  display: inline-block; padding: 14px 34px;
  font-family: var(--cy-font-body); font-size: 1rem; font-weight: 700;
  color: #fff; text-decoration: none;
  background: var(--cy-violet); border-radius: var(--cy-radius-pill);
  box-shadow: 0 14px 30px -14px rgba(109, 74, 224, .7);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.centerly .cy-404__btn:hover {
  background: var(--cy-violet-hover); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -14px rgba(109, 74, 224, .8);
}
.centerly .cy-404__btn:focus-visible {
  outline: 3px solid var(--cy-apricot); outline-offset: 3px;
}

/* --- links -------------------------------------------------------------- */

.centerly .cy-404__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  padding-top: 24px; border-top: 1px solid var(--cy-border);
}
.centerly .cy-404__links a {
  font-size: .92rem; font-weight: 600; color: var(--cy-ink-2); text-decoration: none;
  transition: color .15s ease;
}
.centerly .cy-404__links a:hover { color: var(--cy-violet); text-decoration: underline; }

/* --- motion off --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .centerly .cy-404__ray,
  .centerly .cy-404__core {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .centerly .cy-404__btn:hover { transform: none; }
}

@media (max-width: 620px) {
  .centerly .cy-404 { padding: 48px 20px 64px; min-height: 0; }
  .centerly .cy-404__mark { width: 112px; height: 112px; margin-bottom: 20px; }
  .centerly .cy-404__search { flex-direction: column; }
  .centerly .cy-404__search button { width: 100%; }
}
