/* /help hub and /help/<slug> guides (components/features/landing/LandingHelp.js,
   LandingHelpDemos.js, LandingHelpRecording.js). The hub reuses the /compare
   shell from css/landing-compare.css (.cmp-root, .cmp-hero*, .cmp-seg,
   .cmp-h1, .cmp-sec, .cmp-h2, .cmp-chips, .cmp-faq, .cmp-btn); the classes
   here are the Help Center's own. */

#landing-help,
#landing-help-detail {
  display: none;
}
#landing-page[data-page="help"] #landing-help,
#landing-page[data-page="help-detail"] #landing-help-detail {
  display: block;
  margin-top: calc(-1 * var(--lp-navh));
}
@media (min-width: 901px) {
  body[data-route="landing"] #landing-page[data-page="help"] .landing-navbar,
  body[data-route="landing"] #landing-page[data-page="help-detail"] .landing-navbar {
    display: none;
  }
  #landing-page[data-page="help"] #landing-help,
  #landing-page[data-page="help-detail"] #landing-help-detail {
    margin-top: 0;
  }
}

.kb-root a:focus-visible,
.kb-root button:focus-visible,
.kb-root summary:focus-visible,
.kb-rec-big button:focus-visible {
  outline: 2px solid #27b079;
  outline-offset: 2px;
}
.kb-root figcaption,
.kb-rec-big figcaption {
  margin-top: 0.7rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7c948d;
  text-align: center;
}

/* ---------------------------------------------------------------- shared */

.kb-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e7a34;
}
.kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.kb-btn svg { flex: none; width: 1rem; height: 1rem; }
.kb-btn--green { background: #63ea71; color: #0a2e12; }
.kb-btn--green:hover { background: #7bf087; color: #0a2e12; }
.kb-btn--ghost { border: 1px solid rgba(250, 250, 246, 0.28); color: #fafaf6; }
.kb-btn--ghost:hover { border-color: #63ea71; color: #63ea71; }
.kb-btn--sm { gap: 0.45rem; padding: 0.55rem 0.95rem; border-radius: 999px; font-size: 0.8rem; }
.kb-btn--sm svg { width: 0.85rem; height: 0.85rem; }
.kb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #dbe7e1;
  background: #ffffff;
  color: #0c2e26;
  font-size: 0.85rem;
  font-weight: 700;
}
.kb-pill:hover { border-color: #0c2e26; color: #0c2e26; }
.kb-pill--dark { background: #0c2e26; border-color: #0c2e26; color: #ffffff; }
.kb-pill--dark:hover { background: #0b6b41; border-color: #0b6b41; color: #ffffff; }
.kb-pill svg { flex: none; width: 0.9rem; height: 0.9rem; color: #63ea71; }
.kb-topic {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(15, 148, 87, 0.14);
  color: #0b6b41;
}
a.kb-topic:hover { background: rgba(15, 148, 87, 0.2); color: #0b6b41; }
.kb-topic--sm { align-self: flex-start; padding: 0.18rem 0.5rem; font-size: 0.6rem; }
.kb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #0c2e26;
  color: #63ea71;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}
.kb-badge svg { width: 0.6rem; height: 0.6rem; }

/* ---------------------------------------------------------------- hub: search */

.kb-search {
  position: relative;
  z-index: 30;
  width: min(100%, 40rem);
  margin-top: 2rem;
  text-align: left;
}
.kb-search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 4rem;
  padding: 0 0.65rem 0 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px -20px rgba(12, 46, 38, 0.5), 0 0 0 0 rgba(39, 176, 121, 0);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.kb-search.is-open .kb-search-box {
  border-color: #27b079;
  box-shadow: 0 14px 34px -20px rgba(12, 46, 38, 0.5), 0 0 0 4px rgba(39, 176, 121, 0.15);
}
.kb-search-ic { flex: none; width: 1.25rem; height: 1.25rem; color: #33514a; }
.kb-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.1rem;
  color: #0b1220;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  appearance: none;
}
.kb-search-input::placeholder { color: #7c948d; opacity: 1; }
.kb-search-input::-webkit-search-cancel-button,
.kb-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.kb-search-clear {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: #eef5f1;
  color: #33514a;
  cursor: pointer;
}
.kb-search-clear:hover { background: #e3f3ea; }
.kb-search-clear[hidden] { display: none; }
.kb-search-clear svg { width: 1rem; height: 1rem; }

.kb-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 80;
  max-height: min(70vh, 34rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.55rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(12, 46, 38, 0.1);
  box-shadow: 0 30px 70px -30px rgba(11, 45, 38, 0.45), 0 12px 32px -16px rgba(0, 0, 0, 0.18);
  color: #0c2e26;
  text-align: left;
}
.kb-drop[hidden] { display: none; }
.kb-drop-label {
  padding: 0.45rem 0.72rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c948d;
}
.kb-drop-list { display: flex; flex-direction: column; gap: 0.15rem; }
.kb-opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.66rem 0.72rem;
  border-radius: 13px;
  color: inherit;
  transition: background 160ms ease;
}
.kb-opt:hover { color: inherit; }
.kb-opt.is-on { background: rgba(15, 148, 87, 0.08); }
.kb-opt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.kb-opt-title,
.kb-opt-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-opt-title { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; color: #0c2e26; }
.kb-opt-meta { font-size: 0.78rem; line-height: 1.35; color: #5a726b; }
.kb-opt-go {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: #0f9457;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 160ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-opt.is-on .kb-opt-go { opacity: 1; transform: none; }
.kb-opt-go svg { display: block; width: 100%; height: 100%; }
.kb-hit { padding: 0; border-radius: 3px; background: rgba(99, 234, 113, 0.28); color: #0b6b41; }
.kb-drop-empty { padding: 1rem 0.85rem 0.85rem; }
.kb-drop-empty-t { font-size: 0.98rem; font-weight: 600; color: #0c2e26; }
.kb-drop-empty-s { margin-top: 0.3rem; font-size: 0.85rem; line-height: 1.5; color: #5a726b; }
.kb-drop-empty-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.kb-drop-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.4rem 0.25rem 0;
  padding: 0.62rem 0.55rem 0.3rem;
  border-top: 1px solid rgba(12, 46, 38, 0.08);
  font-size: 0.72rem;
  color: #7c948d;
}
.kb-drop-foot i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27b079;
  box-shadow: 0 0 0 3px rgba(39, 176, 121, 0.18);
}
.kb-drop-foot a { font-weight: 700; color: #1e7a34; }
.kb-drop-foot a:hover { color: #0b6b41; }

/* ---------------------------------------------------------------- hub: start here */

.kb-start {
  position: relative;
  max-width: 1120px;
  margin: clamp(2.75rem, 5vw, 4rem) auto 0;
  padding: clamp(1.1rem, 2.4vw, 2rem);
  border-radius: 28px;
  background: #07110c;
  box-shadow: 0 60px 120px -50px rgba(12, 46, 38, 0.8), 0 0 0 1px rgba(99, 234, 113, 0.16);
  overflow: hidden;
  text-align: left;
}
.kb-start-glow {
  position: absolute;
  left: -10%;
  top: -60%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(99, 234, 113, 0.16) 0%, rgba(99, 234, 113, 0) 62%);
  pointer-events: none;
}
.kb-start-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 0.35rem 0.35rem 0;
}
.kb-start-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fafaf6;
  text-wrap: balance;
}
.kb-start-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  margin-top: clamp(1.25rem, 2.4vw, 1.75rem);
}
.kb-start-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding: 1.4rem 1.5rem 1.2rem;
  border-radius: 22px;
  background: #ffffff;
  color: #0b1220;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.kb-start-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(99, 234, 113, 0.5), 0 24px 50px -24px rgba(99, 234, 113, 0.35);
  color: #0b1220;
}
.kb-start-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1e7a34; }
.kb-start-t { font-size: clamp(1.25rem, 1.5vw, 1.5rem); font-weight: 600; line-height: 1.15; color: #12161c; }
.kb-start-d { font-size: 0.96rem; line-height: 1.5; color: #66707d; text-wrap: pretty; }
.kb-start-card .kb-go { margin-top: 0.35rem; }

/* ---------------------------------------------------------------- hub: browse and FAQ */

.kb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.kb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem 1.45rem 1.3rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e4ece8;
  color: #0b1220;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.kb-card:hover {
  transform: translateY(-3px);
  border-color: #bfe6cc;
  box-shadow: 0 26px 50px -36px rgba(12, 46, 38, 0.5);
  color: #0b1220;
}
.kb-card-topic { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7c948d; }
.kb-card-title {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #0b1220;
  text-wrap: balance;
}
.kb-card-sum { flex: 1; margin: 0; font-size: 0.93rem; line-height: 1.5; color: #5c6675; text-wrap: pretty; }
.kb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; margin-top: 0.3rem; }
.kb-card-meta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #7c948d; white-space: nowrap; }

.kb-stuck {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding: 1.4rem 1.5rem;
  border-radius: 22px;
  border: 1px solid #0c2e26;
  background: radial-gradient(90% 70% at 100% 0%, rgba(99, 234, 113, 0.2) 0%, rgba(99, 234, 113, 0) 60%), #0c2e26;
  color: #fafaf6;
}
.kb-stuck-copy { min-width: 0; }
.kb-stuck h3 { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; color: #fafaf6; }
.kb-stuck p { margin: 0.3rem 0 0; font-size: 0.93rem; line-height: 1.5; color: rgba(250, 250, 246, 0.7); }
.kb-stuck-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------------------------------------------------------------- guide */

.kb-ghero { position: relative; z-index: 3; background: #f0f5f2; }
.kb-ghero-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.6rem clamp(1rem, 3.2vw, 3rem) 0;
}
.kb-guide {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: #f0f5f2;
  color: #0c2e26;
}
.kb-guide-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.2vw, 3rem);
}
.kb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 58, 45, 0.16);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #33514a;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.kb-back:hover { border-color: #0c2e26; color: #0c2e26; }
.kb-back svg { width: 0.95rem; height: 0.95rem; }
.kb-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 26vw, 340px);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}
.kb-art { min-width: 0; max-width: 860px; }
.kb-art-head { display: flex; flex-direction: column; gap: 0.9rem; }
.kb-art-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.kb-art-kind { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #5a726b; }
.kb-art-head h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #0c2e26;
  text-wrap: balance;
}
.kb-art-sum { margin: 0; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; color: #33514a; }
.kb-cover { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
.kb-fig { margin: 1.75rem 0; }
.kb-shot { padding: 6px; border-radius: 16px; border: 1px solid #dbe7e1; background: #ffffff; }
.kb-shot img { display: block; width: 100%; height: auto; border-radius: 11px; }

.kb-art-body {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(11, 58, 45, 0.1);
  font-size: 1.02rem;
  line-height: 1.75;
  color: #33514a;
}
.kb-art-sec { scroll-margin-top: 90px; }
.kb-art-sec h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #0c2e26;
}
.kb-art-sec:first-child h2 { margin-top: 0; }
.kb-art-body p { margin: 0 0 1.25rem; text-wrap: pretty; }

.kb-steps,
.kb-plans {
  margin: 0.25rem 0 1.5rem;
  padding: 0.3rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
}
.kb-step { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.95rem 0; }
.kb-step + .kb-step { border-top: 1px solid #e7f1eb; }
.kb-step-n {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(15, 148, 87, 0.14);
  color: #0b6b41;
}
.kb-step-t { padding-top: 0.1rem; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: #0c2e26; }
.kb-step-d { margin-top: 0.2rem; font-size: 0.95rem; line-height: 1.55; color: #5a726b; }
.kb-list { display: flex; flex-direction: column; gap: 0.55rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.kb-list li { position: relative; padding-left: 1.6rem; }
.kb-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  transform: rotate(45deg);
  background: #0f9457;
}
.kb-defs {
  margin: 0.25rem 0 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
  overflow: hidden;
}
.kb-def {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: 0.2rem 1rem;
  padding: 0.8rem 1.15rem;
}
.kb-def + .kb-def { border-top: 1px solid #e7f1eb; }
.kb-def-k { font-size: 0.95rem; font-weight: 600; line-height: 1.45; color: #0c2e26; }
.kb-def-v { font-size: 0.95rem; line-height: 1.45; color: #5a726b; }
.kb-note {
  margin: 1.5rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid #0f9457;
  border-radius: 0 12px 12px 0;
  background: rgba(15, 148, 87, 0.06);
}
.kb-note-k {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0b6b41;
}
.kb-note-t { margin-top: 0.35rem; font-size: 1.05rem; font-weight: 500; line-height: 1.6; color: #0c2e26; }
.kb-path { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.kb-path li { display: inline-flex; align-items: center; gap: 0.4rem; }
.kb-path svg { width: 0.85rem; height: 0.85rem; color: #7c948d; }
.kb-path span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 58, 45, 0.16);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: #33514a;
}
.kb-shot-inner { position: relative; border-radius: 11px; overflow: hidden; border: 1px solid #e4ece8; }
.kb-shot-inner img { border-radius: 0; }
.kb-mark {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: #0c2e26;
  color: #63ea71;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 7px rgba(39, 176, 121, 0.35), 0 8px 18px -6px rgba(0, 0, 0, 0.45);
}
.kb-marks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0.55rem 1.25rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
}
.kb-marks li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; line-height: 1.45; color: #33514a; }
.kb-marks li span:first-child {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background: #0c2e26;
  color: #63ea71;
  font-size: 0.7rem;
  font-weight: 800;
}
.kb-marks li span:last-child { min-width: 0; text-wrap: pretty; }
.kb-callouts figcaption { margin-top: 0.85rem; }
.kb-see {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
  color: #0c2e26;
  transition: border-color 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-see:hover { border-color: rgba(11, 58, 45, 0.3); transform: translateX(3px); color: #0c2e26; }
.kb-see > svg { flex: none; color: #0b6b41; }
.kb-see + .kb-see { margin-top: -0.75rem; }
.kb-see-body { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.kb-see-k {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7c948d;
}
.kb-see-t { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.kb-plan { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.35rem 1rem; padding: 1rem 0; }
.kb-plan + .kb-plan { border-top: 1px solid #e7f1eb; }
.kb-plan-copy { min-width: 0; }
.kb-plan-name { font-weight: 600; color: #0c2e26; }
.kb-plan-desc { margin-top: 0.15rem; font-size: 0.9rem; line-height: 1.5; color: #5a726b; }
.kb-plan-price { flex: none; white-space: nowrap; text-align: right; }
.kb-plan-price b { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: #0c2e26; }
.kb-plan-price span { font-size: 0.85rem; color: #7c948d; }

.kb-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: 1.2rem 1.35rem;
  border-radius: 16px;
  border: 1px solid #0c2e26;
  background: radial-gradient(90% 70% at 100% 0%, rgba(99, 234, 113, 0.2) 0%, rgba(99, 234, 113, 0) 60%), #0c2e26;
  color: #fafaf6;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-next:hover { transform: translateX(3px); color: #fafaf6; }
.kb-next-body { min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.kb-next-k {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #63ea71;
}
.kb-next-t { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.kb-next-go {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #63ea71;
  color: #0a2e12;
}
.kb-next-go svg { width: 16px; height: 16px; }

.kb-rail {
  position: sticky;
  top: calc(var(--lp-navh) + 1.25rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.kb-rail-card { padding: 1.25rem 1.35rem 1.4rem; border-radius: 16px; border: 1px solid #dbe7e1; background: #ffffff; }
.kb-rail-head {
  margin-bottom: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #dbe7e1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0c2e26;
}
.kb-keep { display: flex; flex-direction: column; }
.kb-keep-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 0;
  color: #0c2e26;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s ease;
}
.kb-keep-item + .kb-keep-item { border-top: 1px solid #e7f1eb; }
.kb-keep-item:last-child { padding-bottom: 0; }
.kb-keep-item:hover { transform: translateX(3px); color: #0b6b41; }
.kb-keep-t { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.kb-keep-m {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  color: #7c948d;
}
.kb-rail-card--dark {
  border-color: #0c2e26;
  background: radial-gradient(90% 70% at 100% 0%, rgba(99, 234, 113, 0.2) 0%, rgba(99, 234, 113, 0) 60%), #0c2e26;
  color: #fafaf6;
}
.kb-rail-card--dark .kb-rail-head { margin-bottom: 0.9rem; color: #63ea71; border-bottom-color: rgba(250, 250, 246, 0.12); }
.kb-rail-card--dark p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: rgba(250, 250, 246, 0.75); }
.kb-rail-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

/* ---------------------------------------------------------------- demo stage */

.kb-demo-host { container-type: inline-size; }
.kb-demo {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 32vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.4rem clamp(0.75rem, 3vw, 2rem);
  border-radius: 16px;
  border: 1px solid #dbe7e1;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(99, 234, 113, 0.2) 0%, rgba(99, 234, 113, 0) 60%),
    linear-gradient(180deg, #f7fbf8 0%, #e8f3ec 100%);
  font-size: 1rem;
  line-height: normal;
}
.kb-demo--cover { min-height: clamp(300px, 34vw, 400px); padding: clamp(3.25rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2rem); }
.kb-demo-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 46, 38, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}
.kb-demo-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #dbe7e1;
  background: rgba(255, 255, 255, 0.9);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b6b41;
}
.kb-demo-badge i { width: 6px; height: 6px; border-radius: 999px; background: #27b079; box-shadow: 0 0 0 3px rgba(39, 176, 121, 0.18); }
.kb-demo.is-paused .kb-demo-badge i { background: #a3b5ae; }
.kb-demo-ctl {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #dbe7e1;
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: #33514a;
  cursor: pointer;
}
.kb-demo-ctl:hover { border-color: #0c2e26; color: #0c2e26; }
.kb-demo-dots { position: absolute; left: 50%; bottom: 1.35rem; z-index: 3; display: flex; gap: 5px; transform: translateX(-50%); }
.kb-demo-dot { width: 5px; height: 5px; border-radius: 999px; background: rgba(12, 46, 38, 0.18); transition: width 300ms ease, background 300ms ease; }
.kb-demo-dot.is-on { width: 18px; background: #27b079; }
.kb-demo-stage { position: relative; z-index: 2; width: 100%; display: flex; justify-content: center; }

/* ---------------------------------------------------------------- block demos */

.kb-d-box {
  text-align: left;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
  box-shadow: 0 30px 60px -36px rgba(12, 46, 38, 0.45);
}
.kb-d-t { font-size: 0.98rem; font-weight: 700; color: #0c2e26; }
.kb-d-s { font-size: 0.8rem; line-height: 1.45; color: #5a726b; }
.kb-d-b { font-size: 0.86rem; font-weight: 700; color: #0c2e26; }
.kb-d-h { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: #0c2e26; }
.kb-d-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.45; text-transform: uppercase; color: #33514a; }
.kb-d-lbl { min-width: 0; font-size: 0.82rem; font-weight: 600; color: #0c2e26; overflow: hidden; text-overflow: ellipsis; }
.kb-d-lbl.is-mut { color: #7c948d; }
.kb-d-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #f8faf9;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-row.is-on { border-color: rgba(15, 148, 87, 0.35); background: rgba(15, 148, 87, 0.05); }
.kb-d-line { display: flex; align-items: center; gap: 10px; }
.kb-d-col { display: flex; flex-direction: column; }
.kb-d-grid { display: grid; }
.kb-d-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kb-d-grow { flex: 1; min-width: 0; }
.kb-d-right { flex: none; margin-left: auto; }
.kb-d-ic { flex: none; display: block; }
.kb-d-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-d-count { font-size: 0.78rem; font-weight: 700; color: #0b6b41; white-space: nowrap; }
.kb-d-sw {
  position: relative;
  flex: none;
  width: 40px;
  height: 23px;
  border-radius: 999px;
  background: #d6dfdb;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-sw > span {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-sw.is-on { background: #27b079; }
.kb-d-sw.is-on > span { transform: translateX(17px); }
.kb-d-chk {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: inset 0 0 0 1.5px #cdd9d3;
  color: #0a2e12;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-chk.is-sq { border-radius: 6px; }
.kb-d-chk.is-on { background: #63ea71; box-shadow: none; }
.kb-d-radio {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1.5px #cdd9d3;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-radio > span { width: 8px; height: 8px; border-radius: 999px; background: #27b079; transform: scale(0); transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-radio.is-on { box-shadow: inset 0 0 0 1.5px #27b079; }
.kb-d-radio.is-on > span { transform: scale(1); }
.kb-d-chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 58, 45, 0.16);
  background: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  color: #33514a;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-chip.is-on { border-color: #0c2e26; background: #0c2e26; color: #63ea71; }
.kb-d-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: #63ea71;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  color: #0a2e12;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-btn.is-off { background: #e3ebe7; color: #7c948d; }
.kb-d-btn.is-tap { transform: scale(0.96); }
.kb-d-tapring {
  position: absolute;
  inset: -5px;
  border-radius: 14px;
  border: 2px solid rgba(39, 176, 121, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.kb-d-btn.is-tap .kb-d-tapring { opacity: 1; }
.kb-d-bar { height: 6px; border-radius: 999px; background: #e3f3ea; overflow: hidden; }
.kb-d-bar > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #63ea71, #27b079);
  transition: width 650ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-av { flex: none; display: block; border-radius: 10px; object-fit: cover; }
.kb-d-ini {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #effaf2;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b6b41;
}
.kb-d-ini.is-dark { background: #0c2e26; color: #63ea71; }
.kb-d-fade { opacity: 0; transform: translateY(8px); transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-fade.is-in { opacity: 1; transform: none; }
.kb-d-fold { max-height: 0; opacity: 0; overflow: hidden; transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-fold.is-open { max-height: var(--mh, 80px); opacity: 1; }
.kb-d-kbd {
  flex: none;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  color: #33514a;
  box-shadow: inset 0 -2px 0 #dbe7e1, inset 0 0 0 1px #dbe7e1;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-kbd.is-on { background: #0c2e26; color: #63ea71; box-shadow: none; }
.kb-d-caret { flex: none; width: 1.5px; height: 1rem; margin-left: 1px; background: #27b079; opacity: 0; }
.kb-d-caret.is-on { opacity: 1; }
.kb-d-stack { position: relative; }
.kb-d-slot { position: absolute; left: 0; right: 0; top: 0; transition: transform 850ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-slot--slow { transition-duration: 800ms; }
.kb-d-fit { flex: none; font-size: 0.82rem; font-weight: 800; color: #5a726b; white-space: nowrap; }
.kb-d-fit.is-on { color: #0b6b41; }
.kb-d-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: #0c2e26; white-space: nowrap; }
.kb-d-price span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0; color: #7c948d; }
.kb-d-live { flex: none; width: 8px; height: 8px; border-radius: 999px; background: #27b079; box-shadow: 0 0 0 3px rgba(39, 176, 121, 0.2); }
.kb-d-mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.84rem; font-weight: 700; color: #0c2e26; }
.kb-d-chain { flex: none; width: 18px; height: 18px; }
.kb-d-drop { padding: 0.75rem; border-radius: 12px; border: 1.5px dashed #cdd9d3; font-size: 0.8rem; color: #7c948d; text-align: center; }
.kb-d-thread { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; min-height: 205px; }
.kb-d-msg { display: flex; flex-direction: column; opacity: 0; transform: translateY(8px); transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-msg.is-in { opacity: 1; transform: none; }
.kb-d-sys { align-self: center; padding: 0.3rem 0.7rem; border-radius: 999px; background: #f0f5f2; font-size: 0.72rem; font-weight: 600; color: #5a726b; text-align: center; }
.kb-d-bub {
  align-self: flex-start;
  max-width: 82%;
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
  background: #f0f5f2;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #0c2e26;
}
.kb-d-bub.is-me { align-self: flex-end; background: #0c2e26; color: #fafaf6; }
.kb-d-metric { min-width: 0; padding: 0.7rem 0.8rem; border-radius: 12px; border: 1px solid rgba(11, 58, 45, 0.1); background: #f6faf8; }
.kb-d-num { margin-top: 2px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; color: #0c2e26; }
.kb-d-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 12px; }
.kb-d-barcol { flex: 1; border-radius: 6px; background: #cdeed6; transition: height 650ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-barcol.is-on { background: linear-gradient(180deg, #63ea71, #27b079); }
.kb-d-resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.kb-d-sheet {
  flex: none;
  width: 168px;
  aspect-ratio: 1 / 1.414;
  padding: 14px 13px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 18px 40px -22px rgba(12, 46, 38, 0.5), 0 0 0 1px rgba(11, 58, 45, 0.08);
}
.kb-d-rname { font-size: 13px; font-weight: 700; color: #0c2e26; }
.kb-d-rname.is-serif { font-family: Lora, Georgia, "Times New Roman", serif; }
.kb-d-rrole { margin-top: 2px; font-size: 8px; font-weight: 700; transition: color 380ms ease; }
.kb-d-rsec { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.kb-d-gl { border-radius: 2px; transition: background 380ms ease; }
.kb-d-swatches { display: flex; gap: 8px; margin-top: 8px; }
.kb-d-swatches span { width: 22px; height: 22px; border-radius: 999px; transition: box-shadow 380ms ease; }
.kb-d-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0c2e26;
}
.kb-d-mini {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 44px;
  height: 58px;
  padding: 6px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(11, 58, 45, 0.12);
}
.kb-d-mini i { display: block; height: 3px; border-radius: 2px; background: #e3e8e6; }
.kb-d-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #f8faf9;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-d-tool.is-on { border-color: rgba(15, 148, 87, 0.45); background: rgba(15, 148, 87, 0.06); transform: translateY(-2px); }
.kb-d-toolic {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(39, 176, 121, 0.24);
  background: linear-gradient(160deg, rgba(99, 234, 113, 0.32), rgba(39, 176, 121, 0.14));
  color: #0b6b41;
}
.kb-d-toolname { font-size: 0.78rem; font-weight: 700; line-height: 1.25; color: #0c2e26; }
.kb-d-diamond { flex: none; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: #0f9457; }
.kb-d-kebab {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #33514a;
  transition: background 380ms ease;
}
.kb-d-kebab.is-on { background: #f0f5f2; }
.kb-d-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
  box-shadow: 0 20px 40px -28px rgba(12, 46, 38, 0.5);
}
.kb-d-mi { padding: 0.5rem 0.7rem; border-radius: 9px; font-size: 0.84rem; font-weight: 600; color: #0c2e26; transition: background 380ms ease; }
.kb-d-mi.is-danger { color: #b91c1c; }
.kb-d-mi.is-hi { background: rgba(15, 148, 87, 0.1); }
.kb-d-q { font-size: 0.88rem; color: #0c2e26; }
.kb-d-q.is-ph { color: #7c948d; }
.kb-d-browser {
  width: min(100%, 520px);
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 30px 60px -36px rgba(12, 46, 38, 0.45), 0 0 0 1px rgba(11, 58, 45, 0.1);
}
.kb-d-browser-bar { display: flex; align-items: center; gap: 10px; padding: 0.55rem 0.8rem; background: #f0f5f2; border-bottom: 1px solid rgba(11, 58, 45, 0.1); }
.kb-d-lights { display: flex; gap: 5px; }
.kb-d-lights i { width: 9px; height: 9px; border-radius: 999px; background: #ff5f57; }
.kb-d-lights i:nth-child(2) { background: #febc2e; }
.kb-d-lights i:nth-child(3) { background: #28c840; }
.kb-d-browser-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: #ffffff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #5a726b;
}
.kb-d-browser-body { padding: 1rem 1.1rem 1.2rem; }
.kb-d-offer { padding: 0.85rem 0.95rem; border-radius: 14px; border: 1px solid rgba(11, 58, 45, 0.1); background: #f8faf9; transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-offer.is-on { border-color: rgba(15, 148, 87, 0.45); background: rgba(15, 148, 87, 0.06); }
.kb-d-amt { margin-top: 6px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: #0c2e26; transition: opacity 380ms ease; }
.kb-d-amt.is-dim { opacity: 0.25; }
.kb-d-modal {
  width: min(100%, 360px);
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 40px 80px -40px rgba(12, 46, 38, 0.5);
  text-align: center;
}
.kb-d-modal-mark { display: block; width: auto; height: 28px; margin: 0 auto 1rem; }
.kb-d-modal-t { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; color: #1a1a2e; }
.kb-d-modal-s { margin-top: 6px; font-size: 0.85rem; line-height: 1.5; color: #6b7280; }
.kb-d-field {
  display: flex;
  align-items: center;
  margin-top: 14px;
  padding: 0.65rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid #27b079;
  box-shadow: 0 0 0 3px rgba(39, 176, 121, 0.15);
  font-size: 0.88rem;
  color: #1a1a2e;
  text-align: left;
}
.kb-d-sal { flex: none; font-size: 0.92rem; font-weight: 700; color: #1e7a34; }
.kb-d-plans { width: min(100%, 580px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.kb-d-pname { flex: 1; min-width: 0; overflow: hidden; font-size: 0.76rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; color: #0c2e26; }
.kb-d-pscore { flex: none; font-size: 0.72rem; font-weight: 800; white-space: nowrap; color: #7c948d; transition: color 380ms ease; }
.kb-d-pscore.is-on { color: #0b6b41; }
.kb-d-stile { padding: 0.8rem 0.9rem; border-radius: 14px; border: 1.5px solid rgba(11, 58, 45, 0.16); background: #ffffff; transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-d-stile.is-err { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1); }
.kb-d-sval { margin-top: 4px; font-size: 1.4rem; font-weight: 700; color: #0c2e26; transition: color 380ms ease; }
.kb-d-stile.is-err .kb-d-sval { color: #b91c1c; }
.kb-d-sunit { margin-top: 2px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; color: #7c948d; }
.kb-d-tag { padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid #cdeed6; background: #effaf2; font-size: 0.82rem; font-weight: 700; color: #0b6b41; }

/* ---------------------------------------------------------------- cover demos */

.kb-c-card,
.kb-c-score,
.kb-c-stepper,
.kb-c-job {
  border-radius: 18px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
  box-shadow: 0 30px 60px -36px rgba(12, 46, 38, 0.45);
}
.kb-c-card { width: min(100%, 460px); padding: 1.25rem 1.35rem 1.35rem; text-align: left; }
.kb-c-title { font-size: 1rem; font-weight: 700; color: #0c2e26; }
.kb-c-sub { margin-top: 0.3rem; font-size: 0.85rem; line-height: 1.5; color: #5a726b; }
.kb-c-rt { font-size: 0.92rem; font-weight: 600; line-height: 1.35; color: #0c2e26; }
.kb-c-rd { margin-top: 0.2rem; font-size: 0.8rem; line-height: 1.45; color: #5a726b; }
.kb-c-switchrow,
.kb-c-row {
  display: flex;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #f8faf9;
  transition: background 400ms ease, border-color 400ms ease;
}
.kb-c-switchrow { gap: 0.85rem; margin-top: 1rem; padding: 0.9rem 1rem; }
.kb-c-row { gap: 1rem; padding: 0.85rem 1rem; }
.kb-c-switchrow.is-on,
.kb-c-row.is-on { border-color: rgba(15, 148, 87, 0.35); background: rgba(15, 148, 87, 0.05); }
.kb-c-rows { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.kb-c-state { flex: none; font-size: 0.75rem; font-weight: 700; color: #7c948d; }
.kb-c-state.is-on { color: #0b6b41; }
.kb-c-track {
  position: relative;
  flex: none;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: #d6dfdb;
  box-shadow: inset 0 0 0 1px rgba(11, 58, 45, 0.08);
  transition: background 300ms ease;
}
.kb-c-track.is-on { background: #27b079; }
.kb-c-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-c-track.is-on .kb-c-knob { transform: translateX(22px); }
.kb-c-tap {
  position: absolute;
  inset: -9px;
  border-radius: 999px;
  border: 2px solid rgba(39, 176, 121, 0.6);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 600ms ease, transform 600ms ease;
}
.kb-c-track.is-tap .kb-c-tap { opacity: 1; transform: scale(1); }

.kb-c-salary { width: min(100%, 520px); display: flex; flex-direction: column; gap: 0.85rem; text-align: left; }
.kb-c-salary-h { font-size: 0.92rem; font-weight: 600; color: #0c2e26; }
.kb-c-salary-h span { font-weight: 400; color: #7c948d; }
.kb-c-stiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0.75rem; }
.kb-c-stile {
  padding: 0.9rem 1rem 0.85rem;
  border-radius: 14px;
  border: 1.5px solid rgba(11, 58, 45, 0.16);
  background: #ffffff;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.kb-c-stile.is-focus { border-color: #27b079; box-shadow: 0 0 0 4px rgba(39, 176, 121, 0.15); }
.kb-c-slabel { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 600; color: #5a726b; }
.kb-c-sval { display: flex; align-items: center; gap: 0.2rem; min-height: 2.1rem; margin-top: 0.45rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.kb-c-cur { font-weight: 600; color: #7c948d; }
.kb-c-num { color: #0c2e26; }
.kb-c-num.is-ph { color: #b8c7c1; }
.kb-c-caret { flex: none; width: 2px; height: 1.5rem; border-radius: 2px; background: #27b079; opacity: 0; }
.kb-c-caret.is-on { opacity: 1; }
.kb-c-sunit { margin-top: 0.3rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; color: #7c948d; }
.kb-c-listing { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; min-height: 2rem; font-size: 0.85rem; color: #5a726b; }
.kb-c-listing span { padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid #cdeed6; background: #effaf2; font-weight: 700; color: #0b6b41; }

.kb-c-score {
  width: min(100%, 540px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding: 1.25rem 1.35rem;
  text-align: left;
}
.kb-c-ring { position: relative; flex: none; display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto; }
.kb-c-ring svg { position: absolute; inset: 0; }
.kb-c-ring-fill { transition: stroke-dashoffset 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.kb-c-ring-num { position: relative; text-align: center; }
.kb-c-ring-num b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #0c2e26; }
.kb-c-ring-num span { display: block; margin-top: 0.15rem; font-size: 0.7rem; color: #7c948d; }
.kb-c-fixes { flex: 1; min-width: min(100%, 220px); display: flex; flex-direction: column; gap: 0.5rem; }
.kb-c-fixes-h { font-size: 0.95rem; font-weight: 700; color: #0c2e26; }
.kb-c-fix {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 11px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
  transition: background 300ms ease, border-color 300ms ease;
}
.kb-c-fix.is-next { border-color: rgba(15, 148, 87, 0.35); background: rgba(15, 148, 87, 0.06); }
.kb-c-fix-mark { flex: none; display: inline-flex; justify-content: center; width: 2.6rem; }
.kb-c-fix-mark > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #63ea71;
  color: #0a2e12;
}
.kb-c-fix-pts {
  flex: none;
  width: 2.6rem;
  padding: 0.15rem 0;
  border-radius: 999px;
  border: 1px solid #cdeed6;
  background: #effaf2;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0b6b41;
  text-align: center;
}
.kb-c-fix-l { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 600; color: #0c2e26; }
.kb-c-fix.is-done .kb-c-fix-l { color: #7c948d; }
.kb-c-fix-s { flex: none; font-size: 0.72rem; font-weight: 700; color: #7c948d; }
.kb-c-fix.is-done .kb-c-fix-s,
.kb-c-fix.is-next .kb-c-fix-s { color: #0b6b41; }

.kb-c-stepper {
  width: min(100%, 640px);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  text-align: left;
}
.kb-c-steps { display: flex; flex-direction: column; gap: 0.2rem; }
.kb-c-step { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.55rem; border-radius: 10px; transition: background 300ms ease; }
.kb-c-step.is-cur { background: rgba(15, 148, 87, 0.08); }
.kb-c-step-n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1.5px #dbe7e1;
  font-size: 0.68rem;
  font-weight: 800;
  color: #7c948d;
  transition: background 300ms ease, color 300ms ease;
}
.kb-c-step.is-done .kb-c-step-n { background: #63ea71; box-shadow: none; color: #0a2e12; }
.kb-c-step.is-cur .kb-c-step-n { background: #0c2e26; box-shadow: none; color: #ffffff; }
.kb-c-step-name { font-size: 0.82rem; font-weight: 500; color: #7c948d; }
.kb-c-step.is-done .kb-c-step-name { color: #33514a; }
.kb-c-step.is-cur .kb-c-step-name { font-weight: 700; color: #0c2e26; }
.kb-c-steppanel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #e4ece8;
  background: #f6faf8;
}
.kb-c-step-k { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1e7a34; }
.kb-c-step-t { margin-top: 0.4rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: #0c2e26; }
.kb-c-step-d { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.55; color: #5a726b; }
.kb-c-step-go { display: flex; justify-content: flex-end; margin-top: 0.75rem; }
.kb-c-step-go span { display: inline-flex; align-items: center; padding: 0.55rem 1rem; border-radius: 10px; background: #63ea71; font-size: 0.85rem; font-weight: 700; color: #0a2e12; }
@container (max-width: 560px) {
  .kb-c-stepper { grid-template-columns: minmax(0, 1fr); }
}

.kb-c-modal {
  width: min(100%, 380px);
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 40px 80px -40px rgba(12, 46, 38, 0.5);
  text-align: center;
}
.kb-c-modal-mark { display: block; width: auto; height: 1.8rem; margin: 0 auto 1.1rem; }
.kb-c-modal-t { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; color: #1a1a2e; }
.kb-c-modal-s { margin-top: 0.4rem; font-size: 0.85rem; line-height: 1.5; color: #6b7280; }
.kb-c-field { margin-top: 1.1rem; text-align: left; }
.kb-c-field-l { font-size: 0.78rem; font-weight: 600; color: #1a1a2e; }
.kb-c-input {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.35rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.13);
  background: #ffffff;
  font-size: 0.88rem;
  color: #1a1a2e;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.kb-c-input.is-focus { border-color: #27b079; box-shadow: 0 0 0 3px rgba(39, 176, 121, 0.15); }
.kb-c-input.is-ph { color: #9ca3af; }
.kb-c-input .kb-c-caret { width: 1.5px; height: 1.1rem; margin-left: 1px; border-radius: 0; }
.kb-c-modal-btns { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1.1rem; }
.kb-c-mbtn,
.kb-c-mbtn2 {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.kb-c-mbtn {
  position: relative;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  color: #000000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 14px rgba(99, 234, 113, 0.4);
  transition: opacity 300ms ease, transform 200ms ease;
}
.kb-c-mbtn.is-dim { opacity: 0.55; }
.kb-c-mbtn.is-tap { transform: scale(0.98); }
.kb-c-mbtn2 { border: 1px solid rgba(0, 0, 0, 0.13); background: #ffffff; color: #1a1a2e; }
.kb-c-ring {
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  border: 2px solid rgba(39, 176, 121, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}
.is-tap > .kb-c-ring { opacity: 1; }

.kb-c-apply { width: min(100%, 480px); display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.kb-c-job { padding: 1.1rem 1.2rem; }
.kb-c-job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.kb-c-job-t { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: #0c2e26; }
.kb-c-job-pay { flex: none; font-size: 0.95rem; font-weight: 700; color: #1e7a34; }
.kb-c-job-sub { margin-top: 0.2rem; font-size: 0.85rem; color: #5a726b; }
.kb-c-job-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.kb-c-job-tags span { padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid #e4ece8; background: #f6faf8; font-size: 0.74rem; font-weight: 600; color: #33514a; }
.kb-c-job-btns { display: flex; gap: 0.55rem; margin-top: 0.95rem; }
.kb-c-save,
.kb-c-applybtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}
.kb-c-save { flex: none; gap: 0.4rem; padding: 0.65rem 0.95rem; border: 1px solid rgba(11, 58, 45, 0.16); background: #ffffff; font-size: 0.85rem; color: #33514a; }
.kb-c-save.is-on { border-color: #cdeed6; background: #effaf2; color: #0b6b41; }
.kb-c-applybtn { flex: 1; padding: 0.65rem 1rem; background: #63ea71; font-size: 0.9rem; color: #0a2e12; white-space: nowrap; }
.kb-c-applybtn.is-on { background: #0c2e26; color: #63ea71; }
.kb-c-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 58, 45, 0.1);
  background: #ffffff;
  box-shadow: 0 20px 40px -30px rgba(12, 46, 38, 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.kb-c-msg.is-in { opacity: 1; transform: none; }
.kb-c-msg-av {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #0c2e26;
  font-size: 0.85rem;
  font-weight: 800;
  color: #63ea71;
}
.kb-c-msg-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; font-size: 0.82rem; font-weight: 700; color: #0c2e26; }
.kb-c-msg-h span { font-weight: 500; color: #7c948d; }
.kb-c-msg-t { margin-top: 0.2rem; font-size: 0.88rem; line-height: 1.5; color: #33514a; }

.kb-c-rank { width: min(100%, 380px); text-align: left; }
.kb-c-rank-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.kb-c-rank-h > span:first-child { font-size: 0.9rem; font-weight: 700; color: #0c2e26; }
.kb-c-pipe { width: min(100%, 420px); text-align: left; }
.kb-c-pipe-tabs { margin-bottom: 12px; }
.kb-c-pipe-list { display: flex; flex-direction: column; gap: 12px; min-height: 224px; }

.kb-fc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.kb-fc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 320px 220px at 50% 0%, rgba(99, 234, 113, 0.14), transparent 72%);
}
.kb-fc-top,
.kb-fc-main { position: relative; z-index: 1; display: flex; align-items: center; }
.kb-fc-top { justify-content: space-between; gap: 0.4rem; }
.kb-fc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.55rem;
  border-radius: 0.375rem;
  border: 1px solid;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.kb-fc-status i { flex: none; width: 0.36rem; height: 0.36rem; border-radius: 999px; }
.kb-fc-date { margin-left: auto; font-size: 0.7rem; color: #9ca3af; }
.kb-fc-main { gap: 0.8rem; }
.kb-fc-av { flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 12px; }
.kb-fc-av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kb-fc-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kb-fc-name,
.kb-fc-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-fc-name { font-size: 0.86rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: #111827; }
.kb-fc-sub { margin-top: 1px; font-size: 0.68rem; color: #6b7280; }
.kb-fc-score { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; }
.kb-fc-score svg { position: absolute; inset: 0; }
.kb-fc-score span { position: relative; font-size: 0.7rem; font-weight: 700; letter-spacing: -0.02em; }

.kb-c-phone {
  width: 250px;
  height: 400px;
  padding: 9px;
  border-radius: 38px;
  background: #0b1220;
  box-shadow: 0 40px 80px -36px rgba(12, 46, 38, 0.6);
}
.kb-c-phone-screen { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; border-radius: 30px; background: #f6faf8; }
.kb-c-phone-notch { flex: none; display: flex; justify-content: center; height: 30px; padding-top: 8px; }
.kb-c-phone-notch span { width: 70px; height: 18px; border-radius: 999px; background: #0b1220; }
.kb-c-phone-body { flex: 1; padding: 1.1rem 1rem; text-align: left; }
.kb-c-phone-k { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1e7a34; }
.kb-c-phone-t { margin-top: 0.35rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; color: #0c2e26; }
.kb-c-phone-d { margin-top: 0.4rem; font-size: 0.82rem; line-height: 1.5; color: #5a726b; }
.kb-c-phone-tabs { flex: none; display: flex; gap: 2px; padding: 0.5rem 0.4rem 0.9rem; border-top: 1px solid rgba(11, 58, 45, 0.08); background: #ffffff; }
.kb-c-tab {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0;
  border-radius: 10px;
  color: #7c948d;
  transition: background 300ms ease, color 300ms ease;
}
.kb-c-tab.is-on { background: rgba(15, 148, 87, 0.1); color: #0b6b41; }
.kb-c-tab span { font-size: 0.58rem; font-weight: 700; }

.kb-c-crop { width: min(100%, 560px); text-align: left; }
.kb-c-crop-k {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #33514a;
}
.kb-c-crop-k--end { justify-content: flex-end; margin: 0.55rem 0 0; }
.kb-c-crop-ratio { padding: 0.2rem 0.6rem; border-radius: 999px; background: #0c2e26; color: #63ea71; }
.kb-c-crop-frame {
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #0c2e26;
  box-shadow: 0 0 0 2px #27b079, 0 30px 60px -36px rgba(12, 46, 38, 0.5);
}
.kb-c-crop-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb-c-crop-frame i { position: absolute; width: 16px; height: 16px; border: 0 solid #ffffff; }
.kb-c-crop-frame i:nth-of-type(1) { top: 8px; left: 8px; border-top-width: 3px; border-left-width: 3px; border-radius: 4px 0 0 0; }
.kb-c-crop-frame i:nth-of-type(2) { top: 8px; right: 8px; border-top-width: 3px; border-right-width: 3px; border-radius: 0 4px 0 0; }
.kb-c-crop-frame i:nth-of-type(3) { bottom: 8px; left: 8px; border-bottom-width: 3px; border-left-width: 3px; border-radius: 0 0 0 4px; }
.kb-c-crop-frame i:nth-of-type(4) { bottom: 8px; right: 8px; border-bottom-width: 3px; border-right-width: 3px; border-radius: 0 0 4px 0; }
.kb-c-crop-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(12, 46, 38, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fafaf6;
}

/* ---------------------------------------------------------------- screen recordings */

.kb-rec { position: relative; margin: 1.75rem 0; container-type: inline-size; }
.kb-rec.kb-cover { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
.kb-rec-frame {
  padding: 6px;
  border-radius: 16px;
  border: 1px solid #dbe7e1;
  background: #ffffff;
  box-shadow: 0 30px 60px -46px rgba(12, 46, 38, 0.5);
  transition: box-shadow 500ms ease, border-color 500ms ease;
}
.kb-rec-frame.is-flash { border-color: #27b079; box-shadow: 0 0 0 4px rgba(39, 176, 121, 0.35), 0 30px 60px -46px rgba(12, 46, 38, 0.5); }
.kb-rec-win { overflow: hidden; border-radius: 11px; border: 1px solid #e4ece8; background: #f6faf8; }
.kb-rec-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.15rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid #e4ece8;
  background: #f6faf8;
}
.kb-rec-lights { flex: none; display: flex; gap: 6px; }
.kb-rec-lights i { width: 9px; height: 9px; border-radius: 999px; background: #dfe7e3; }
.kb-rec-url { flex: 1; min-width: 0; display: flex; justify-content: center; }
.kb-rec-url > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  overflow: hidden;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e4ece8;
  background: #ffffff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  white-space: nowrap;
  color: #5a726b;
}
.kb-rec-url svg { flex: none; width: 0.7rem; height: 0.7rem; color: #27b079; }
.kb-rec-url span span { overflow: hidden; text-overflow: ellipsis; }
.kb-rec-dur {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #0b6b41;
}
.kb-rec-dur i { width: 6px; height: 6px; border-radius: 999px; background: #a3b5ae; box-shadow: 0 0 0 3px rgba(39, 176, 121, 0.18); }
.kb-rec-dur i.is-on { background: #27b079; }
.kb-rec-dur-word { white-space: pre; }
.kb-rec-view { position: relative; aspect-ratio: 1440 / 842; overflow: hidden; background: #f6f7f7; cursor: pointer; }
.kb-rec-cam { position: absolute; inset: 0; transform-origin: 50% 50%; transition: transform 1100ms cubic-bezier(0.45, 0, 0.2, 1); }
.kb-rec-cam img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  -webkit-user-select: none;
  user-select: none;
  transition: opacity 480ms ease;
}
.kb-rec-cam img.is-on { opacity: 1; }
.kb-rec-hl {
  position: absolute;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 0 3px rgba(39, 176, 121, 0.85), 0 0 0 9px rgba(99, 234, 113, 0.22);
  transition: opacity 360ms ease;
}
.kb-rec-hl.is-on { opacity: 1; }
.kb-rec-cur {
  position: absolute;
  z-index: 3;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: left 950ms cubic-bezier(0.45, 0, 0.2, 1), top 950ms cubic-bezier(0.45, 0, 0.2, 1), opacity 300ms ease;
}
.kb-rec-cur.is-on { opacity: 1; }
.kb-rec-rip {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(39, 176, 121, 0.9);
  background: rgba(99, 234, 113, 0.18);
  opacity: 0;
  transform: scale(0.4);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease;
}
.kb-rec-cur.is-click .kb-rec-rip { opacity: 1; transform: scale(1.25); }
.kb-rec-arrow {
  position: absolute;
  left: -3px;
  top: -2px;
  width: 26px;
  height: 26px;
  overflow: visible;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  transition: transform 160ms ease;
}
.kb-rec-cur.is-click .kb-rec-arrow { transform: scale(0.88); }
.kb-rec-scroll {
  position: absolute;
  left: 20px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #0c2e26;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  color: #63ea71;
  opacity: 0;
  transition: opacity 300ms ease;
}
.kb-rec-scroll.is-on { opacity: 1; }
.kb-rec-start { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(8, 20, 15, 0.18); }
.kb-rec-start > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem 0.75rem 1rem;
  border-radius: 999px;
  background: #0c2e26;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.kb-rec-start i { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 999px; background: #63ea71; color: #0a2e12; }
.kb-rec-start svg { width: 0.85rem; height: 0.85rem; margin-left: 2px; }
.kb-rec-bar { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 0.55rem 0.35rem; }
.kb-rec-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: #0c2e26;
  color: #63ea71;
  cursor: pointer;
  transition: transform 160ms ease;
}
.kb-rec-play:hover { transform: scale(1.06); }
.kb-rec-play svg { width: 0.95rem; height: 0.95rem; }
.kb-rec-play svg.is-play { margin-left: 2px; }
.kb-rec-cap { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.kb-rec-step {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b6b41;
}
.kb-rec-text { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: #0c2e26; text-wrap: pretty; }
.kb-rec-btns { flex: none; display: flex; align-items: center; gap: 0.3rem; }
.kb-rec-btns button {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #dbe7e1;
  background: #ffffff;
  color: #33514a;
  cursor: pointer;
}
.kb-rec-btns button:hover { border-color: #0c2e26; color: #0c2e26; }
.kb-rec-btns svg { width: 0.9rem; height: 0.9rem; }
.kb-rec-btns svg.is-done { color: #27b079; }
.kb-rec-segs { display: flex; gap: 4px; padding: 0.45rem 0.55rem 0.5rem; }
.kb-rec-segs button { flex: 1; min-width: 0; height: 14px; padding: 5px 0; border: none; background: transparent; cursor: pointer; }
.kb-rec-segs button > span { position: relative; display: block; height: 4px; overflow: hidden; border-radius: 999px; background: #e3ebe7; }
.kb-rec-segs i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #27b079; }
.kb-rec-segs button:hover > span { background: #d3e3db; }
@container (max-width: 520px) {
  .kb-rec-bar { flex-wrap: wrap; row-gap: 0.55rem; }
  .kb-rec-cap { flex-basis: calc(100% - 3.25rem); }
  .kb-rec-btns { margin-left: auto; }
  .kb-rec-dur-word { display: none; }
}
@container (max-width: 360px) {
  .kb-rec-url { visibility: hidden; }
}

.kb-rec-big {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(0.75rem, 3vw, 2.5rem);
  background: rgba(5, 14, 10, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
}
.kb-rec-big-box {
  position: relative;
  width: min(96vw, calc((100vh - 200px) * 1.71), 1500px);
  padding: 6px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.kb-rec-big .kb-rec-win { border: none; }
.kb-rec-big .kb-rec-arrow { width: 28px; height: 28px; }
.kb-rec-big .kb-rec-text { font-size: 1rem; }
.kb-rec-close {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 250, 246, 0.3);
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fafaf6;
  cursor: pointer;
}
.kb-rec-close:hover { border-color: #63ea71; color: #63ea71; }
.kb-rec-close svg { width: 0.85rem; height: 0.85rem; }

/* ---------------------------------------------------------------- tablets and phones */

@media (max-width: 980px) {
  .kb-guide-layout { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3rem); }
  .kb-art { max-width: none; }
  .kb-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    align-items: start;
  }
}
@media (max-width: 900px) {
  .kb-ghero-inner { padding-top: var(--lp-navh); }
}
@media (max-width: 700px) {
  .kb-rec-expand { display: none !important; }
}
@media (max-width: 640px) {
  .kb-search { margin-top: 1.6rem; }
  .kb-search-box { height: 3.5rem; padding-left: 1rem; border-radius: 16px; }
  .kb-search-input { font-size: 1rem; }
  .kb-opt-title { white-space: normal; }
  .kb-start { border-radius: 22px; }
  .kb-start-head .cmp-btn { width: 100%; }
  .kb-start-card { padding: 1.2rem 1.25rem 1.1rem; border-radius: 18px; }
  .kb-card { padding: 1.25rem 1.25rem 1.15rem; border-radius: 18px; }
  .kb-stuck { padding: 1.25rem; }
  .kb-stuck-btns,
  .kb-stuck-btns .kb-btn { width: 100%; }
  .kb-def { grid-template-columns: minmax(0, 1fr); }
  .kb-plan { flex-direction: column; }
  .kb-plan-price { text-align: left; }
  .kb-note { padding: 0.9rem 1.1rem; }
  .kb-steps,
  .kb-plans { padding: 0.3rem 1rem; }
  .kb-next { padding: 1.05rem 1.1rem; }
  .kb-mark { width: 1.35rem; height: 1.35rem; font-size: 0.68rem; box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px rgba(39, 176, 121, 0.35), 0 6px 14px -6px rgba(0, 0, 0, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  .kb-card,
  .kb-start-card,
  .kb-see,
  .kb-next,
  .kb-keep-item,
  .kb-rec-cam,
  .kb-rec-cur { transition: none; }
  .kb-card:hover,
  .kb-start-card:hover,
  .kb-see:hover,
  .kb-next:hover,
  .kb-keep-item:hover { transform: none; }
}
