/* Cartage home (v2) — scoped to .ch. Light/dark follow the site's data-theme. */

.ch {
  --bg: #08090e;
  --bg-alt: #0d0f16;
  --surface: #12141d;
  --surface-2: #181b26;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f6fc;
  --muted: #9aa3b8;
  --faint: #6b7489;
  --accent: #3d7bff;
  --accent-2: #6f6bff;
  --ok: #30d158;
  --glow: rgba(61, 123, 255, .35);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--line);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Hanken Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[data-theme="light"] .ch {
  --bg: #f6f7fb; /* matches the site's accent-21 light palette in styles.css */
  --bg-alt: #eef0f6;
  --surface: #ffffff;
  --surface-2: #f3f5fa;
  --line: rgba(15, 23, 42, .08);
  --line-2: rgba(15, 23, 42, .14);
  --text: #0b1020;
  --muted: #566078;
  --faint: #8a93a6;
  --glow: rgba(61, 123, 255, .22);
  --shadow: 0 30px 70px -24px rgba(20, 30, 60, .35), 0 0 0 1px var(--line);
}
.ch *, .ch *::before, .ch *::after { box-sizing: border-box; }
.ch h1, .ch h2, .ch h3, .ch p, .ch ol, .ch ul { margin: 0; padding: 0; }
.ch h1, .ch h2, .ch h3 { font-family: var(--font); color: var(--text); }
.ch a { color: inherit; }
.ch-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.ch-narrow { width: min(760px, 100% - 40px); }
.ch-ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type ---------- */
.ch-h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 750;
  text-wrap: balance;
}
.ch-h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 720;
  text-wrap: balance;
}
.ch-grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 60%, #b07bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ch-kicker {
  display: inline-block; margin-bottom: 14px;
  font: 600 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.ch .ch-lede { font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 640px; margin-inline: auto; text-wrap: pretty; }
.ch-sub { color: var(--muted); font-size: 1.1rem; line-height: 1.55; margin-top: 14px; }
.ch-fine { font-size: .86rem; color: var(--faint); line-height: 1.5; }
.ch-fine a { color: var(--muted); text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.ch-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 24px; border-radius: 14px;
  font: 600 1.02rem/1 var(--font); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.ch-btn:active { transform: scale(.98); }
.ch .ch-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #4f88ff, #2f68f0);
  box-shadow: 0 10px 30px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.ch-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ch .ch-btn-ghost { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.ch-btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.ch-btn-block { width: 100%; }
.ch-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 32px 0 14px; }

/* ---------- hero ---------- */
.ch-hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 0; text-align: center; isolation: isolate; }
.ch-hero-glow {
  position: absolute; inset: -10% 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(61, 123, 255, .28), transparent 70%),
    radial-gradient(35% 45% at 72% 25%, rgba(111, 107, 255, .24), transparent 70%),
    radial-gradient(30% 40% at 55% 60%, rgba(176, 123, 255, .14), transparent 70%);
  filter: blur(10px);
}
[data-theme="light"] .ch-hero-glow { opacity: .55; }
.ch-hero-copy .ch-h1 { margin: 26px 0 22px; }
.ch-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: .9rem; color: var(--muted); text-decoration: none;
}
.ch-pill img { border-radius: 6px; }
.ch-pill:hover { color: var(--text); }

/* ---------- the desktop stage (units scale with the stage width) ---------- */
.ch-stage-wrap { margin-top: clamp(40px, 6vw, 72px); }
.ch-stage-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(2000px) rotateX(4deg);
  transform-origin: 50% 0;
}
.ch-stage {
  --u: calc(100cqw / 1100);
  container-type: inline-size;
  position: relative; width: 100%; aspect-ratio: 1100 / 620;
  font-family: var(--font); color: #111; text-align: left;
  user-select: none;
}
@supports not (width: 1cqw) { .ch-stage { --u: calc(min(1120px, 100vw - 40px) / 1100); } }
.ch-stage-frame { container-type: inline-size; }
.ch-stage { --u: calc(100cqw / 1100); }

.ch-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 15% 20%, #6aa8ff 0%, transparent 60%),
    radial-gradient(55% 60% at 85% 15%, #8e7bff 0%, transparent 60%),
    radial-gradient(70% 70% at 70% 95%, #ff8fc7 0%, transparent 55%),
    radial-gradient(60% 60% at 10% 100%, #49d3c5 0%, transparent 55%),
    linear-gradient(160deg, #3d6cf0, #7a5cf0 55%, #e57bb7);
}
[data-theme="dark"] .ch-wall { filter: saturate(.9) brightness(.62); }

.ch-menubar {
  position: absolute; inset: 0 0 auto; height: calc(30 * var(--u));
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(14 * var(--u));
  font-size: calc(13.5 * var(--u)); color: #fff;
  background: rgba(20, 22, 35, .28);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .15);
  z-index: 5;
}
.ch-mb-left, .ch-mb-right { display: flex; align-items: center; gap: calc(18 * var(--u)); }
.ch-mb-left b { font-weight: 700; }
.ch-mb-dot { width: calc(13 * var(--u)); height: calc(13 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, .9); }
.ch-mb-sym { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.ch-mb-sym + .ch-mb-sym { width: calc(26 * var(--u)); }
.ch-mb-clock { font-variant-numeric: tabular-nums; }
.ch-mb-item {
  display: flex; align-items: center; gap: calc(5 * var(--u));
  height: calc(23 * var(--u)); padding: 0 calc(8 * var(--u)); border-radius: calc(6 * var(--u));
}
.ch-mb-item.is-open { background: rgba(255, 255, 255, .22); }
.ch-tray { width: calc(16 * var(--u)); height: calc(16 * var(--u)); flex: none; }
.ch-ind { display: none; align-items: center; gap: calc(5 * var(--u)); font-variant-numeric: tabular-nums; font-weight: 500; }
.ch-ind em { font-style: normal; }
.ch-stage[data-mode="percent"] .ch-ind-pct,
.ch-stage[data-mode="bar"] .ch-ind-bar,
.ch-stage[data-mode="ring"] .ch-ind-ring { display: inline-flex; }
.ch-minibar { width: calc(36 * var(--u)); height: calc(7 * var(--u)); border-radius: 99px; border: calc(1.2 * var(--u)) solid rgba(255, 255, 255, .9); padding: calc(1 * var(--u)); display: block; }
.ch-minibar i { display: block; height: 100%; width: 58%; border-radius: 99px; background: #fff; transition: width .6s ease; }
.ch-ring { width: calc(17 * var(--u)); height: calc(17 * var(--u)); transform: rotate(-90deg); }
.ch-ring circle { fill: none; stroke-width: 2.6; }
.ch-ring .trk { stroke: rgba(255, 255, 255, .35); }
.ch-ring .val { stroke: #fff; stroke-linecap: round; transition: stroke-dasharray .6s ease; }

/* windows */
.ch-win {
  position: absolute; border-radius: calc(11 * var(--u)); overflow: hidden;
  background: #fbfbfd;
  box-shadow: 0 calc(20 * var(--u)) calc(50 * var(--u)) rgba(10, 15, 40, .35), 0 0 0 calc(1 * var(--u)) rgba(0, 0, 0, .08);
}
[data-theme="dark"] .ch-win { background: #262834; }
.ch-win-bar {
  display: flex; align-items: center; gap: calc(7 * var(--u));
  height: calc(30 * var(--u)); padding: 0 calc(12 * var(--u));
  background: rgba(0, 0, 0, .035); border-bottom: calc(1 * var(--u)) solid rgba(0, 0, 0, .06);
  font-size: calc(12 * var(--u)); color: #555;
}
[data-theme="dark"] .ch-win-bar { background: rgba(255, 255, 255, .04); color: #aab; border-color: rgba(255, 255, 255, .06); }
.ch-win-bar i { width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; background: #ff5f57; }
.ch-win-bar i:nth-child(2) { background: #febc2e; }
.ch-win-bar i:nth-child(3) { background: #28c840; }
.ch-win-bar span { margin-left: calc(10 * var(--u)); }
.ch-url { padding: calc(3 * var(--u)) calc(60 * var(--u)); border-radius: calc(6 * var(--u)); background: rgba(0, 0, 0, .05); }
.ch-win-body { padding: calc(18 * var(--u)); display: grid; gap: calc(11 * var(--u)); }
.ch-skel { height: calc(10 * var(--u)); border-radius: 99px; background: rgba(0, 0, 0, .09); }
[data-theme="dark"] .ch-skel { background: rgba(255, 255, 255, .09); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.ch-win-finder { left: 61%; top: 66%; width: 27%; z-index: 2; transform: rotate(-.4deg); }
.ch-win-finder .ch-win-body { gap: calc(9 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)); }
.ch-fcap { font-size: calc(11.5 * var(--u)); color: #444; }
[data-theme="dark"] .ch-fcap { color: #c9cbd6; }
.ch-fcap small { display: block; color: #888; font-size: calc(10.5 * var(--u)); margin-top: calc(3 * var(--u)); }
.ch-fbar { height: calc(7 * var(--u)); border-radius: 99px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.ch-fbar i { display: block; height: 100%; width: 47%; background: #3d7bff; }
.ch-win-doc { left: 4%; top: 15%; width: 50%; height: 70%; z-index: 1; }
.ch-doc { height: calc(100% - 30 * var(--u)); grid-template-rows: 1fr auto auto; }
.ch-doc-view { border-radius: calc(6 * var(--u)); background: linear-gradient(135deg, #1d2333, #3b2f55); }
.ch-doc-track { display: flex; gap: calc(4 * var(--u)); height: calc(22 * var(--u)); }
.ch-doc-track b { flex: 1; border-radius: calc(4 * var(--u)); background: #6e8bff; opacity: .75; }
.ch-doc-track b:nth-child(2n) { flex: 2; background: #b07bff; }
.ch-doc-track.t2 b { background: #2fc3a5; }
.ch-win-browser { left: 26%; top: 24%; width: 42%; height: 66%; z-index: 3; }

/* dropdown */
.ch-pop {
  position: absolute; z-index: 6; right: calc(118 * var(--u)); top: calc(36 * var(--u)); width: calc(330 * var(--u));
  padding: calc(12 * var(--u)); border-radius: calc(12 * var(--u));
  background: rgba(246, 246, 248, .86); color: #111;
  backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: 0 calc(24 * var(--u)) calc(60 * var(--u)) rgba(10, 15, 40, .4), 0 0 0 calc(1 * var(--u)) rgba(0, 0, 0, .1);
  font-size: calc(12.5 * var(--u));
  transform-origin: 70% 0;
  animation: ch-pop-in .5s cubic-bezier(.2, .9, .3, 1.2) .5s both;
}
[data-theme="dark"] .ch-pop { background: rgba(40, 42, 54, .86); color: #f2f3f7; box-shadow: 0 calc(24 * var(--u)) calc(60 * var(--u)) rgba(0, 0, 0, .55), 0 0 0 calc(1 * var(--u)) rgba(255, 255, 255, .12); }
@keyframes ch-pop-in { from { opacity: 0; transform: scale(.94) translateY(calc(-6 * var(--u))); } }
.ch-pop-head { display: flex; align-items: center; gap: calc(6 * var(--u)); font-size: calc(14 * var(--u)); padding-bottom: calc(10 * var(--u)); border-bottom: calc(1 * var(--u)) solid rgba(128, 128, 128, .22); }
.ch-pop-rows { display: grid; gap: calc(12 * var(--u)); padding: calc(12 * var(--u)) 0; border-bottom: calc(1 * var(--u)) solid rgba(128, 128, 128, .22); min-height: calc(60 * var(--u)); }
.ch-row { display: grid; grid-template-columns: 1fr auto; gap: calc(3 * var(--u)) calc(8 * var(--u)); align-items: center; animation: ch-row-in .4s ease both; }
.ch-row.is-leaving { animation: ch-row-out .35s ease both; }
@keyframes ch-row-in { from { opacity: 0; transform: translateY(calc(-4 * var(--u))); } }
@keyframes ch-row-out { to { opacity: 0; transform: translateX(calc(10 * var(--u))); } }
.ch-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-row .bar { grid-column: 1; height: calc(5 * var(--u)); border-radius: 99px; background: rgba(128, 128, 128, .25); overflow: hidden; }
.ch-row .bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: #3d7bff; transition: width .5s linear; }
.ch-row.is-done .bar i { background: var(--ok); }
.ch-row small { grid-column: 1; color: rgba(110, 110, 120, 1); font-size: calc(11 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .ch-row small { color: #a3a6b4; }
.ch-row .x { grid-column: 2; grid-row: 1 / span 3; width: calc(15 * var(--u)); height: calc(15 * var(--u)); border-radius: 50%; background: rgba(128, 128, 128, .45); position: relative; }
.ch-row .x::before, .ch-row .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 55%; height: calc(1.6 * var(--u)); background: #fff; transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; }
.ch-row .x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.ch-pop-foot { display: flex; justify-content: space-between; padding-top: calc(10 * var(--u)); }
.ch-pop-foot span { padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: calc(6 * var(--u)); background: rgba(128, 128, 128, .16); }

/* toast */
.ch-toast {
  position: absolute; z-index: 7; right: calc(118 * var(--u)); top: calc(40 * var(--u)); width: calc(300 * var(--u));
  display: flex; align-items: center; gap: calc(10 * var(--u));
  padding: calc(12 * var(--u)) calc(14 * var(--u)); border-radius: calc(14 * var(--u));
  background: rgba(250, 250, 252, .9); color: #111;
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(10, 15, 40, .35), 0 0 0 calc(1 * var(--u)) rgba(0, 0, 0, .08);
  font-size: calc(13 * var(--u)); line-height: 1.3;
  opacity: 0; transform: translateY(calc(-10 * var(--u))) scale(.97); pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
[data-theme="dark"] .ch-toast { background: rgba(44, 46, 58, .92); color: #f2f3f7; }
.ch-toast.is-shown { opacity: 1; transform: none; }
.ch-toast small { display: block; color: #777; font-size: calc(11.5 * var(--u)); }
[data-theme="dark"] .ch-toast small { color: #a3a6b4; }
.ch-toast-ico { display: grid; place-items: center; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; color: #fff; background: var(--ok); flex: none; }
.ch-toast-ico .ch-ico { width: 60%; height: 60%; }
.ch-toast.is-start .ch-toast-ico { background: #3d7bff; }
/* while the toast shows, the dropdown steps aside (as in the app, they share the spot) */
.ch-stage.has-toast .ch-pop { opacity: 0; transform: translateY(calc(-4 * var(--u))); transition: opacity .25s ease, transform .25s ease; }
.ch-stage.has-toast .ch-mb-item.is-open { background: transparent; }
.ch-pop { transition: opacity .3s ease, transform .3s ease; }

/* mode switcher */
.ch-modes {
  display: inline-flex; align-items: center; gap: 4px; margin: 26px auto 0; padding: 5px;
  border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.ch-modes-label { padding: 0 12px 0 10px; font-size: .88rem; color: var(--faint); }
.ch-modes button {
  border: 0; cursor: pointer; padding: 9px 16px; border-radius: 10px;
  font: 600 .9rem/1 var(--font); color: var(--muted); background: transparent;
  transition: background .2s ease, color .2s ease;
}
.ch-modes button:hover { color: var(--text); }
.ch-modes button.is-active { color: #fff; background: var(--accent); }
.ch-modes button:focus-visible, .ch-btn:focus-visible, .ch-faq summary:focus-visible, .ch-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* phones: crop the stage to the interesting (menu bar) corner */
@media (max-width: 700px) {
  .ch-stage-frame { transform: none; border-radius: 16px; }
  .ch-stage-crop { overflow: hidden; }
  .ch-stage { width: 190%; margin-left: -90%; aspect-ratio: 1100 / 560; }
  .ch-modes { flex-wrap: wrap; justify-content: center; }
  .ch-modes-label { width: 100%; text-align: center; padding: 6px 0 4px; }
}

/* ---------- trust strip ---------- */
.ch-trust { padding: 44px 0 10px; }
.ch-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; color: var(--muted); font-size: .95rem; }
.ch-trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.ch-trust-row .ch-ico { color: var(--accent); }

/* ---------- sections ---------- */
.ch-sec { padding: clamp(72px, 10vw, 120px) 0; }
.ch-sec-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.ch-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ch-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ch-copy .ch-h2 { margin-bottom: 20px; }
.ch-copy p { color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.ch-copy p + p { margin-top: 14px; }
.ch-copy .ch-strong { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .ch-split { grid-template-columns: 1fr; } }

/* before / after */
.ch-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ch-cmp { position: relative; border-radius: 18px; padding: 18px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ch-cmp p { color: var(--muted); font-size: .95rem; text-align: center; }
.ch-cmp-tag { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ch-cmp-after .ch-cmp-tag { color: var(--accent); }
.ch-cmp-stack { position: relative; height: 150px; }
.ch-cmp-w { position: absolute; border-radius: 8px; background: var(--surface-2); box-shadow: 0 8px 24px rgba(0, 0, 0, .25), inset 0 0 0 1px var(--line-2); }
.ch-cmp-w.a { inset: 0 30% 30% 0; }
.ch-cmp-w.b { inset: 18% 8% 10% 22%; }
.ch-cmp-w.c { inset: 52% 50% 4% 6%; z-index: 0; font: 500 .7rem/1 var(--mono); color: var(--faint); display: grid; place-items: center; filter: blur(.6px); opacity: .7; }
.ch-cmp-w.d { inset: 36% 0 0 34%; z-index: 2; }
.ch-cmp-w.b { z-index: 1; }
.ch-cmp-after { background: radial-gradient(120% 90% at 50% 0%, rgba(61, 123, 255, .16), transparent 60%), var(--surface); }
.ch-cmp-bar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); color: #fff; font-size: .9rem; margin-top: 30px; }
[data-theme="light"] .ch-cmp-bar { background: rgba(15, 23, 42, .78); }
.ch-cmp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; background: rgba(255, 255, 255, .2); font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-cmp-pill .ch-tray { width: 15px; height: 15px; }
.ch-cmp-clock { opacity: .8; }

/* ---------- bento ---------- */
.ch-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ch-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 26px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.ch-card h3 { font-size: 1.2rem; letter-spacing: -.02em; font-weight: 650; }
.ch-card p { color: var(--muted); line-height: 1.55; font-size: .98rem; }
.ch-card-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; color: var(--accent); background: rgba(61, 123, 255, .12); }
.ch-card-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.ch-card-full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px;
  background: radial-gradient(80% 140% at 0% 50%, rgba(61, 123, 255, .14), transparent 60%), var(--surface); }
.ch-card-full .ch-card-ico { margin: 0; width: 52px; height: 52px; border-radius: 16px; }
.ch-card-full div { display: grid; gap: 6px; }
.ch-card-wide .ch-card-copy { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ch-mini-list { flex: 1.1; display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.ch-mini-list div { display: grid; gap: 6px; font-size: .9rem; }
.ch-mini-list span { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.ch-mini-list span i { display: block; height: 100%; width: var(--p); background: var(--accent); border-radius: 99px; }
.ch-mini-list span.done i { background: var(--ok); }
.ch-mini-list small { color: var(--faint); font-family: var(--mono); font-size: .76rem; }
.ch-mini-list small.ok { color: var(--ok); }
.ch-styles { display: flex; gap: 10px; margin-top: auto; padding-top: 10px; }
.ch-styles span { display: grid; place-items: center; height: 34px; min-width: 64px; padding: 0 12px; border-radius: 9px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font: 600 .9rem/1 var(--font); font-variant-numeric: tabular-nums; }
.ch-styles .s2 i { display: block; width: 38px; height: 8px; border-radius: 99px; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 63%, transparent 0) content-box; padding: 1px; }
.ch-styles .s3::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(currentColor 0 63%, var(--line-2) 0); -webkit-mask: radial-gradient(circle, transparent 50%, #000 52%); mask: radial-gradient(circle, transparent 50%, #000 52%); }
.ch-mini-toast { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; }
.ch-mini-toast .ch-ico { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
@media (max-width: 900px) { .ch-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ch-bento { grid-template-columns: 1fr; } .ch-card-wide, .ch-card-full { grid-column: auto; flex-direction: column; align-items: stretch; } }

/* ---------- use-case marquee ---------- */
.ch-uses { padding-bottom: clamp(64px, 8vw, 96px); }
.ch-uses .ch-head { margin-bottom: 32px; }
.ch-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ch-marquee-track { display: flex; gap: 12px; width: max-content; animation: ch-marquee 42s linear infinite; }
.ch-marquee-track span { padding: 12px 20px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 1rem; white-space: nowrap; }
@keyframes ch-marquee { to { transform: translateX(-50%); } }

/* ---------- steps ---------- */
.ch-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.ch-steps li { padding: 28px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ch-steps span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 18px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #4f88ff, #2f68f0); }
.ch-steps h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 8px; }
.ch-steps p { color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .ch-steps { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.ch-price { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.ch-price-main, .ch-price-trial { border-radius: 26px; padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.ch-price-main { background: radial-gradient(120% 80% at 0% 0%, rgba(61, 123, 255, .18), transparent 60%), var(--surface); box-shadow: inset 0 0 0 1px rgba(61, 123, 255, .45), 0 30px 80px -40px var(--glow); }
.ch-price-trial { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ch-price-trial h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.ch-price-trial > p:not(.ch-fine) { color: var(--muted); line-height: 1.6; }
.ch-price-trial .ch-btn { margin-top: auto; }
.ch-price-top { display: flex; align-items: center; gap: 14px; }
.ch-price-top img { border-radius: 12px; }
.ch-price-top h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.ch-price-top span { color: var(--faint); font-size: .92rem; }
.ch-price-amount { display: flex; align-items: baseline; gap: 10px; }
.ch-price-amount b { font-size: 3.4rem; letter-spacing: -.05em; font-weight: 750; }
.ch-price-amount span { color: var(--muted); }
.ch-price ul { list-style: none; display: grid; gap: 10px; }
.ch-price li { display: flex; align-items: center; gap: 10px; }
.ch-price li .ch-ico { color: var(--ok); }
@media (max-width: 760px) { .ch-price { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.ch-faq { display: grid; gap: 10px; }
.ch-faq details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ch-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; font-size: 1.04rem; position: relative; border-radius: 16px; }
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.ch-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ch-faq details > div { padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }
.ch-faq details > div p + p { margin-top: 10px; }
.ch-faq details > div a { color: var(--accent); }

/* ---------- close ---------- */
.ch-close { text-align: center; background: radial-gradient(60% 70% at 50% 100%, rgba(61, 123, 255, .2), transparent 70%); }
.ch-close-inner img { display: block; margin: 0 auto 20px; filter: drop-shadow(0 20px 40px var(--glow)); }
.ch-close-inner p { color: var(--muted); font-size: 1.15rem; margin-top: 12px; }

/* ---------- reveal ---------- */
.ch .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.ch .reveal.is-in { opacity: 1; transform: none; }
.no-js .ch .reveal, html:not(.js) .ch .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ch *, .ch *::before, .ch *::after { animation: none !important; transition: none !important; }
  .ch .reveal { opacity: 1; transform: none; }
  .ch-stage-frame { transform: none; }
}
@media (max-width: 480px) { .ch-cta .ch-btn { flex: 1 1 100%; } }
[data-theme="dark"] .ch-cmp-bar { background: rgba(255, 255, 255, .1); }
.ch-pill-tag { padding: 3px 8px; border-radius: 999px; font: 700 .74rem/1 var(--font); color: #fff; background: linear-gradient(180deg, #4f88ff, #2f68f0); }
.ch-pill { padding-left: 6px; }
