/* Mental-health-first welcome survey. Entirely inert outside /rebrand. */
html.ke-rebrand-mode.ke-welcome-open { overflow: hidden; }
html.ke-rebrand-mode .ke-welcome-survey {
  align-items: center;
  background: rgba(20, 34, 41, .76);
  display: none;
  inset: 0;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  position: fixed;
  z-index: 9999;
}
html.ke-rebrand-mode .ke-welcome-survey.show { display: flex; }
html.ke-rebrand-mode .ke-welcome-card {
  background: #fffdfa;
  border: 1px solid rgba(226, 187, 104, .78);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(10, 25, 31, .34), 0 0 0 5px rgba(255, 255, 255, .08);
  color: #192b34;
  font-family: 'DM Sans', sans-serif;
  max-height: calc(100vh - 28px);
  max-width: 840px;
  overflow: auto;
  position: relative;
  width: 100%;
}
html.ke-rebrand-mode .ke-welcome-shimmer {
  animation: keWelcomeShimmer 6s ease-in-out infinite;
  background: linear-gradient(108deg, transparent 36%, rgba(239, 194, 104, .18) 48%, rgba(255, 255, 255, .66) 52%, transparent 65%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-115%);
  z-index: 4;
}
@keyframes keWelcomeShimmer { 0%, 22% { transform: translateX(-115%); } 72%, 100% { transform: translateX(115%); } }

html.ke-rebrand-mode .ke-welcome-card.is-intro { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(360px, 1.22fr); overflow: hidden; }
html.ke-rebrand-mode .ke-welcome-intro-art {
  align-items: center;
  background: linear-gradient(150deg, #182a33 0%, #223b45 62%, #6d2942 150%);
  color: #e3bd6e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 590px;
  overflow: hidden;
  padding: 38px 24px;
  position: relative;
}
html.ke-rebrand-mode .ke-welcome-intro-art::after { background: radial-gradient(circle, rgba(233,186,97,.28), transparent 67%); content: ''; height: 340px; position: absolute; top: 128px; width: 340px; }
html.ke-rebrand-mode .ke-welcome-logo { height: 72px; object-fit: contain; position: relative; width: 72px; z-index: 1; }
html.ke-rebrand-mode .ke-welcome-portrait { background: #6d2942; border: 3px solid #e3bd6e; border-radius: 50%; box-shadow: 0 0 0 10px rgba(227,189,110,.12), 0 16px 36px rgba(0,0,0,.22); height: 174px; margin: 54px 0 34px; overflow: hidden; position: relative; width: 174px; z-index: 1; }
html.ke-rebrand-mode .ke-welcome-portrait img { height: 100%; object-fit: cover; width: 100%; }
html.ke-rebrand-mode .ke-welcome-intro-art > span { font-size: 9px; font-weight: 900; letter-spacing: 1.4px; position: relative; z-index: 1; }
html.ke-rebrand-mode .ke-welcome-intro-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 58px); position: relative; z-index: 2; }
html.ke-rebrand-mode .ke-welcome-eyebrow { color: #6d2942; display: block; font-size: 9px; font-weight: 900; letter-spacing: 1.15px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-welcome-intro-copy h1,
html.ke-rebrand-mode .ke-welcome-question h1,
html.ke-rebrand-mode .ke-welcome-complete h1 { font-family: 'Playfair Display', serif; font-size: clamp(34px, 5vw, 50px); line-height: 1.02; margin: 9px 0 13px; }
html.ke-rebrand-mode .ke-welcome-intro-copy > p { color: #82666d; font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; line-height: 1.35; margin: 0; }
html.ke-rebrand-mode .ke-welcome-promises { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0 18px; }
html.ke-rebrand-mode .ke-welcome-promises span { background: #f7edd9; border-radius: 999px; color: #6d2942; font-size: 8px; font-weight: 900; padding: 8px 10px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-welcome-disclosure { background: #f8f1e5; border: 1px solid rgba(212,176,98,.44); border-radius: 16px; padding: 14px 16px; }
html.ke-rebrand-mode .ke-welcome-disclosure strong { font-family: 'Playfair Display', serif; font-size: 15px; }
html.ke-rebrand-mode .ke-welcome-disclosure p { color: #68777c; font-size: 10px; line-height: 1.5; margin: 5px 0 0; }
html.ke-rebrand-mode .ke-welcome-intro-actions { display: grid; gap: 9px; grid-template-columns: 1fr auto; margin-top: 18px; }

html.ke-rebrand-mode .ke-welcome-primary,
html.ke-rebrand-mode .ke-welcome-secondary,
html.ke-rebrand-mode .ke-welcome-skip { border-radius: 999px; cursor: pointer; font-size: 10px; font-weight: 900; min-height: 44px; padding: 0 17px; }
html.ke-rebrand-mode .ke-welcome-primary { background: #dfb967; border: 1px solid #c89f4e; color: #192b34; }
html.ke-rebrand-mode .ke-welcome-primary:disabled { cursor: not-allowed; opacity: .44; }
html.ke-rebrand-mode .ke-welcome-secondary,
html.ke-rebrand-mode .ke-welcome-skip { background: #fff; border: 1px solid rgba(109,41,66,.28); color: #6d2942; }
html.ke-rebrand-mode .ke-welcome-skip { border-color: transparent; text-decoration: underline; }
html.ke-rebrand-mode .ke-welcome-support { align-items: center; background: #192b34; border: 1px solid #d8ad5c; border-radius: 14px; color: #fffdfa; cursor: pointer; display: flex; gap: 10px; margin-top: 13px; min-height: 48px; padding: 8px 12px; text-align: left; width: 100%; }
html.ke-rebrand-mode .ke-welcome-support > span:first-child { align-items: center; background: #dfb967; border-radius: 50%; color: #192b34; display: flex; flex: 0 0 28px; font-weight: 900; height: 28px; justify-content: center; }
html.ke-rebrand-mode .ke-welcome-support strong,
html.ke-rebrand-mode .ke-welcome-support small { display: block; }
html.ke-rebrand-mode .ke-welcome-support strong { font-size: 10px; }
html.ke-rebrand-mode .ke-welcome-support small { color: rgba(255,253,250,.62); font-size: 8px; margin-top: 2px; }

html.ke-rebrand-mode .ke-welcome-card.is-question { max-width: 650px; }
html.ke-rebrand-mode .ke-welcome-question-top { align-items: center; border-bottom: 1px solid rgba(212,176,98,.34); display: flex; justify-content: space-between; padding: 14px 20px; }
html.ke-rebrand-mode .ke-welcome-question-top img { height: 38px; object-fit: contain; width: 38px; }
html.ke-rebrand-mode .ke-welcome-question-top button { background: transparent; border: 1px solid rgba(109,41,66,.2); border-radius: 50%; color: #192b34; cursor: pointer; font-size: 21px; height: 36px; width: 36px; }
html.ke-rebrand-mode .ke-welcome-progress { padding: 17px 22px 0; }
html.ke-rebrand-mode .ke-welcome-progress div { color: #8a6c72; display: flex; font-size: 8px; font-weight: 900; justify-content: space-between; letter-spacing: .8px; }
html.ke-rebrand-mode .ke-welcome-progress i { background: #eceae6; border-radius: 999px; display: block; height: 6px; margin-top: 8px; overflow: hidden; }
html.ke-rebrand-mode .ke-welcome-progress b { background: linear-gradient(90deg, #ca9e4c, #efd18c); border-radius: inherit; display: block; height: 100%; transition: width .22s ease; }
html.ke-rebrand-mode .ke-welcome-question { padding: 24px 22px 8px; }
html.ke-rebrand-mode .ke-welcome-question h1 { font-size: clamp(30px, 5vw, 42px); }
html.ke-rebrand-mode .ke-welcome-question > p { color: #876c72; font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; line-height: 1.35; margin: 0; }
html.ke-rebrand-mode .ke-welcome-options { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 20px; }
html.ke-rebrand-mode .ke-welcome-option { align-items: flex-start; background: #fff; border: 1px solid rgba(200,165,88,.46); border-radius: 14px; color: #192b34; cursor: pointer; display: flex; gap: 10px; min-height: 70px; padding: 12px; text-align: left; }
html.ke-rebrand-mode .ke-welcome-option.is-selected { background: #6d2942; border-color: #6d2942; box-shadow: 0 8px 20px rgba(109,41,66,.16); color: #fffdfa; }
html.ke-rebrand-mode .ke-welcome-radio { border: 2px solid #d4b062; border-radius: 50%; flex: 0 0 16px; height: 16px; margin-top: 1px; position: relative; width: 16px; }
html.ke-rebrand-mode .ke-welcome-option.is-selected .ke-welcome-radio::after { background: #e6bf69; border-radius: 50%; content: ''; inset: 3px; position: absolute; }
html.ke-rebrand-mode .ke-welcome-option strong,
html.ke-rebrand-mode .ke-welcome-option small { display: block; }
html.ke-rebrand-mode .ke-welcome-option strong { font-family: 'Playfair Display', serif; font-size: 14px; line-height: 1.2; }
html.ke-rebrand-mode .ke-welcome-option small { color: #6f7b7f; font-size: 9px; line-height: 1.35; margin-top: 5px; }
html.ke-rebrand-mode .ke-welcome-option.is-selected small { color: rgba(255,253,250,.7); }
html.ke-rebrand-mode .ke-welcome-footer { border-top: 1px solid rgba(212,176,98,.28); margin-top: 10px; padding: 15px 22px 19px; }
html.ke-rebrand-mode .ke-welcome-nav { display: grid; gap: 8px; grid-template-columns: auto auto 1fr; }
html.ke-rebrand-mode .ke-welcome-privacy { color: #7b8588; font-size: 8px; line-height: 1.4; margin: 10px 0 0; text-align: center; }

html.ke-rebrand-mode .ke-welcome-card.is-complete { max-width: 520px; }
html.ke-rebrand-mode .ke-welcome-complete { align-items: center; display: flex; flex-direction: column; padding: clamp(35px, 7vw, 62px); text-align: center; }
html.ke-rebrand-mode .ke-welcome-complete-mark { align-items: center; background: #6d2942; border: 3px solid #dfb967; border-radius: 50%; box-shadow: 0 0 0 10px #f7edd9; color: #fffdfa; display: flex; font-size: 25px; height: 76px; justify-content: center; margin-bottom: 26px; width: 76px; }
html.ke-rebrand-mode .ke-welcome-complete h1 { font-size: clamp(32px, 6vw, 46px); }
html.ke-rebrand-mode .ke-welcome-complete > p { color: #765f65; font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; line-height: 1.4; margin: 0 0 22px; }
html.ke-rebrand-mode .ke-welcome-complete > .ke-welcome-primary { min-width: 220px; }
html.ke-rebrand-mode .ke-welcome-complete .ke-welcome-support { max-width: 340px; }

/* First-run activation: an original, rebrand-only Bloom introduction. */
html.ke-rebrand-mode .ke-welcome-card.is-activation { overflow: hidden; }
html.ke-rebrand-mode .ke-welcome-card.is-activation-intro { background: #102832; max-width: 940px; }
html.ke-rebrand-mode .ke-activation-intro { display: grid; grid-template-columns: minmax(430px, 1.08fr) minmax(340px, .92fr); min-height: 610px; position: relative; }
html.ke-rebrand-mode .ke-activation-top { align-items: center; display: flex; justify-content: space-between; left: 0; padding: 24px 28px; position: absolute; right: 0; top: 0; z-index: 8; }
html.ke-rebrand-mode .ke-activation-top img { height: 44px; object-fit: contain; width: 44px; }
html.ke-rebrand-mode .ke-activation-top button { background: rgba(255,255,255,.05); border: 1px solid rgba(228,190,104,.45); border-radius: 999px; color: #f3d68e; cursor: pointer; font-size: 10px; font-weight: 800; min-height: 38px; padding: 0 15px; }
html.ke-rebrand-mode .ke-activation-stage { align-items: center; background: radial-gradient(circle at 50% 50%, rgba(223,185,103,.2), transparent 37%), linear-gradient(145deg, #142e38, #0d212a); display: flex; justify-content: center; min-height: 610px; overflow: hidden; padding-top: 52px; position: relative; }
html.ke-rebrand-mode .ke-activation-stage::after { background: linear-gradient(104deg, transparent 30%, rgba(255,240,191,.09) 48%, transparent 66%); content: ''; inset: 0; pointer-events: none; transform: translateX(-100%); animation: keActivationStageShimmer 7.5s ease-in-out infinite; }
@keyframes keActivationStageShimmer { 0%, 28% { transform: translateX(-110%); } 70%, 100% { transform: translateX(110%); } }
html.ke-rebrand-mode .ke-activation-bloom { height: 420px; position: relative; width: 420px; }
html.ke-rebrand-mode .ke-activation-core { align-items: center; background: radial-gradient(circle at 45% 32%, #29414b 0, #112832 67%, #091b23 100%); clip-path: polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%); color: #fffdfa; display: flex; flex-direction: column; height: 144px; justify-content: center; left: 138px; position: absolute; text-align: center; top: 138px; width: 144px; z-index: 5; }
html.ke-rebrand-mode .ke-activation-core::before { background: linear-gradient(125deg, #f8dfa4, #b77b20 38%, #fff0b8 53%, #9f6517 76%, #e6bc61); clip-path: inherit; content: ''; inset: -3px; position: absolute; z-index: -2; }
html.ke-rebrand-mode .ke-activation-core::after { background: inherit; clip-path: inherit; content: ''; inset: 3px; position: absolute; z-index: -1; }
html.ke-rebrand-mode .ke-activation-core svg { filter: drop-shadow(0 0 12px rgba(240,186,70,.66)); height: 55px; width: 45px; }
html.ke-rebrand-mode .ke-activation-flame-outer { fill: #d7a84f; }
html.ke-rebrand-mode .ke-activation-flame-inner { fill: #fff6d7; }
html.ke-rebrand-mode .ke-activation-core b { font-family: 'Playfair Display', serif; font-size: 14px; margin-top: 3px; }
html.ke-rebrand-mode .ke-activation-petal { align-items: center; background: radial-gradient(circle at 38% 25%, #fff 0, #fbf5e9 56%, #eadabe 100%); border: 2px solid #dcb763; border-radius: 50%; box-shadow: 0 10px 22px rgba(0,0,0,.24), inset 0 2px 3px #fff, 0 0 0 2px rgba(121,78,17,.35); color: #6d2942; display: flex; height: 104px; justify-content: center; left: 158px; opacity: .58; padding: 12px; position: absolute; text-align: center; top: 158px; transform: scale(.84); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.22,.8,.24,1), box-shadow 1.1s ease; width: 104px; z-index: 4; }
html.ke-rebrand-mode .ke-activation-petal b { font-family: 'Playfair Display', serif; font-size: 12px; line-height: 1.08; }
html.ke-rebrand-mode .ke-activation-petal-1 { transform: translate(0,-142px) scale(.84); }
html.ke-rebrand-mode .ke-activation-petal-2 { transform: translate(124px,-71px) scale(.84); }
html.ke-rebrand-mode .ke-activation-petal-3 { transform: translate(124px,71px) scale(.84); }
html.ke-rebrand-mode .ke-activation-petal-4 { transform: translate(0,142px) scale(.84); }
html.ke-rebrand-mode .ke-activation-petal-5 { transform: translate(-124px,71px) scale(.84); }
html.ke-rebrand-mode .ke-activation-petal-6 { transform: translate(-124px,-71px) scale(.84); }
html.ke-rebrand-mode .ke-activation-beam { background: linear-gradient(90deg, rgba(164,112,31,.1), #f6d987 50%, rgba(164,112,31,.1)); height: 3px; left: 210px; position: absolute; top: 210px; transform-origin: 0 50%; width: 145px; z-index: 2; }
html.ke-rebrand-mode .ke-activation-beam-1 { transform: rotate(-90deg); }
html.ke-rebrand-mode .ke-activation-beam-2 { transform: rotate(-30deg); }
html.ke-rebrand-mode .ke-activation-beam-3 { transform: rotate(30deg); }
html.ke-rebrand-mode .ke-activation-beam-4 { transform: rotate(90deg); }
html.ke-rebrand-mode .ke-activation-beam-5 { transform: rotate(150deg); }
html.ke-rebrand-mode .ke-activation-beam-6 { transform: rotate(210deg); }
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="0"] .ke-activation-petal-1,
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="1"] .ke-activation-petal-2,
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="2"] .ke-activation-petal-3,
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="2"] .ke-activation-petal-4,
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="2"] .ke-activation-petal-5,
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="3"] .ke-activation-petal-6 { box-shadow: 0 14px 30px rgba(0,0,0,.28), inset 0 2px 3px #fff, 0 0 22px rgba(243,204,111,.72); opacity: 1; }
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="0"] .ke-activation-petal-1 { transform: translate(0,-142px) scale(1); }
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="1"] .ke-activation-petal-2 { transform: translate(124px,-71px) scale(1); }
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="2"] .ke-activation-petal-3 { transform: translate(124px,71px) scale(1); }
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="2"] .ke-activation-petal-4 { transform: translate(0,142px) scale(1); }
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="2"] .ke-activation-petal-5 { transform: translate(-124px,71px) scale(1); }
html.ke-rebrand-mode .ke-activation-intro[data-ke-intro-scene="3"] .ke-activation-petal-6 { transform: translate(-124px,-71px) scale(1); }
html.ke-rebrand-mode .ke-activation-story { align-items: flex-start; background: #fffdfa; display: flex; flex-direction: column; justify-content: center; padding: 92px clamp(32px,5vw,56px) 44px; position: relative; z-index: 3; }
html.ke-rebrand-mode .ke-activation-story h1,
html.ke-rebrand-mode .ke-activation-reminder-main h1,
html.ke-rebrand-mode .ke-activation-complete h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px,4.5vw,52px); line-height: 1.02; margin: 10px 0 14px; }
html.ke-rebrand-mode .ke-activation-story > p { color: #7c646a; font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; line-height: 1.4; margin: 0; min-height: 112px; }
html.ke-rebrand-mode .ke-activation-dots { display: flex; gap: 7px; margin: 23px 0 12px; }
html.ke-rebrand-mode .ke-activation-dots i { background: #ddd8d0; border-radius: 50%; height: 7px; transition: background .5s ease, transform .5s ease; width: 7px; }
html.ke-rebrand-mode .ke-activation-dots i.is-active { background: #6d2942; transform: scale(1.35); }
html.ke-rebrand-mode .ke-activation-progress { background: #ebe8e2; border-radius: 99px; height: 4px; margin-bottom: 22px; overflow: hidden; width: 100%; }
html.ke-rebrand-mode .ke-activation-progress b { animation: keActivationProgress 20s linear forwards; background: linear-gradient(90deg,#b98735,#f3d88d); display: block; height: 100%; transform-origin: 0 50%; width: 100%; }
@keyframes keActivationProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.ke-rebrand-mode .ke-activation-story .ke-welcome-primary { min-width: 235px; }
html.ke-rebrand-mode .ke-activation-duration { color: #7f898c !important; font-family: 'DM Sans', sans-serif !important; font-size: 9px !important; font-style: normal !important; margin-top: 10px !important; min-height: 0 !important; }

html.ke-rebrand-mode .ke-welcome-card.is-activation-reminders { max-width: 650px; }
html.ke-rebrand-mode .ke-activation-reminder-main { padding: 30px clamp(22px,6vw,48px) 18px; }
html.ke-rebrand-mode .ke-activation-reminder-main h1 { font-size: clamp(34px,6vw,48px); }
html.ke-rebrand-mode .ke-activation-reminder-main > p { color: #6f7d82; font-size: 12px; line-height: 1.55; margin: 0; }
html.ke-rebrand-mode .ke-activation-time-grid { display: grid; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 28px; }
html.ke-rebrand-mode .ke-activation-time-grid label { align-items: center; background: linear-gradient(145deg,#fff,#f6eee0); border: 1px solid rgba(203,160,76,.48); border-radius: 18px; box-shadow: 0 10px 24px rgba(28,42,48,.07); display: flex; gap: 14px; justify-content: space-between; min-height: 92px; padding: 15px 17px; }
html.ke-rebrand-mode .ke-activation-time-grid label span,
html.ke-rebrand-mode .ke-activation-time-grid label b,
html.ke-rebrand-mode .ke-activation-time-grid label small { display: block; }
html.ke-rebrand-mode .ke-activation-time-grid label b { font-family: 'Playfair Display', serif; font-size: 17px; }
html.ke-rebrand-mode .ke-activation-time-grid label small { color: #788388; font-size: 8px; line-height: 1.3; margin-top: 4px; }
html.ke-rebrand-mode .ke-activation-time-grid input { background: #192b34; border: 1px solid #d3aa58; border-radius: 12px; color: #fffdfa; color-scheme: dark; flex: 0 0 104px; font: 800 13px 'DM Sans',sans-serif; min-height: 46px; padding: 0 9px; }
html.ke-rebrand-mode .ke-activation-timezone { align-items: center; background: #f8f2e8; border-radius: 14px; color: #6d2942; display: flex; gap: 12px; margin-top: 14px; min-height: 56px; padding: 11px 15px; }
html.ke-rebrand-mode .ke-activation-timezone > span:first-child { font-size: 23px; }
html.ke-rebrand-mode .ke-activation-timezone strong,
html.ke-rebrand-mode .ke-activation-timezone small { display: block; }
html.ke-rebrand-mode .ke-activation-timezone strong { font-size: 10px; }
html.ke-rebrand-mode .ke-activation-timezone small { color: #788388; font-size: 9px; margin-top: 2px; }
html.ke-rebrand-mode .ke-activation-permission { border-top: 1px solid rgba(212,176,98,.3); margin-top: 20px; padding-top: 16px; }
html.ke-rebrand-mode .ke-activation-permission strong { font-family: 'Playfair Display',serif; font-size: 15px; }
html.ke-rebrand-mode .ke-activation-permission p { color: #748084; font-size: 9px; line-height: 1.5; margin: 5px 0 0; }
html.ke-rebrand-mode .ke-activation-error { color: #9e2f37; font-size: 9px; font-weight: 700; min-height: 14px; }
html.ke-rebrand-mode .ke-activation-reminder-footer { border-top: 1px solid rgba(212,176,98,.3); display: grid; gap: 9px; grid-template-columns: 1fr 1fr; padding: 17px clamp(22px,6vw,48px) 25px; }
html.ke-rebrand-mode .ke-activation-reminder-footer .ke-welcome-support { grid-column: 1/-1; }

html.ke-rebrand-mode .ke-welcome-card.is-activation-complete { max-width: 550px; }
html.ke-rebrand-mode .ke-activation-complete { align-items: center; display: flex; flex-direction: column; padding: clamp(38px,8vw,68px); text-align: center; }
html.ke-rebrand-mode .ke-activation-complete-flame { align-items: center; background: #192b34; border: 3px solid #ddb764; border-radius: 50%; box-shadow: 0 0 0 9px #f6ecda,0 18px 40px rgba(25,43,52,.2); display: flex; height: 96px; justify-content: center; margin-bottom: 30px; width: 96px; }
html.ke-rebrand-mode .ke-activation-complete-flame svg { filter: drop-shadow(0 0 12px rgba(240,186,70,.58)); height: 62px; width: 48px; }
html.ke-rebrand-mode .ke-activation-complete h1 { font-size: clamp(36px,7vw,50px); }
html.ke-rebrand-mode .ke-activation-complete > p { color: #755f65; font-family: 'Cormorant Garamond',serif; font-size: 19px; font-style: italic; line-height: 1.4; margin: 0; }
html.ke-rebrand-mode .ke-activation-schedule { align-items: center; background: #f8f1e5; border: 1px solid rgba(211,170,88,.42); border-radius: 18px; display: flex; justify-content: center; margin: 25px 0 12px; min-height: 76px; padding: 12px; width: 100%; }
html.ke-rebrand-mode .ke-activation-schedule span { flex: 1; }
html.ke-rebrand-mode .ke-activation-schedule small,
html.ke-rebrand-mode .ke-activation-schedule strong { display: block; }
html.ke-rebrand-mode .ke-activation-schedule small { color: #6d2942; font-size: 7px; font-weight: 900; letter-spacing: 1px; }
html.ke-rebrand-mode .ke-activation-schedule strong { font-family: 'Playfair Display',serif; font-size: 18px; margin-top: 4px; }
html.ke-rebrand-mode .ke-activation-schedule i { background: rgba(109,41,66,.2); height: 34px; width: 1px; }
html.ke-rebrand-mode .ke-activation-permission-result { color: #758084 !important; font-family: 'DM Sans',sans-serif !important; font-size: 9px !important; font-style: normal !important; margin-bottom: 20px !important; }
html.ke-rebrand-mode .ke-activation-complete > .ke-welcome-primary { min-width: 250px; }
html.ke-rebrand-mode .ke-activation-later-note { color: #7b8588; font-size: 8px; margin-top: 11px; }
html.ke-rebrand-mode .ke-activation-complete .ke-welcome-support { max-width: 360px; }

@media (max-width: 720px) {
  html.ke-rebrand-mode .ke-welcome-card.is-intro { grid-template-columns: 1fr; }
  html.ke-rebrand-mode .ke-welcome-intro-art { min-height: 190px; padding: 22px; }
  html.ke-rebrand-mode .ke-welcome-logo { height: 48px; width: 48px; }
  html.ke-rebrand-mode .ke-welcome-portrait { height: 92px; margin: 18px 0 13px; width: 92px; }
  html.ke-rebrand-mode .ke-welcome-intro-copy { padding: 25px 22px 28px; }
  html.ke-rebrand-mode .ke-activation-intro { grid-template-columns: 1fr; }
  html.ke-rebrand-mode .ke-activation-stage { min-height: 405px; padding-top: 58px; }
  html.ke-rebrand-mode .ke-activation-bloom { transform: scale(.8); }
  html.ke-rebrand-mode .ke-activation-story { padding: 32px 28px 38px; }
  html.ke-rebrand-mode .ke-activation-story > p { min-height: 84px; }
}
@media (max-width: 520px) {
  html.ke-rebrand-mode .ke-welcome-survey { align-items: stretch; padding: 0; }
  html.ke-rebrand-mode .ke-welcome-card { border-radius: 0; max-height: none; min-height: 100%; }
  html.ke-rebrand-mode .ke-welcome-card.is-intro { display: block; }
  html.ke-rebrand-mode .ke-welcome-intro-art { min-height: 210px; }
  html.ke-rebrand-mode .ke-welcome-intro-copy h1 { font-size: 35px; }
  html.ke-rebrand-mode .ke-welcome-intro-actions { grid-template-columns: 1fr; }
  html.ke-rebrand-mode .ke-welcome-options { grid-template-columns: 1fr; }
  html.ke-rebrand-mode .ke-welcome-nav { grid-template-columns: auto 1fr; }
  html.ke-rebrand-mode .ke-welcome-nav .ke-welcome-primary { grid-column: 1 / -1; grid-row: 1; }
  html.ke-rebrand-mode .ke-welcome-card.is-activation { min-height: 100%; overflow: auto; }
  html.ke-rebrand-mode .ke-activation-intro { min-height: 100%; }
  html.ke-rebrand-mode .ke-activation-top { padding: max(17px,env(safe-area-inset-top)) 18px 10px; }
  html.ke-rebrand-mode .ke-activation-stage { min-height: 340px; padding-top: 52px; }
  html.ke-rebrand-mode .ke-activation-bloom { margin: -66px 0; transform: scale(.66); }
  html.ke-rebrand-mode .ke-activation-story { min-height: calc(100vh - 340px); padding: 27px 23px max(30px,env(safe-area-inset-bottom)); }
  html.ke-rebrand-mode .ke-activation-story h1 { font-size: 36px; }
  html.ke-rebrand-mode .ke-activation-story > p { font-size: 18px; min-height: 76px; }
  html.ke-rebrand-mode .ke-activation-time-grid { grid-template-columns: 1fr; }
  html.ke-rebrand-mode .ke-activation-reminder-main { padding: 27px 20px 14px; }
  html.ke-rebrand-mode .ke-activation-reminder-main h1 { font-size: 36px; }
  html.ke-rebrand-mode .ke-activation-reminder-footer { grid-template-columns: 1fr; padding: 15px 20px max(24px,env(safe-area-inset-bottom)); }
  html.ke-rebrand-mode .ke-activation-reminder-footer .ke-welcome-support { grid-column: auto; }
  html.ke-rebrand-mode .ke-activation-complete { padding: 38px 23px max(30px,env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html.ke-rebrand-mode .ke-welcome-shimmer { animation: none; }
  html.ke-rebrand-mode .ke-activation-stage::after,
  html.ke-rebrand-mode .ke-activation-progress b { animation: none; }
  html.ke-rebrand-mode .ke-activation-petal { transition: none; }
}

/* Dashboard-aligned onboarding and Daily Rhythm medallion editor. */
html.ke-rebrand-mode .ke-welcome-survey {
  background:
    radial-gradient(circle at 50% 8%,rgba(217,182,113,.14),transparent 30rem),
    rgba(6,18,24,.9);
  backdrop-filter:blur(14px);
}
html.ke-rebrand-mode .ke-welcome-card {
  background:
    radial-gradient(circle at 86% 0,rgba(217,182,113,.12),transparent 38%),
    linear-gradient(155deg,#172d37,#0c1e26);
  border-color:rgba(217,182,113,.58);
  box-shadow:0 34px 100px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06);
  color:#fffaf2;
}
html.ke-rebrand-mode .ke-welcome-shimmer { background:linear-gradient(108deg,transparent 36%,rgba(239,194,104,.08) 49%,rgba(255,255,255,.08) 52%,transparent 65%); }
html.ke-rebrand-mode .ke-welcome-intro-art { background:radial-gradient(circle at 50% 40%,rgba(217,182,113,.15),transparent 44%),linear-gradient(150deg,#172d37,#0c1e26); }
html.ke-rebrand-mode .ke-welcome-intro-copy,
html.ke-rebrand-mode .ke-activation-story { background:linear-gradient(160deg,#1a303a,#0f222b); }
html.ke-rebrand-mode .ke-welcome-eyebrow { color:#e2c178; }
html.ke-rebrand-mode .ke-welcome-intro-copy h1,
html.ke-rebrand-mode .ke-welcome-question h1,
html.ke-rebrand-mode .ke-welcome-complete h1,
html.ke-rebrand-mode .ke-activation-story h1,
html.ke-rebrand-mode .ke-activation-reminder-main h1,
html.ke-rebrand-mode .ke-activation-complete h1 { color:#fffaf2; }
html.ke-rebrand-mode .ke-welcome-intro-copy > p,
html.ke-rebrand-mode .ke-activation-story > p,
html.ke-rebrand-mode .ke-activation-reminder-main > p,
html.ke-rebrand-mode .ke-welcome-complete > p,
html.ke-rebrand-mode .ke-activation-complete > p { color:rgba(255,250,242,.66); }
html.ke-rebrand-mode .ke-welcome-promises span,
html.ke-rebrand-mode .ke-welcome-disclosure { background:rgba(217,182,113,.09);border:1px solid rgba(217,182,113,.24);color:#f0d48c; }
html.ke-rebrand-mode .ke-welcome-disclosure p { color:rgba(255,250,242,.62); }
html.ke-rebrand-mode .ke-welcome-primary { background:linear-gradient(145deg,#f0d28b,#d3a74f);border-color:#e3bd6c;box-shadow:0 10px 24px rgba(0,0,0,.18); }
html.ke-rebrand-mode .ke-welcome-secondary,
html.ke-rebrand-mode .ke-welcome-skip { background:rgba(255,255,255,.045);border-color:rgba(217,182,113,.3);color:#f1d58e; }
html.ke-rebrand-mode .ke-welcome-question-top { background:rgba(7,20,27,.42);border-bottom-color:rgba(217,182,113,.22); }
html.ke-rebrand-mode .ke-welcome-question-top button { background:rgba(255,255,255,.04);border-color:rgba(217,182,113,.34);color:#fffaf2; }
html.ke-rebrand-mode .ke-welcome-progress div { color:rgba(255,250,242,.58); }
html.ke-rebrand-mode .ke-welcome-progress i { background:rgba(255,255,255,.1); }
html.ke-rebrand-mode .ke-welcome-footer { background:rgba(7,20,27,.34);border-top-color:rgba(217,182,113,.2); }
html.ke-rebrand-mode .ke-welcome-privacy { color:rgba(255,250,242,.55); }
html.ke-rebrand-mode .ke-welcome-card.is-question { max-width:780px; }
html.ke-rebrand-mode .ke-welcome-question.is-medallion-question { padding-inline:clamp(18px,4vw,34px); }
html.ke-rebrand-mode .ke-welcome-question-hub { text-align:center; }
html.ke-rebrand-mode .ke-welcome-question.is-medallion-question .ke-welcome-question-hub {
  align-items:center;
  background:linear-gradient(125deg,#ffe5a0,#9f6517 38%,#fff0b8 53%,#a66c1a 76%,#e6bc61);
  clip-path:polygon(14% 0,86% 0,100% 50%,86% 100%,14% 100%,0 50%);
  display:flex;
  flex-direction:column;
  justify-content:center;
  isolation:isolate;
  margin:0 auto;
  min-height:178px;
  padding:27px 70px;
  position:relative;
  width:min(540px,100%);
}
html.ke-rebrand-mode .ke-welcome-question.is-medallion-question .ke-welcome-question-hub::before {
  background:radial-gradient(circle at 45% 22%,#2a4550,#152d37 62%,#0b1e26);
  clip-path:inherit;
  content:'';
  inset:3px;
  position:absolute;
  z-index:-1;
}
html.ke-rebrand-mode .ke-welcome-question.is-medallion-question .ke-welcome-question-hub h1 { font-size:clamp(24px,3.5vw,34px);margin:7px 0 8px;text-wrap:balance; }
html.ke-rebrand-mode .ke-welcome-question.is-medallion-question .ke-welcome-question-hub > p { color:rgba(255,250,242,.62);font-size:14px;margin:0; }
html.ke-rebrand-mode .ke-welcome-options.is-medallion-grid {
  gap:16px;
  grid-template-columns:repeat(3,minmax(0,150px));
  justify-content:center;
  margin-top:26px;
}
html.ke-rebrand-mode .ke-welcome-option.is-medallion {
  align-items:center;
  aspect-ratio:1;
  background:radial-gradient(circle at 38% 24%,#87425a,#602537 61%,#411925);
  border:2px solid rgba(217,182,113,.66);
  border-radius:50%;
  box-shadow:inset 0 2px 3px rgba(255,255,255,.1),0 13px 30px rgba(0,0,0,.28),0 0 0 4px rgba(217,182,113,.06);
  color:#fffaf2;
  flex-direction:column;
  justify-content:center;
  min-height:150px;
  padding:17px;
  text-align:center;
}
html.ke-rebrand-mode .ke-welcome-option.is-medallion:nth-child(3n+2) { background:radial-gradient(circle at 38% 24%,#51466f,#342b50 61%,#1f1930); }
html.ke-rebrand-mode .ke-welcome-option.is-medallion:nth-child(3n) { background:radial-gradient(circle at 38% 24%,#315d69,#20444f 61%,#102b33); }
html.ke-rebrand-mode .ke-welcome-option.is-medallion .ke-welcome-radio { margin:0 0 7px; }
html.ke-rebrand-mode .ke-welcome-option.is-medallion strong { color:#fffaf2;font-size:14px; }
html.ke-rebrand-mode .ke-welcome-option.is-medallion small { color:rgba(255,250,242,.62);font-size:8px;line-height:1.3; }
html.ke-rebrand-mode .ke-welcome-option.is-medallion.is-selected { background:radial-gradient(circle at 38% 24%,#bb7c3d,#7a3f24 64%,#452317);border-color:#f3d88e;box-shadow:inset 0 2px 3px rgba(255,255,255,.14),0 15px 34px rgba(0,0,0,.34),0 0 25px rgba(217,182,113,.28);transform:scale(1.035); }

html.ke-rebrand-mode .ke-welcome-card.is-activation-reminders { max-width:760px; }
html.ke-rebrand-mode .ke-activation-reminder-main { padding:28px clamp(20px,5vw,44px) 18px;text-align:center; }
html.ke-rebrand-mode .ke-activation-reminder-main h1 { font-size:clamp(32px,5.5vw,46px);margin-inline:auto;max-width:650px;text-wrap:balance; }
html.ke-rebrand-mode .ke-activation-reminder-main > p { margin-inline:auto;max-width:570px; }
html.ke-rebrand-mode .ke-activation-rhythm-hub { height:390px;margin:20px auto 6px;max-width:650px;position:relative; }
html.ke-rebrand-mode .ke-activation-rhythm-core {
  align-items:center;
  background:linear-gradient(125deg,#ffe5a0,#9f6517 38%,#fff0b8 53%,#a66c1a 76%,#e6bc61);
  clip-path:polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%);
  color:#fffaf2;
  display:flex;
  flex-direction:column;
  height:168px;
  justify-content:center;
  left:50%;
  padding:20px;
  position:absolute;
  text-align:center;
  top:48%;
  transform:translate(-50%,-50%);
  width:168px;
  z-index:3;
}
html.ke-rebrand-mode .ke-activation-rhythm-core::before { background:radial-gradient(circle at 42% 24%,#2b4651,#152c36 63%,#0a1d25);clip-path:inherit;content:'';inset:3px;position:absolute;z-index:-1; }
html.ke-rebrand-mode .ke-activation-rhythm-core small { color:#e3c37b;font-size:8px;font-weight:900;letter-spacing:1.2px; }
html.ke-rebrand-mode .ke-activation-rhythm-core strong { font-family:'Playfair Display',serif;font-size:24px;line-height:.95;margin:5px 0; }
html.ke-rebrand-mode .ke-activation-rhythm-core span { color:rgba(255,250,242,.6);font-size:8px; }
html.ke-rebrand-mode .ke-activation-rhythm-line { background:linear-gradient(90deg,rgba(217,182,113,.12),rgba(239,210,139,.65));height:2px;left:50%;position:absolute;top:48%;transform-origin:0 50%;width:185px;z-index:1; }
html.ke-rebrand-mode .ke-activation-rhythm-line-morning { transform:rotate(210deg); }
html.ke-rebrand-mode .ke-activation-rhythm-line-evening { transform:rotate(-30deg); }
html.ke-rebrand-mode .ke-activation-rhythm-line-notifications { transform:rotate(90deg);width:165px; }
html.ke-rebrand-mode .ke-activation-rhythm-orb {
  align-items:center;
  background:radial-gradient(circle at 38% 24%,#87425a,#602537 61%,#411925);
  border:2px solid rgba(217,182,113,.7);
  border-radius:50%;
  box-shadow:inset 0 2px 3px rgba(255,255,255,.11),0 14px 32px rgba(0,0,0,.3),0 0 0 4px rgba(217,182,113,.07);
  color:#fffaf2;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  height:142px;
  justify-content:center;
  padding:16px;
  position:absolute;
  text-align:center;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  width:142px;
  z-index:3;
}
html.ke-rebrand-mode .ke-activation-rhythm-orb.is-morning { left:4%;top:20px; }
html.ke-rebrand-mode .ke-activation-rhythm-orb.is-evening { background:radial-gradient(circle at 38% 24%,#50456f,#342b50 61%,#1f1930);right:4%;top:20px; }
html.ke-rebrand-mode .ke-activation-rhythm-orb.is-notifications { background:radial-gradient(circle at 38% 24%,#315d69,#20444f 61%,#102b33);bottom:0;left:50%;transform:translateX(-50%); }
html.ke-rebrand-mode .ke-activation-rhythm-orb:hover,
html.ke-rebrand-mode .ke-activation-rhythm-orb.is-active { border-color:#f2d68b;box-shadow:inset 0 2px 3px rgba(255,255,255,.14),0 18px 38px rgba(0,0,0,.36),0 0 24px rgba(217,182,113,.26); }
html.ke-rebrand-mode .ke-activation-rhythm-orb:not(.is-notifications):hover,
html.ke-rebrand-mode .ke-activation-rhythm-orb:not(.is-notifications).is-active { transform:translateY(-3px) scale(1.025); }
html.ke-rebrand-mode .ke-activation-rhythm-orb.is-notifications:hover,
html.ke-rebrand-mode .ke-activation-rhythm-orb.is-notifications.is-active { transform:translateX(-50%) translateY(-3px) scale(1.025); }
html.ke-rebrand-mode .ke-activation-rhythm-orb small { color:#e7ca82;font-size:8px;font-weight:900;letter-spacing:1px; }
html.ke-rebrand-mode .ke-activation-rhythm-orb strong { font-family:'Playfair Display',serif;font-size:18px;margin:7px 0 4px; }
html.ke-rebrand-mode .ke-activation-rhythm-orb span { color:rgba(255,250,242,.6);font-size:8px;line-height:1.25; }
html.ke-rebrand-mode .ke-activation-rhythm-editor[hidden] { display:none !important; }
html.ke-rebrand-mode .ke-activation-rhythm-editor {
  animation:keRhythmExpand .24s cubic-bezier(.22,.8,.24,1) both;
  background:linear-gradient(145deg,rgba(35,59,69,.98),rgba(15,33,41,.98));
  border:1px solid rgba(217,182,113,.5);
  border-radius:22px;
  box-shadow:0 18px 45px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.06);
  margin:0 auto 16px;
  max-width:520px;
  padding:22px;
  text-align:left;
}
@keyframes keRhythmExpand { from{opacity:0;transform:scale(.76) translateY(-18px)} to{opacity:1;transform:scale(1) translateY(0)} }
html.ke-rebrand-mode .ke-activation-rhythm-editor h2 { color:#fffaf2;font-family:'Playfair Display',serif;font-size:25px;margin:6px 0 15px; }
html.ke-rebrand-mode .ke-activation-rhythm-editor label { color:#e5c67e;display:block;font-size:9px;font-weight:900;letter-spacing:.8px;margin-bottom:7px;text-transform:uppercase; }
html.ke-rebrand-mode .ke-activation-rhythm-editor input { background:#fffaf2;border:2px solid #d9b671;border-radius:14px;color:#172730;color-scheme:light;font:800 18px 'DM Sans',sans-serif;min-height:54px;padding:0 14px;width:100%; }
html.ke-rebrand-mode .ke-activation-rhythm-editor p { color:rgba(255,250,242,.66);font-size:11px;line-height:1.5; }
html.ke-rebrand-mode .ke-activation-rhythm-editor button { background:#d9b671;border:1px solid #edce88;border-radius:999px;color:#172730;cursor:pointer;font-size:10px;font-weight:900;margin-top:15px;min-height:44px;padding:0 24px; }
html.ke-rebrand-mode .ke-activation-timezone { background:rgba(217,182,113,.08);border:1px solid rgba(217,182,113,.2);color:#e7ca82;margin-inline:auto;max-width:520px;text-align:left; }
html.ke-rebrand-mode .ke-activation-timezone small { color:rgba(255,250,242,.58); }
html.ke-rebrand-mode .ke-activation-reminder-footer { background:rgba(7,20,27,.34);border-top-color:rgba(217,182,113,.22); }
html.ke-rebrand-mode .ke-activation-complete,
html.ke-rebrand-mode .ke-welcome-complete { background:linear-gradient(155deg,#172d37,#0c1e26); }
html.ke-rebrand-mode .ke-activation-schedule { background:rgba(217,182,113,.08);border-color:rgba(217,182,113,.3); }
html.ke-rebrand-mode .ke-activation-schedule small { color:#e5c67e; }
html.ke-rebrand-mode .ke-activation-schedule strong { color:#fffaf2; }
html.ke-rebrand-mode .ke-activation-schedule i { background:rgba(217,182,113,.26); }
html.ke-rebrand-mode .ke-activation-permission-result,
html.ke-rebrand-mode .ke-activation-later-note { color:rgba(255,250,242,.55) !important; }
html.ke-rebrand-mode #ke-welcome-survey :is(button,input,select,textarea):focus-visible { outline:2px solid #f0d28a;outline-offset:4px; }

@media (max-width:600px) {
  html.ke-rebrand-mode .ke-welcome-question.is-medallion-question .ke-welcome-question-hub { border:1px solid rgba(217,182,113,.55);border-radius:24px;clip-path:none;min-height:0;padding:22px 18px;width:100%; }
  html.ke-rebrand-mode .ke-welcome-question.is-medallion-question .ke-welcome-question-hub::before { border-radius:22px;clip-path:none; }
  html.ke-rebrand-mode .ke-welcome-options.is-medallion-grid { gap:12px 8px;grid-template-columns:repeat(2,minmax(0,138px)); }
  html.ke-rebrand-mode .ke-welcome-option.is-medallion { min-height:138px;padding:14px; }
  html.ke-rebrand-mode .ke-welcome-option.is-medallion small { display:none; }
  html.ke-rebrand-mode .ke-activation-rhythm-hub { height:430px;margin-top:16px; }
  html.ke-rebrand-mode .ke-activation-rhythm-core { height:142px;top:49%;width:142px; }
  html.ke-rebrand-mode .ke-activation-rhythm-core strong { font-size:21px; }
  html.ke-rebrand-mode .ke-activation-rhythm-orb { height:116px;padding:11px;width:116px; }
  html.ke-rebrand-mode .ke-activation-rhythm-orb.is-morning { left:0;top:8px; }
  html.ke-rebrand-mode .ke-activation-rhythm-orb.is-evening { right:0;top:8px; }
  html.ke-rebrand-mode .ke-activation-rhythm-orb strong { font-size:15px; }
  html.ke-rebrand-mode .ke-activation-rhythm-line { width:130px; }
  html.ke-rebrand-mode .ke-activation-rhythm-line-notifications { width:150px; }
  html.ke-rebrand-mode .ke-activation-rhythm-editor { border-radius:18px;padding:18px; }
}
@media (prefers-reduced-motion:reduce) {
  html.ke-rebrand-mode .ke-activation-rhythm-editor { animation:none; }
  html.ke-rebrand-mode .ke-activation-rhythm-orb,
  html.ke-rebrand-mode .ke-welcome-option.is-medallion { transition:none; }
}

/* Flame-first onboarding: creation, identity, reflection, plan, and Day One. */
html.ke-rebrand-mode .ke-welcome-card:is(.is-activation-create,.is-activation-name,.is-activation-review,.is-activation-plan,.is-activation-payment,.is-activation-day-one,.is-activation-first-action) {
  background:radial-gradient(circle at 50% 8%,rgba(217,182,113,.13),transparent 31%),linear-gradient(155deg,#17313b,#0a1c24);
  color:#fffaf2;
  max-width:760px;
  overflow:auto;
}
html.ke-rebrand-mode :is(.ke-activation-create-main,.ke-activation-name main,.ke-activation-review main,.ke-activation-plan main,.ke-activation-payment main,.ke-activation-first-action) {
  margin-inline:auto;
  max-width:680px;
  padding:clamp(38px,7vw,70px);
  text-align:center;
}
html.ke-rebrand-mode :is(.ke-activation-create-main,.ke-activation-name main,.ke-activation-review main,.ke-activation-plan main,.ke-activation-payment main,.ke-activation-day-one,.ke-activation-first-action) h1 {
  color:#fffaf2;
  font-family:'Playfair Display',serif;
  font-size:clamp(38px,7vw,58px);
  line-height:1;
  margin:10px 0 15px;
  text-wrap:balance;
}
html.ke-rebrand-mode :is(.ke-activation-create-main,.ke-activation-name main,.ke-activation-review main,.ke-activation-plan main,.ke-activation-payment main,.ke-activation-day-one,.ke-activation-first-action) > p {
  color:rgba(255,250,242,.68);
  font-family:'Cormorant Garamond',serif;
  font-size:19px;
  line-height:1.4;
  margin:0 auto 24px;
  max-width:590px;
}
html.ke-rebrand-mode .ke-activation-create { min-height:620px;position:relative; }
html.ke-rebrand-mode .ke-activation-create .ke-activation-top { position:relative; }
html.ke-rebrand-mode .ke-activation-create-main { padding-top:15px; }
html.ke-rebrand-mode .ke-activation-ignite {
  --ke-ignition-alpha:.08;
  --ke-ignition-flame-glow:3px;
  --ke-ignition-glow:18px;
  --ke-ignition-gray:1;
  --ke-ignition-opacity:.24;
  --ke-ignition-scale:.66;
  align-items:center;
  background:radial-gradient(circle at 50% 58%,rgb(217 182 113 / var(--ke-ignition-alpha)),rgba(8,24,31,.94) 63%);
  border:2px solid rgba(217,182,113,.62);
  border-radius:50%;
  box-shadow:0 0 var(--ke-ignition-glow) rgba(229,177,62,.56),inset 0 0 42px rgba(0,0,0,.35);
  color:#f0d28a;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  height:210px;
  justify-content:center;
  margin:22px auto 18px;
  position:relative;
  touch-action:manipulation;
  width:210px;
}
html.ke-rebrand-mode .ke-activation-ignite-orbit { border:1px dashed rgba(240,210,138,.34);border-radius:50%;inset:13px;position:absolute; }
html.ke-rebrand-mode .ke-activation-ignite-flame svg { filter:grayscale(var(--ke-ignition-gray)) drop-shadow(0 0 var(--ke-ignition-flame-glow) rgba(242,190,73,.9));height:105px;opacity:var(--ke-ignition-opacity);transform:scale(var(--ke-ignition-scale));transition:filter .28s ease,opacity .28s ease,transform .28s ease;width:82px; }
html.ke-rebrand-mode .ke-activation-ignite strong { font-size:9px;letter-spacing:1.2px;margin-top:6px;text-transform:uppercase; }
html.ke-rebrand-mode .ke-activation-ignite.is-sparking::after { animation:keIgnitionSpark .62s ease-out;content:'✦';font-size:24px;left:23px;position:absolute;top:92px; }
html.ke-rebrand-mode .ke-activation-ignite.is-lit { animation:keIgnitionGlow 2.2s ease-in-out infinite; }
@keyframes keIgnitionSpark { from{opacity:1;transform:translate(0,0) scale(.5)} to{opacity:0;transform:translate(72px,-92px) scale(1.35)} }
@keyframes keIgnitionGlow { 50%{box-shadow:0 0 62px rgba(229,177,62,.68),inset 0 0 42px rgba(0,0,0,.25)} }
html.ke-rebrand-mode .ke-activation-ignition-meter { display:flex;gap:9px;justify-content:center;margin-bottom:10px; }
html.ke-rebrand-mode .ke-activation-ignition-meter i { background:rgba(255,255,255,.11);border:1px solid rgba(217,182,113,.34);border-radius:50%;height:11px;transition:.24s ease;width:11px; }
html.ke-rebrand-mode .ke-activation-ignition-meter i.is-lit { background:#efca72;box-shadow:0 0 12px rgba(239,202,114,.8);transform:scale(1.18); }
html.ke-rebrand-mode .ke-activation-ignite-status { color:rgba(255,250,242,.62);font-size:10px;min-height:18px; }
html.ke-rebrand-mode .ke-activation-name-flame,
html.ke-rebrand-mode .ke-activation-review-flame { align-items:center;display:flex;flex-direction:column;justify-content:center;margin:0 auto 18px; }
html.ke-rebrand-mode .ke-activation-name-flame svg,
html.ke-rebrand-mode .ke-activation-review-flame svg { filter:drop-shadow(0 0 18px rgba(235,182,66,.62));height:100px;width:78px; }
html.ke-rebrand-mode .ke-activation-review-flame span { color:#e6c77f;font-family:'Playfair Display',serif;font-size:20px;margin-top:4px; }
html.ke-rebrand-mode .ke-activation-name label { color:#e6c77f;display:block;font-size:9px;font-weight:900;letter-spacing:1px;margin:0 auto 8px;max-width:430px;text-align:left;text-transform:uppercase; }
html.ke-rebrand-mode .ke-activation-name input { background:#fffaf2;border:2px solid #d9b671;border-radius:16px;color:#172730;font:600 22px 'Playfair Display',serif;min-height:60px;padding:0 17px;text-align:center;width:min(100%,430px); }
html.ke-rebrand-mode .ke-activation-name .ke-activation-error { margin:7px auto 10px;max-width:430px; }
html.ke-rebrand-mode .ke-welcome-growing-flame { align-items:center;background:rgba(217,182,113,.08);border-bottom:1px solid rgba(217,182,113,.22);display:flex;gap:11px;padding:12px 22px; }
html.ke-rebrand-mode .ke-welcome-growing-flame > span { align-items:flex-end;display:flex;height:45px;justify-content:center;overflow:hidden;width:38px; }
html.ke-rebrand-mode .ke-welcome-growing-flame svg { filter:drop-shadow(0 0 8px rgba(238,184,66,.55));height:var(--ke-welcome-flame-height);max-height:44px;width:34px; }
html.ke-rebrand-mode .ke-welcome-growing-flame small,
html.ke-rebrand-mode .ke-welcome-growing-flame strong { display:block;text-align:left; }
html.ke-rebrand-mode .ke-welcome-growing-flame small { color:#e7c67b;font-family:'Playfair Display',serif;font-size:15px; }
html.ke-rebrand-mode .ke-welcome-growing-flame strong { color:rgba(255,250,242,.55);font-size:8px;letter-spacing:.6px;margin-top:2px;text-transform:uppercase; }
html.ke-rebrand-mode .ke-activation-answer-summary { display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:25px 0;padding:0;text-align:left; }
html.ke-rebrand-mode .ke-activation-answer-summary li { background:rgba(255,255,255,.05);border:1px solid rgba(217,182,113,.26);border-radius:15px;padding:14px; }
html.ke-rebrand-mode .ke-activation-answer-summary li:last-child { grid-column:1/-1; }
html.ke-rebrand-mode .ke-activation-answer-summary small,
html.ke-rebrand-mode .ke-activation-answer-summary strong { display:block; }
html.ke-rebrand-mode .ke-activation-answer-summary small { color:#dcb969;font-size:7px;font-weight:900;letter-spacing:.8px;margin-bottom:5px; }
html.ke-rebrand-mode .ke-activation-answer-summary strong { font-family:'Playfair Display',serif;font-size:17px; }
html.ke-rebrand-mode .ke-activation-plan-list { display:grid;gap:12px;list-style:none;margin:25px 0;padding:0;text-align:left; }
html.ke-rebrand-mode .ke-activation-plan-list li { align-items:center;background:rgba(255,255,255,.045);border:1px solid rgba(217,182,113,.22);border-radius:18px;display:flex;gap:15px;padding:15px; }
html.ke-rebrand-mode .ke-activation-plan-list li.is-recommended { background:rgba(109,41,66,.45);border-color:#d9b671; }
html.ke-rebrand-mode .ke-activation-plan-list li > span { align-items:center;background:#d9b671;border-radius:50%;color:#172730;display:flex;flex:0 0 38px;font:700 18px 'Playfair Display',serif;height:38px;justify-content:center; }
html.ke-rebrand-mode .ke-activation-plan-list small,
html.ke-rebrand-mode .ke-activation-plan-list strong { display:block; }
html.ke-rebrand-mode .ke-activation-plan-list small { color:#e5c67d;font-size:7px;font-weight:900;letter-spacing:.8px; }
html.ke-rebrand-mode .ke-activation-plan-list strong { font-family:'Playfair Display',serif;font-size:19px;margin-top:3px; }
html.ke-rebrand-mode .ke-activation-plan-list p { color:rgba(255,250,242,.58);font-size:10px;margin:4px 0 0; }
html.ke-rebrand-mode .ke-activation-payment-safe { background:rgba(44,91,100,.25);border:1px solid rgba(122,188,194,.42);border-radius:14px;font-family:'DM Sans',sans-serif !important;font-size:11px !important;padding:13px; }
html.ke-rebrand-mode .ke-activation-payment-safe strong { color:#b7e2de; }
html.ke-rebrand-mode .ke-activation-tiers { display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0; }
html.ke-rebrand-mode .ke-activation-tiers button { background:rgba(255,255,255,.045);border:1px solid rgba(217,182,113,.27);border-radius:18px;color:#fffaf2;cursor:pointer;min-height:175px;padding:17px;text-align:left; }
html.ke-rebrand-mode .ke-activation-tiers button[aria-pressed="true"] { background:linear-gradient(150deg,rgba(109,41,66,.86),rgba(61,27,44,.9));border:2px solid #e2be6b;box-shadow:0 0 24px rgba(217,182,113,.18); }
html.ke-rebrand-mode .ke-activation-tiers small,
html.ke-rebrand-mode .ke-activation-tiers strong { display:block; }
html.ke-rebrand-mode .ke-activation-tiers small { color:#e3c178;font-size:8px;font-weight:900;letter-spacing:.8px; }
html.ke-rebrand-mode .ke-activation-tiers strong { font-family:'Playfair Display',serif;font-size:25px;margin:12px 0 9px; }
html.ke-rebrand-mode .ke-activation-tiers strong span { font-family:'DM Sans',sans-serif;font-size:8px; }
html.ke-rebrand-mode .ke-activation-tiers p { color:rgba(255,250,242,.58);font-size:9px;line-height:1.45;margin:0; }
html.ke-rebrand-mode .ke-activation-trial-note { color:rgba(255,250,242,.5);font-size:8px;line-height:1.5;margin:0 auto 20px;max-width:590px; }
html.ke-rebrand-mode .ke-activation-day-one { align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:620px;overflow:hidden;padding:55px;position:relative;text-align:center; }
html.ke-rebrand-mode .ke-activation-day-one > * { position:relative;z-index:2; }
html.ke-rebrand-mode .ke-activation-day-one-rays { animation:keDayOneRays 18s linear infinite;background:repeating-conic-gradient(from 0deg,rgba(217,182,113,.14) 0 5deg,transparent 5deg 18deg);border-radius:50%;height:620px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:620px;z-index:0; }
html.ke-rebrand-mode .ke-activation-day-one-flame { align-items:center;background:radial-gradient(circle,#6d2942,#2d1220);border:3px solid #e2bd69;border-radius:50%;box-shadow:0 0 0 12px rgba(217,182,113,.09),0 0 60px rgba(231,181,65,.42);display:flex;height:180px;justify-content:center;margin-bottom:32px;width:180px; }
html.ke-rebrand-mode .ke-activation-day-one-flame svg { animation:keDayOneFlame 2.3s ease-in-out infinite;filter:drop-shadow(0 0 20px rgba(244,197,80,.76));height:130px;width:96px; }
@keyframes keDayOneRays { to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes keDayOneFlame { 50%{transform:scale(1.06) translateY(-3px)} }
html.ke-rebrand-mode .ke-activation-first-action { padding-top:60px; }
html.ke-rebrand-mode .ke-activation-action-grid { display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:26px; }
html.ke-rebrand-mode .ke-activation-action-grid button { background:radial-gradient(circle at 35% 20%,#315c67,#17343e 68%);border:2px solid rgba(217,182,113,.58);border-radius:50%;color:#fffaf2;cursor:pointer;display:flex;flex-direction:column;justify-content:center;min-height:220px;padding:28px;text-align:center; }
html.ke-rebrand-mode .ke-activation-action-grid button:nth-child(2n) { background:radial-gradient(circle at 35% 20%,#79405a,#4a1b31 68%); }
html.ke-rebrand-mode .ke-activation-action-grid button.is-recommended { border-color:#f3d98e;box-shadow:0 0 0 7px rgba(217,182,113,.1),0 18px 38px rgba(0,0,0,.3); }
html.ke-rebrand-mode .ke-activation-action-grid small,
html.ke-rebrand-mode .ke-activation-action-grid strong,
html.ke-rebrand-mode .ke-activation-action-grid span { display:block; }
html.ke-rebrand-mode .ke-activation-action-grid small { color:#e8ca83;font-size:7px;font-weight:900;letter-spacing:.9px; }
html.ke-rebrand-mode .ke-activation-action-grid strong { font-family:'Playfair Display',serif;font-size:23px;margin:9px 0; }
html.ke-rebrand-mode .ke-activation-action-grid span { color:rgba(255,250,242,.62);font-size:9px;line-height:1.4; }
@media (max-width:600px) {
  html.ke-rebrand-mode :is(.ke-activation-create-main,.ke-activation-name main,.ke-activation-review main,.ke-activation-plan main,.ke-activation-payment main,.ke-activation-first-action) { padding:32px 20px max(32px,env(safe-area-inset-bottom)); }
  html.ke-rebrand-mode .ke-activation-answer-summary,
  html.ke-rebrand-mode .ke-activation-tiers { grid-template-columns:1fr; }
  html.ke-rebrand-mode .ke-activation-answer-summary li:last-child { grid-column:auto; }
  html.ke-rebrand-mode .ke-activation-tiers button { min-height:0; }
  html.ke-rebrand-mode .ke-activation-day-one { min-height:100vh;padding:40px 22px max(35px,env(safe-area-inset-bottom)); }
  html.ke-rebrand-mode .ke-activation-action-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
  html.ke-rebrand-mode .ke-activation-action-grid button { min-height:165px;padding:18px; }
  html.ke-rebrand-mode .ke-activation-action-grid strong { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) {
  html.ke-rebrand-mode .ke-activation-ignite.is-lit,
  html.ke-rebrand-mode .ke-activation-ignite.is-sparking::after,
  html.ke-rebrand-mode .ke-activation-day-one-rays,
  html.ke-rebrand-mode .ke-activation-day-one-flame svg { animation:none; }
}
