/* The home page. Light and dark chapters in turn, one idea per screen, large type and
   the product itself as the hero. Shared parts (fonts, buttons, footer, the product
   tour's own screens) come from styles.css and demo.css. */

body.ch {
  --ink: #131b28;
  --ink-soft: #5a616d;
  --paper: #f9f6f1;
  --paper-2: #f3f0e9;
  --night: #0a0f18;
  --night-ink: #f3f0e9;
  --night-soft: #9ea5b0;
  --indigo: #1b4a92;
  --indigo-deep: #163d78;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
}

/* Anchors land just under the 60px header. */
html:has(> body.ch) {
  scroll-padding-top: 64px;
}

/* Header: frosted glass that reads over light and dark chapters alike. */
body.ch .header {
  position: sticky;
  top: 0;
  z-index: 60;
  max-width: none;
  min-height: 60px;
  padding: 10px max(24px, calc((100% - 1200px) / 2));
  background: rgb(251 251 253 / 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
  color: var(--ink);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
body.ch .header.is-scrolled {
  background: rgb(251 251 253 / 0.86);
}
/* Over a dark chapter the glass turns dark, as the page underneath does. */
body.ch .header.is-dark {
  background: rgb(22 22 23 / 0.78);
  border-bottom-color: rgb(255 255 255 / 0.06);
  color: var(--night-ink);
}
body.ch .header .brand-period {
  color: var(--indigo);
}
body.ch .header .brand-mark {
  border-color: var(--indigo);
}
body.ch .header.is-dark .brand-period {
  color: #f8c143;
}
body.ch .header.is-dark .brand-mark {
  border-color: #f8c143;
}
body.ch .header nav a:hover,
body.ch .header-demo:hover {
  color: var(--indigo);
}
body.ch .header.is-dark nav a:hover,
body.ch .header.is-dark .header-demo:hover {
  color: #fff;
}
body.ch .header .wordmark {
  font-size: 24px;
  letter-spacing: -1px;
}
body.ch .header .brand-mark {
  width: 16px;
  height: 16px;
  border-width: 4px;
  margin-right: 8px;
}
body.ch .header nav,
body.ch .header-demo {
  gap: 30px;
  font-size: 13px;
  color: #424245;
}
body.ch .header.is-dark nav,
body.ch .header.is-dark .header-demo {
  color: #d2d2d7;
}
body.ch .header nav a {
  transition: color 0.2s;
}
body.ch .header .button.small {
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  border-color: rgb(0 0 0 / 0.16);
  color: var(--ink);
}
body.ch .header .button.small:hover {
  background: rgb(0 0 0 / 0.05);
}
body.ch .header.is-dark .button.small {
  border-color: rgb(255 255 255 / 0.24);
  color: #fff;
}
body.ch .header.is-dark .button.small:hover {
  background: rgb(255 255 255 / 0.08);
}

/* Type */
.h-kicker {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--indigo);
}
.h-display,
.h-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: inherit;
  margin: 0;
}
.h-display {
  font-size: clamp(54px, 10vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.h-display-md {
  font-size: clamp(46px, 7.4vw, 104px);
}
.h-title {
  font-size: clamp(38px, 5.8vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.h-lede {
  margin: 28px auto 0;
  max-width: 680px;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}
.h-sub {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  color: var(--ink-soft);
}
.h-soft {
  color: #86868b;
}
.h-gradient {
  background: linear-gradient(95deg, #1b4a92 0%, #2f6bc4 42%, #f8bd37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Descenders must not be clipped by the text box. */
  padding-bottom: 0.08em;
}
.h-gold {
  background: linear-gradient(95deg, #ffe7a8 0%, #f8c143 45%, #e08a3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

/* Buttons and links */
.h-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.h-btn:active {
  transform: scale(0.98);
}
.h-btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgb(27 74 146 / 0.6);
}
.h-btn-primary:hover {
  background: var(--indigo-deep);
  box-shadow: 0 14px 34px -10px rgb(27 74 146 / 0.7);
}
.h-btn-quiet {
  color: var(--indigo);
  box-shadow: inset 0 0 0 1.5px rgb(27 74 146 / 0.35);
}
.h-btn-quiet:hover {
  background: rgb(27 74 146 / 0.07);
}
.h-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 36px;
  font-size: 19px;
  font-weight: 500;
  color: var(--indigo);
}
.h-link span {
  transition: transform 0.25s var(--ease);
}
.h-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.h-link:hover span {
  transform: translateX(3px);
}
.h-link-light {
  color: #f8c143;
}
.h-pill {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--indigo);
  background: rgb(27 74 146 / 0.1);
  transition: background 0.2s;
}
.h-pill:hover {
  background: rgb(27 74 146 / 0.16);
}
.h-icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Hero */
.h-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(88px, 13vh, 150px) 24px clamp(56px, 8vh, 96px);
}
.h-hero-aura {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(38% 40% at 30% 35%, rgb(47 107 196 / 0.16), transparent 70%),
    radial-gradient(34% 38% at 72% 30%, rgb(248 189 55 / 0.16), transparent 70%),
    radial-gradient(40% 40% at 50% 70%, rgb(27 74 146 / 0.12), transparent 70%);
  filter: blur(20px);
  animation: h-drift 18s ease-in-out infinite alternate;
}
@keyframes h-drift {
  to {
    transform: translate3d(0, -3%, 0) scale(1.06);
  }
}

/* The product on stage */
.h-stage {
  padding: 0 clamp(14px, 3vw, 40px) clamp(80px, 10vw, 140px);
  background: linear-gradient(180deg, var(--paper) 0%, #eef0f8 55%, var(--paper-2) 100%);
}
.h-device {
  color: #f5f6f8;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(160deg, #23252d, #0b0c10 60%);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.08),
    0 50px 120px -30px rgb(30 27 75 / 0.55),
    0 30px 60px -40px rgb(0 0 0 / 0.6);
}
.h-device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 12px;
}
.h-device-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3c44;
}
.h-device-bar span:nth-child(1) {
  background: #ff5f57;
}
.h-device-bar span:nth-child(2) {
  background: #febc2e;
}
.h-device-bar span:nth-child(3) {
  background: #28c840;
}
.h-device-bar small {
  margin: 0 auto;
  padding: 4px 16px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
  color: #9ea5b0;
  font-size: 12px;
  transform: translateX(-26px);
}
.h-device .product-demo {
  border-radius: 20px;
  border-color: #2b2f3a;
  box-shadow: none;
}
.h-stage-foot {
  max-width: 1280px;
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}
.h-stage-foot .demo-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* At a glance */
.h-facts {
  background: var(--paper-2);
  padding: 0 24px clamp(72px, 9vw, 120px);
}
.h-facts-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.h-facts-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px solid #d2d2d7;
}
.h-facts-grid b {
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(95deg, #1b4a92, #2f6bc4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-facts-grid span {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 220px;
}

/* Chapters */
.h-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(88px, 12vw, 168px) clamp(20px, 5vw, 64px);
}
.h-section > :not([aria-hidden="true"]) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.h-section > .h-link {
  display: flex;
  justify-content: center;
  width: fit-content;
}
.h-light {
  background: var(--paper-2);
}
.h-white {
  background: #fff;
}
.h-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.h-head-left {
  text-align: left;
}
.h-head-left .h-sub {
  margin-left: 0;
}

/* Modules: a bento of tiles, each opening the tour */
.h-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.h-tile {
  text-align: left;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-height: 320px;
  padding: 30px;
  border: 0;
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.h-tile:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 30px 60px -30px rgb(30 27 75 / 0.35);
}
.h-tile-wide {
  grid-column: span 2;
}
.h-tile-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.h-tile-label .h-icon {
  width: 22px;
  height: 22px;
  color: var(--indigo);
}
.h-tile-figure {
  margin-top: auto;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.h-tile-figure small {
  font-size: 0.5em;
  color: #86868b;
  letter-spacing: -0.03em;
}
.h-tile-copy {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 440px;
}
.h-meter {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: #ececf0;
  overflow: hidden;
}
.h-meter i {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1b4a92, #f8bd37);
}
.h-faces {
  margin-top: auto;
  display: flex;
}
.h-faces i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-right: -10px;
  border-radius: 50%;
  border: 3px solid #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #1b4a92, #76b6f7);
}
.h-faces i:nth-child(2) {
  background: linear-gradient(135deg, #f8bd37, #1b4a92);
}
.h-faces i:nth-child(3) {
  background: linear-gradient(135deg, #14b8a6, #f8bd37);
}
.h-faces i:nth-child(4) {
  background: #e8e8ed;
  color: var(--ink-soft);
}
.h-bars {
  margin-top: auto;
  width: 100%;
  display: grid;
  gap: 10px;
}
.h-bars i {
  display: block;
  height: 12px;
  width: var(--v);
  border-radius: 99px;
  background: linear-gradient(90deg, #1b4a92, #76b6f7);
}
.h-bars i:nth-child(2) {
  background: linear-gradient(90deg, #f8bd37, #1b4a92);
  opacity: 0.85;
}
.h-bars i:nth-child(3) {
  background: #d2d2d7;
}
.h-tile-dark,
.h-tile-glow {
  background: #0b0c10;
  color: var(--night-ink);
}
.h-tile-dark .h-tile-label,
.h-tile-glow .h-tile-label,
.h-tile-dark .h-tile-copy,
.h-tile-glow .h-tile-copy {
  color: var(--night-soft);
}
.h-tile-dark .h-tile-label .h-icon,
.h-tile-glow .h-tile-label .h-icon {
  color: #f8c143;
}
.h-tile-glow {
  background:
    radial-gradient(70% 90% at 85% 0%, rgb(47 107 196 / 0.45), transparent 60%),
    radial-gradient(60% 80% at 10% 100%, rgb(248 189 55 / 0.3), transparent 60%), #0b0c10;
}
.h-tile-glow .h-gradient {
  background-image: linear-gradient(95deg, #a9cdf8, #76b6f7 45%, #f8c143);
}
.h-cams {
  margin-top: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 150px;
}
.h-cams i {
  position: relative;
  border-radius: 12px;
  background:
    radial-gradient(80% 90% at 30% 20%, rgb(255 214 150 / 0.25), transparent 60%),
    linear-gradient(160deg, #2a2f3d, #12141b);
  overflow: hidden;
}
.h-cams i:first-child {
  grid-row: span 2;
}
.h-cams i::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff453a;
  box-shadow: 0 0 0 4px rgb(255 69 58 / 0.2);
  animation: h-live 1.6s ease-in-out infinite;
}
.h-cams b {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #d2d2d7;
}
@keyframes h-live {
  50% {
    opacity: 0.35;
  }
}

/* Feature list */
.h-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
  margin-bottom: 8px;
}
.h-features article {
  padding-top: 26px;
  border-top: 1px solid #e5e5ea;
}
.h-features .h-icon {
  color: var(--indigo);
  width: 30px;
  height: 30px;
}
.h-features h3,
.h-trust h3,
.h-steps h3 {
  margin: 18px 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.h-features p,
.h-trust p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Lottery: a dark, warm chapter of its own */
.h-lottery {
  background: var(--night);
  color: var(--night-ink);
}
.h-lottery .h-sub {
  color: var(--night-soft);
}
.h-kicker-gold {
  color: #f8c143;
}
.h-lottery-glow {
  position: absolute;
  z-index: -1;
  inset: -10% -10% auto;
  height: 70%;
  background:
    radial-gradient(45% 55% at 50% 30%, rgb(245 196 107 / 0.22), transparent 70%),
    radial-gradient(30% 40% at 20% 20%, rgb(224 138 60 / 0.15), transparent 70%);
  filter: blur(10px);
}
.h-lottery-stage {
  margin-bottom: clamp(56px, 7vw, 96px);
}
.h-lottery-stage .lottery-connected-demo {
  border-radius: var(--radius-xl);
  box-shadow: 0 50px 120px -40px rgb(245 196 107 / 0.35);
}
.h-lottery-stage .lottery-demo-status {
  text-align: center;
  color: #86868b;
}
.h-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.h-steps article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
  border: 1px solid rgb(255 255 255 / 0.08);
}
.h-step-no {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(95deg, #ffe7a8, #e08a3c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-steps p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--night-soft);
}
.h-steps button {
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: #f8c143;
  font-size: 15px;
  font-weight: 600;
}
.h-steps button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.h-lottery-facts {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.h-lottery-facts div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.h-lottery-facts b {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.h-lottery-facts span {
  color: var(--night-soft);
}
.h-footnote {
  margin-top: 40px;
  font-size: 13px;
  color: #5a616d;
  text-align: center;
}

/* Intelligence */
.h-ai {
  background: #050508;
  color: var(--night-ink);
  text-align: center;
}
.h-ai .h-sub {
  color: var(--night-soft);
}
.h-ai .h-kicker {
  color: #f8c143;
}
.h-ai .h-gradient {
  background-image: linear-gradient(95deg, #a9cdf8, #76b6f7 45%, #f8c143);
}
.h-ai-orb {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 58%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  opacity: 0.75;
}
.h-ai-orb i {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(27 74 146 / 0.6), transparent 65%);
  animation: h-orbit 16s linear infinite;
  transform-origin: 55% 45%;
}
.h-ai-orb i:nth-child(2) {
  background: radial-gradient(circle, rgb(248 189 55 / 0.45), transparent 65%);
  animation-duration: 22s;
  animation-direction: reverse;
  transform-origin: 40% 60%;
}
.h-ai-orb i:nth-child(3) {
  background: radial-gradient(circle, rgb(168 85 247 / 0.45), transparent 65%);
  animation-duration: 28s;
  transform-origin: 60% 60%;
}
@keyframes h-orbit {
  to {
    transform: rotate(360deg);
  }
}
.h-ai-panel {
  max-width: 760px !important;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.h-ai-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8c143;
}
.h-ai-label .h-icon {
  width: 18px;
  height: 18px;
}
.h-ai-panel .h-prompts {
  margin: 26px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.h-ai-panel .h-prompts button {
  width: auto;
  text-align: center;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgb(255 255 255 / 0.04);
  color: var(--night-ink);
  font-size: 16px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.h-ai-panel .h-prompts button:hover,
.h-ai-panel .h-prompts button[aria-pressed="true"] {
  background: rgb(118 182 247 / 0.16);
  border-color: rgb(118 182 247 / 0.5);
}
.h-ai-answer {
  min-height: 3em;
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--night-ink);
}
.h-ai-caption {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a616d;
}

/* Trust */
.h-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}
.h-trust article {
  padding: 32px;
  border-radius: 24px;
  background: #fff;
}
.h-trust .h-icon {
  width: 32px;
  height: 32px;
  color: var(--indigo);
}

/* Story */
.h-story {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.h-story picture,
.h-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.15) 60%, transparent 100%),
    linear-gradient(180deg, rgb(0 0 0 / 0.05) 30%, rgb(0 0 0 / 0.75) 100%);
}
.h-story-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(56px, 8vw, 110px);
}
.h-story .h-kicker {
  color: #ffd99a;
}
.h-story .h-sub {
  margin-left: 0;
  color: rgb(255 255 255 / 0.8);
}

/* Final call */
.h-final {
  text-align: center;
  padding: clamp(110px, 14vw, 200px) 24px;
  background: #fff;
}

/* Footer: the shared dark footer, on a dark ground. */
body.ch .footer {
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  max-width: none;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: #0b0c10;
  color: var(--night-ink);
  border-top: 0;
}

/* Reveal on scroll: only once the script has run, so a page without it shows everything. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready [data-reveal="rise"] {
  transform: translate3d(0, 90px, 0) scale(0.96);
  transition-duration: 1.2s;
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .h-hero-aura,
  .h-ai-orb i,
  .h-cams i::before {
    animation: none;
  }
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1060px) {
  .h-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .h-steps,
  .h-lottery-facts,
  .h-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .h-features,
  .h-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  body.ch .header {
    min-height: 54px;
    padding: 8px 18px;
  }
  .h-hero {
    padding-top: 72px;
  }
  .h-display {
    letter-spacing: -0.05em;
    line-height: 1;
  }
  .h-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .h-bento,
  .h-features,
  .h-trust,
  .h-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .h-tile-wide {
    grid-column: auto;
  }
  .h-tile {
    min-height: 260px;
    padding: 26px;
  }
  .h-features {
    gap: 40px;
  }
  .h-device {
    padding: 6px;
    border-radius: 22px;
  }
  .h-device-bar {
    padding: 4px 6px 8px;
  }
  .h-device-bar small {
    display: none;
  }
  /* The tour's figures, one to a row, so an amount never breaks across lines. */
  .h-device .workspace-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .h-device .workspace-stats strong {
    overflow-wrap: normal;
  }
  .h-story {
    min-height: 78vh;
  }
}

/* ---------------------------------------------------------------------------------
   Navigation: the Modules menu, the phone sheet, the page you are on.
   --------------------------------------------------------------------------------- */
body.ch .header nav a[aria-current="page"],
body.ch .header-demo[aria-current="page"],
body.ch .ch-menu-button[data-current] {
  color: var(--ink);
  font-weight: 600;
}
body.ch .header.is-dark nav a[aria-current="page"],
body.ch .header.is-dark .header-demo[aria-current="page"],
body.ch .header.is-dark .ch-menu-button[data-current] {
  color: #fff;
}
.ch-nav {
  align-items: center;
}
.ch-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s;
}
.ch-menu-button span {
  font-size: 11px;
  transition: transform 0.25s var(--ease);
}
.ch-menu-button:hover {
  color: var(--indigo);
}
.header.is-dark .ch-menu-button:hover {
  color: #fff;
}
.ch-menu-button[aria-expanded="true"] span {
  transform: rotate(180deg);
}
.ch-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: min(860px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 24px;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.06),
    0 40px 80px -30px rgb(30 27 75 / 0.35);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    visibility 0.25s;
}
.ch-menu-button[aria-expanded="true"] + .ch-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.header.is-dark .ch-menu-panel {
  background: rgb(29 29 31 / 0.97);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.08),
    0 40px 80px -30px rgb(0 0 0 / 0.6);
  color: var(--night-ink);
}
.ch-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
body.ch .header .ch-menu-grid a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  color: inherit;
  transition: background 0.2s;
}
body.ch .header .ch-menu-grid a:hover,
body.ch .header .ch-menu-grid a[aria-current="page"] {
  background: var(--paper-2);
  color: inherit;
}
body.ch .header.is-dark .ch-menu-grid a:hover,
body.ch .header.is-dark .ch-menu-grid a[aria-current="page"] {
  background: rgb(255 255 255 / 0.07);
}
.ch-menu-grid .h-icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--indigo);
}
.header.is-dark .ch-menu-grid .h-icon {
  color: #f8c143;
}
.ch-menu-grid b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.ch-menu-grid small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-soft);
}
.header.is-dark .ch-menu-grid small {
  color: var(--night-soft);
}
body.ch .header .ch-menu-all {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 14px;
  border-top: 1px solid rgb(0 0 0 / 0.06);
  font-weight: 600;
  color: var(--indigo);
}
body.ch .header.is-dark .ch-menu-all {
  border-top-color: rgb(255 255 255 / 0.08);
  color: #f8c143;
}
.ch-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.ch-burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.ch-burger span:first-child {
  top: 16px;
}
.ch-burger span:last-child {
  top: 23px;
}
.ch-burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.ch-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.ch-sheet {
  position: fixed;
  z-index: 59;
  inset: 60px 0 0;
  overflow-y: auto;
  padding: 18px 24px calc(40px + env(safe-area-inset-bottom));
  background: rgb(251 251 253 / 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink);
  animation: ch-sheet-in 0.3s var(--ease);
}
.ch-sheet[hidden] {
  display: none;
}
.header.is-dark + .ch-sheet {
  background: rgb(22 22 23 / 0.98);
  color: var(--night-ink);
}
@keyframes ch-sheet-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.ch-sheet nav > a {
  display: block;
  padding: 10px 0;
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ch-sheet p {
  margin: 18px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.ch-sheet-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgb(127 127 127 / 0.2);
}
.ch-sheet-modules a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  font-weight: 500;
}
html.ch-sheet-open,
html.ch-sheet-open body {
  overflow: hidden;
}

/* ---------------------------------------------------------------------------------
   Module pages
   --------------------------------------------------------------------------------- */
.ch-module-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ch-module-kicker .h-icon {
  width: 26px;
  height: 26px;
}
.ch-app-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 820px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}
.ch-app-pages li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.07);
  font-size: 13.5px;
  color: #424245;
}
.ch-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.ch-row + .ch-row {
  margin-top: clamp(96px, 11vw, 160px);
}
.ch-row-flip .ch-row-copy {
  order: 2;
}
.ch-row-copy h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.ch-row-copy > p:not(.h-kicker) {
  margin: 20px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.ch-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ch-points li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 16px;
  line-height: 1.45;
  border-top: 1px solid #ececf0;
}
.ch-points li::before,
.ch-caps li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 11px;
  border: solid var(--indigo);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ch-row-visual {
  padding: clamp(18px, 3.4vw, 44px);
  border-radius: 32px;
  background:
    radial-gradient(60% 60% at 85% 10%, rgb(248 189 55 / 0.12), transparent 70%),
    radial-gradient(60% 60% at 10% 90%, rgb(47 107 196 / 0.12), transparent 70%), var(--paper-2);
}

/* Product pictures drawn in HTML */
.ch-ui {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.06),
    0 30px 60px -30px rgb(30 27 75 / 0.3);
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ch-ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 15px;
}
.ch-ui-top em {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--indigo-deep);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.ch-ui table {
  width: 100%;
  border-collapse: collapse;
}
.ch-ui th {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e5ea;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ch-ui td {
  padding: 11px 10px;
  border-bottom: 1px solid #f2f2f5;
  font-size: 13.5px;
}
.ch-ui tr:last-child td {
  border-bottom: 0;
}
.ch-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.ch-badge-green {
  background: #e7f6ec;
  color: #17703b;
}
.ch-badge-blue {
  background: #eef0ff;
  color: var(--indigo-deep);
}
.ch-badge-amber {
  background: #fff3dc;
  color: #8a4b00;
}
.ch-ui-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ch-ui-stats div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.ch-ui-stats div {
  padding: 16px;
  border-radius: 14px;
  background: var(--paper-2);
}
.ch-ui-stats span,
.ch-ui-stats small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.ch-ui-stats b {
  display: block;
  margin: 6px 0 2px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ch-ui-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ch-ui-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f2f5;
}
.ch-ui-list li:last-child {
  border-bottom: 0;
}
.ch-ui-list .h-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: #eef0ff;
  color: var(--indigo);
}
.ch-ui-list span {
  flex: 1;
  min-width: 0;
}
.ch-ui-list b,
.ch-ui-steps b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.ch-ui-list small,
.ch-ui-steps small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.ch-ui-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ch-step;
}
.ch-ui-steps li {
  position: relative;
  padding: 0 0 18px 42px;
  counter-increment: ch-step;
}
.ch-ui-steps li:last-child {
  padding-bottom: 0;
}
.ch-ui-steps li::before {
  content: counter(ch-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.ch-ui-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12.5px;
  top: 30px;
  bottom: 4px;
  width: 1px;
  background: #dcdcf5;
}
.ch-ui-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: #0b0c10;
}
.ch-ui-board div {
  padding: 12px;
  border-radius: 10px;
  background: #17181e;
  color: #f3f0e9;
}
.ch-ui-board small,
.ch-ui-board em {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: #9ea5b0;
}
.ch-ui-board b {
  display: block;
  margin: 6px 0;
  font-size: 13.5px;
  line-height: 1.25;
}
.ch-ui-board span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9ea5b0;
}
.ch-ui-board strong {
  font-size: 15px;
  letter-spacing: 0;
  color: #ffd99a;
}
.ch-ui-cams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ch-ui-cams div {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(70% 60% at 30% 30%, rgb(255 255 255 / 0.08), transparent 70%),
    linear-gradient(150deg, #262a36, #0b0c10);
}
.ch-ui-cams b {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.ch-ui-cams em {
  position: absolute;
  left: 10px;
  top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(255 59 48 / 0.92);
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
}
.ch-ui-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ch-ui-chat p {
  max-width: 88%;
  margin: 0;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
}
.ch-chat-user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--indigo);
  color: #fff;
}
.ch-chat-bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: var(--paper-2);
}
.ch-ui-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f2f2f5;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* How a module connects to the others */
.ch-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ch-link-card {
  display: block;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.ch-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgb(30 27 75 / 0.3);
}
.ch-link-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ch-link-head .h-icon {
  width: 24px;
  height: 24px;
  color: var(--indigo);
}
.ch-link-head b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ch-link-head i {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ch-link-text {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Dark chapters and outcome cards */
.ch-dark {
  background: var(--night);
  color: var(--night-ink);
}
.ch-dark .h-kicker {
  color: #f8c143;
}
.ch-dark .h-sub {
  color: var(--night-soft);
}
.ch-dark .h-gradient {
  background-image: linear-gradient(95deg, #76b6f7 0%, #76b6f7 45%, #f8c143 100%);
}
.ch-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ch-outcomes article {
  padding: clamp(26px, 3vw, 38px);
  border-radius: 26px;
  background: #161617;
}
.ch-outcomes h3,
.ch-flow h3,
.ch-day h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.ch-outcomes p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--night-soft);
}
.ch-outcomes-light article {
  background: var(--paper-2);
}
.ch-outcomes-light p {
  color: var(--ink-soft);
}
.ch-dark .h-trust article {
  background: #161617;
}
.ch-dark .h-trust p {
  color: var(--night-soft);
}
.ch-dark .h-trust .h-icon {
  color: #f8c143;
}
.h-white .h-trust article {
  background: var(--paper-2);
}

/* Everything in a module */
.ch-caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ch-caps li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid #e5e5ea;
  font-size: 16.5px;
  line-height: 1.45;
}
.ch-caps li::before {
  top: 20px;
}
.ch-note-light {
  max-width: 760px;
  margin: 40px 0 0;
  text-align: left;
}

/* Previous, the platform, next */
.ch-pager {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 max(20px, calc((100% - 1200px) / 2)) clamp(40px, 6vw, 72px);
  background: #fff;
}
.ch-pager a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  border-radius: 22px;
  background: var(--paper-2);
  transition: background 0.25s;
}
.ch-pager a:hover {
  background: #ececf0;
}
.ch-pager small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.ch-pager b {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ch-pager .h-icon {
  width: 24px;
  height: 24px;
  color: var(--indigo);
}
.ch-pager .ch-pager-mid {
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
}
.ch-pager .ch-pager-mid:hover {
  background: #000;
}
.ch-pager .ch-pager-mid small {
  color: #9ea5b0;
}
.ch-pager .ch-pager-next {
  align-items: flex-end;
  text-align: right;
}

/* ---------------------------------------------------------------------------------
   Platform page
   --------------------------------------------------------------------------------- */
.ch-hub {
  position: relative;
  width: min(760px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.ch-hub::before,
.ch-hub::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.ch-hub::before {
  inset: 9%;
  border: 1.5px dashed rgb(27 74 146 / 0.28);
}
.ch-hub::after {
  inset: 30%;
  background: radial-gradient(circle, rgb(47 107 196 / 0.18), transparent 70%);
  z-index: 0;
}
.ch-hub-core {
  position: absolute;
  z-index: 1;
  inset: 34%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  background: linear-gradient(150deg, #1b4a92, #2f6bc4 60%, #f8bd37);
  color: #fff;
  box-shadow: 0 40px 80px -30px rgb(27 74 146 / 0.7);
  text-align: center;
}
.ch-hub-core .brand-mark {
  width: 26px;
  height: 26px;
  margin: 0 0 8px;
  border: 6px solid #fff;
  border-radius: 50%;
}
.ch-hub-core b {
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.ch-hub-core small {
  font-size: 13px;
  opacity: 0.85;
}
.ch-hub-node {
  --a: calc(var(--i) * 45deg - 90deg);
  position: absolute;
  z-index: 2;
  left: calc(50% + cos(var(--a)) * 41%);
  top: calc(50% + sin(var(--a)) * 41%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 130px;
  transform: translate(-50%, -32px);
  text-align: center;
}
.ch-hub-node .h-icon {
  width: 64px;
  height: 64px;
  padding: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--indigo);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.05),
    0 20px 40px -20px rgb(30 27 75 / 0.4);
  transition: transform 0.35s var(--ease);
}
.ch-hub-node:hover .h-icon {
  transform: scale(1.08);
}
.ch-hub-node span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

/* A day in the store */
.h-section > .ch-day {
  max-width: 920px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.ch-day li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
}
.ch-day time {
  padding-top: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--indigo);
  text-align: right;
}
.ch-day li > div {
  position: relative;
  padding: 0 0 48px 34px;
  border-left: 2px solid #e5e5ea;
}
.ch-day li:last-child > div {
  padding-bottom: 0;
  border-left-color: transparent;
}
.ch-day li > div::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 5px #fff;
}
.ch-day-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 600;
  color: #424245;
}
.ch-day-tag .h-icon {
  width: 15px;
  height: 15px;
  color: var(--indigo);
}
.ch-day p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* One action, everywhere it matters */
.ch-flows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ch-flow {
  padding: clamp(26px, 3vw, 36px);
  border-radius: 26px;
  background: #161617;
}
.ch-flow-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 13px;
  color: #f8c143;
}
.ch-flow-path b {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-weight: 600;
  color: var(--night-ink);
}
.ch-flow > p:last-child {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--night-soft);
}

/* Module directory (home and platform) */
.ch-dir {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ch-dir-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.h-white .ch-dir-card {
  background: var(--paper-2);
}
.ch-dir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgb(30 27 75 / 0.3);
}
.ch-dir-card .h-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  color: var(--indigo);
}
.ch-dir-card b {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ch-dir-card span {
  flex: 1;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.ch-dir-card i {
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  color: var(--indigo);
}

/* ---------------------------------------------------------------------------------
   Pricing
   --------------------------------------------------------------------------------- */
.ch-period {
  display: inline-flex;
  gap: 4px;
  margin-top: 40px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.05);
}
.ch-period button {
  min-height: 40px;
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.ch-period button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
}
.h-section.ch-pricing {
  padding-top: 0;
}
#pricing-status:not(:empty) {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
}
.ch-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  align-items: stretch;
}
.ch-plans .pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.ch-plans .pricing-card.featured {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 40px 80px -30px rgb(30 27 75 / 0.55);
}
.ch-plans .pricing-card h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ch-plans .pricing-card > p {
  margin: 10px 0 0;
  min-height: 3em;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.ch-plans .featured > p,
.ch-plans .featured small {
  color: var(--night-soft);
}
.ch-plans .pricing-amount {
  margin-top: 26px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.ch-plans .pricing-card small {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.ch-plans .pricing-card ul {
  flex: 1;
  margin: 26px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgb(127 127 127 / 0.2);
}
.ch-plans .pricing-card li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 15.5px;
  line-height: 1.45;
}
.ch-plans .pricing-card li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 11px;
  border: solid var(--indigo);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ch-plans .featured li::before {
  border-color: #f8c143;
}
.ch-plans .pricing-card .button {
  margin-top: 28px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.ch-plans .pricing-card .button:hover {
  background: var(--indigo-deep);
}
.ch-plans .featured .button {
  background: #fff;
  color: var(--ink);
}
.ch-plans .featured .button:hover {
  background: #e8e8ed;
}
.ch-plans .pricing-badge {
  position: absolute;
  top: 30px;
  right: 26px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(95deg, #1b4a92, #2f6bc4);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ch-plan-note {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: var(--ink-soft);
}
.ch-start {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ch-start;
}
.ch-start li {
  padding: clamp(26px, 3vw, 36px);
  border-radius: 26px;
  background: var(--paper-2);
  counter-increment: ch-start;
}
.ch-start li::before {
  content: counter(ch-start);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}
.ch-start h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ch-start p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.h-section > .ch-faq {
  max-width: 860px;
}
.ch-faq details {
  border-top: 1px solid #d2d2d7;
}
.ch-faq details:last-child {
  border-bottom: 1px solid #d2d2d7;
}
.ch-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.ch-faq summary::-webkit-details-marker {
  display: none;
}
.ch-faq summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--indigo);
  transition: transform 0.25s var(--ease);
}
.ch-faq details[open] summary::after {
  transform: rotate(45deg);
}
.ch-faq details p {
  max-width: 720px;
  margin: -6px 0 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------------------------
   Contact, legal, thank-you and 404 on the light page
   --------------------------------------------------------------------------------- */
body.ch .page {
  color: var(--ink);
}
body.ch .page-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}
body.ch .page-title span {
  background: linear-gradient(95deg, #1b4a92 0%, #2f6bc4 42%, #f8bd37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-bottom: 0.08em;
}
body.ch .page-lede {
  color: var(--ink-soft);
}
body.ch .eyebrow {
  color: var(--indigo);
}
body.ch .button {
  border-radius: 999px;
  border-color: rgb(0 0 0 / 0.16);
  color: var(--ink);
}
body.ch .button.primary {
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
}
body.ch .button.primary:hover {
  background: var(--indigo-deep);
}
body.ch .footer .button,
body.ch .mobile-cta .button {
  color: #fff;
  border-color: rgb(255 255 255 / 0.24);
}
body.ch .mobile-cta .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
body.ch .legal-layout {
  border-top-color: #e5e5ea;
}
body.ch .legal-toc ol {
  border-left-color: #e5e5ea;
}
body.ch .legal-toc a,
body.ch .legal-meta {
  color: var(--ink-soft);
}
body.ch .legal-toc a:hover {
  color: var(--indigo);
}
body.ch .legal-body {
  color: #424245;
}
body.ch .legal-body h2,
body.ch .legal-body h3,
body.ch .legal-body strong {
  color: var(--ink);
}
body.ch .legal-body a {
  color: var(--indigo);
}
body.ch .legal-body a:hover {
  color: var(--indigo-deep);
}
body.ch .legal-callout {
  border-color: #dcdcf5;
  border-left-color: var(--indigo);
  background: #f4f4ff;
  color: #3a3a5c;
}
body.ch .legal-table th,
body.ch .legal-table td {
  border-color: #e5e5ea;
}
body.ch .legal-table th {
  background: var(--paper-2);
  color: var(--ink-soft);
}
body.ch .message-mark {
  border-color: var(--indigo);
  box-shadow: 0 0 60px rgb(27 74 146 / 0.3);
}
body.ch .message-links {
  color: var(--ink-soft);
}
body.ch .message-links a {
  color: var(--ink);
}
body.ch .message-links a:hover {
  color: var(--indigo);
}

/* Contact */
.ch-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px) clamp(80px, 10vw, 140px);
}
.ch-contact-intro {
  position: sticky;
  top: 96px;
}
.ch-contact-intro .h-display {
  font-size: clamp(46px, 6vw, 84px);
}
.ch-contact-intro .h-lede {
  margin-left: 0;
  font-size: clamp(18px, 1.6vw, 21px);
}
body.ch .contact-steps {
  margin-top: 36px;
}
body.ch .contact-steps li {
  border-top-color: #e5e5ea;
}
body.ch .contact-steps li::before {
  color: var(--indigo);
  font-weight: 700;
}
body.ch .contact-steps span {
  color: var(--ink-soft);
}
body.ch .contact-direct {
  margin-top: 28px;
  color: var(--ink-soft);
}
body.ch .contact-direct .footer-heading {
  color: var(--ink-soft);
}
body.ch .contact-direct a {
  color: var(--indigo);
}
body.ch .contact-card {
  grid-area: auto;
  padding: clamp(24px, 3.4vw, 44px);
  border: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.05),
    0 50px 100px -40px rgb(30 27 75 / 0.35);
}
body.ch .contact-card h2 {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.ch .form-note,
body.ch .form-legal {
  color: var(--ink-soft);
}
body.ch .form-legal a {
  color: var(--ink);
}
body.ch .field label {
  color: var(--ink);
}
body.ch .field .optional {
  color: var(--ink-soft);
}
body.ch .field input,
body.ch .field textarea {
  border-color: #d2d2d7;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
body.ch .field input::placeholder,
body.ch .field textarea::placeholder {
  color: #9ea5b0;
}
body.ch .field input:focus,
body.ch .field textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgb(27 74 146 / 0.15);
}
body.ch .field input[aria-invalid="true"],
body.ch .field textarea[aria-invalid="true"] {
  border-color: #d70015;
}
body.ch .field-error {
  color: #c4001a;
}
body.ch .form-alert {
  border-color: #f5c2c7;
  background: #fff1f2;
  color: #8a0012;
}
body.ch .submit-button {
  min-height: 54px;
  font-weight: 600;
}
body.ch .spinner {
  border-color: rgb(255 255 255 / 0.4);
  border-top-color: #fff;
}
.ch-contact-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.ch-contact-modules a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
  font-size: 13.5px;
  font-weight: 500;
  transition: box-shadow 0.2s;
}
.ch-contact-modules a:hover {
  box-shadow: inset 0 0 0 1px var(--indigo);
}
.ch-contact-modules .h-icon {
  width: 16px;
  height: 16px;
  color: var(--indigo);
}

@media (max-width: 1060px) {
  body.ch .header .ch-nav {
    display: none;
  }
  .ch-burger {
    display: block;
  }
  .ch-dir {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ch-caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.ch .footer {
    grid-template-columns: 1fr 1fr;
  }
  .ch-row,
  .ch-contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .ch-row-flip .ch-row-copy {
    order: 0;
  }
  .ch-contact-intro {
    position: static;
  }
  .ch-outcomes,
  .ch-start {
    grid-template-columns: minmax(0, 1fr);
  }
  .ch-flows,
  .ch-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 650px) {
  .ch-sheet {
    inset: 54px 0 0;
  }
  .ch-dir,
  .ch-caps,
  .ch-pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .ch-dir-card {
    min-height: 0;
  }
  .ch-pager .ch-pager-next {
    align-items: flex-start;
    text-align: left;
  }
  .ch-pager .ch-pager-mid {
    order: 3;
  }
  .ch-ui {
    padding: 16px;
  }
  .ch-ui th,
  .ch-ui td {
    padding-left: 6px;
    padding-right: 6px;
  }
  .ch-ui td {
    font-size: 12.5px;
  }
  .ch-ui-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ch-ui-board div:nth-child(n + 5) {
    display: none;
  }
  .ch-link-head {
    flex-wrap: wrap;
  }
  .ch-link-head i {
    margin-left: 0;
  }
  /* The hub becomes a grid of modules around the record. */
  .ch-hub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    aspect-ratio: auto;
  }
  .ch-hub::before,
  .ch-hub::after {
    display: none;
  }
  .ch-hub-core {
    position: static;
    grid-column: 1 / -1;
    padding: 30px;
    border-radius: 26px;
  }
  .ch-hub-node {
    position: static;
    width: auto;
    flex-direction: row;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    transform: none;
    text-align: left;
  }
  .ch-hub-node .h-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
    box-shadow: none;
    background: #eef0ff;
  }
  .ch-hub-node span {
    font-size: 13.5px;
  }
  .ch-day li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .ch-day time {
    text-align: left;
  }
  .ch-day li > div {
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-sheet,
  .ch-menu-panel {
    animation: none;
    transition: none;
  }
}
.h-section > .h-link + .h-link {
  margin-top: 14px;
}
.ch-contact-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.ch-contact-page > .h-hero-aura {
  height: 900px;
}
.ch-faq p .h-link {
  display: inline-flex;
  margin-top: 0;
  font-size: inherit;
}
