/* --- /assets/css/home.css --- */
/* Native home page. */

.ckm-home { background: var(--c-page); }

.ckm-home-hero__inner {
  max-width: var(--edge-max);
  margin: 0 auto;
  padding: 10px var(--edge-gutter);
}

.ckm-home-carousel {
  position: relative;
  aspect-ratio: 2170 / 725;
  overflow: hidden;
  isolation: isolate;
  background: #040405;
  border-radius: 20px;
  clip-path: inset(0 round 20px);
  touch-action: pan-y;
}

.ckm-home-carousel .ckm-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 500ms ease;
  will-change: transform;
}

.ckm-home-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  background: #040405;
}

.ckm-home-slide__media,
.ckm-home-slide__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.ckm-home-slide__image {
  object-fit: cover;
  object-position: center;
}

.ckm-home-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 3, 4, 0.96) 0%, rgba(3, 3, 4, 0.82) 25%, rgba(3, 3, 4, 0.28) 48%, rgba(3, 3, 4, 0) 66%);
}

.ckm-home-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(49%, 720px);
  height: 100%;
  padding: 36px clamp(58px, 5.2vw, 108px);
  color: #fff;
}

.ckm-home-slide__eyebrow {
  margin: 0 0 10px;
  color: #ffd000;
  font-size: clamp(16px, 1.45vw, 25px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.035em;
}

.ckm-home-slide__title {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.25vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.ckm-home-slide__description {
  max-width: 610px;
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 450;
  line-height: 1.45;
}

.ckm-home-slide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2635, #e50918);
  box-shadow: 0 12px 30px rgba(229, 9, 24, 0.26);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ckm-home-slide__button:hover,
.ckm-home-slide__button:focus-visible {
  background: linear-gradient(135deg, #ff3a47, #f11121);
  box-shadow: 0 15px 36px rgba(229, 9, 24, 0.38);
  color: #fff;
  transform: translateY(-2px);
}

.ckm-home-slide__button svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ckm-home-slide__arrow-icon { margin-left: 2px; }

.ckm-home-carousel .ckm-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.ckm-home-carousel .ckm-carousel__arrow:hover,
.ckm-home-carousel .ckm-carousel__arrow:focus-visible {
  background: rgba(255, 255, 255, 0.23);
  transform: translateY(-50%) scale(1.04);
}

.ckm-home-carousel .ckm-carousel__arrow--prev { left: 18px; }
.ckm-home-carousel .ckm-carousel__arrow--next { right: 18px; }
.ckm-home-carousel .ckm-carousel__arrow svg { width: 25px; height: 25px; fill: currentColor; }

.ckm-carousel__dots {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.ckm-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.ckm-carousel__dot[aria-current="true"] {
  width: 24px;
  background: #ff1728;
}

.ckm-home-section {
  padding: 80px 15px;
}

.ckm-home-products--new {
  padding-top: 0;
  padding-bottom: 120px;
}

.ckm-home-section__inner {
  max-width: 1380px;
  margin: 0 auto;
}

.ckm-home-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

/* Title + short red bar under it + a hairline running to the button. */
.ckm-home-section__title {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 24px;
  margin: 0;
  padding-bottom: 12px;
  color: var(--c-ink-2);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.ckm-home-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: var(--c-primary);
  border-radius: 2px;
}
.ckm-home-section__title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-top: 12px;
  background: var(--c-border);
}

.ckm-home-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--r-btn);
  background: var(--c-primary);
  color: var(--c-primary-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c-primary) 24%, transparent);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ckm-home-section__button::after {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.ckm-home-section__button:hover,
.ckm-home-section__button:focus-visible {
  background: var(--c-primary-hover);
  color: var(--c-primary-ink);
  text-decoration: none;
  transform: translateY(-1px);
}
.ckm-home-section__button:hover::after { transform: translateX(3px); }

/* ---- Category cards ---- */
.ckm-home .custom-category-grid-alt-home {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px !important;
  align-items: stretch;
}

.ckm-home .custom-category-grid-alt-home .category-box-alt-home {
  width: auto !important;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  text-align: center;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ckm-home .custom-category-grid-alt-home .category-box-alt-home:hover,
.ckm-home .custom-category-grid-alt-home .category-box-alt-home:focus-within {
  border-color: var(--c-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.ckm-home .custom-category-grid-alt-home .category-box-alt-home a {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 16px 12px 18px;
  color: inherit;
  text-decoration: none;
}

.ckm-home .custom-category-grid-alt-home .category-box-alt-home img {
  display: block;
  width: 100%;
  height: 92px;
  max-height: none;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  transition: transform .3s ease;
}
.ckm-home .custom-category-grid-alt-home .category-box-alt-home:hover img { transform: scale(1.05); }

.ckm-home .custom-category-grid-alt-home .category-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 10px;
  height: auto !important;
  min-height: 0;
  padding: 0;
  color: var(--c-ink-2);
  background: transparent !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  transition: color .25s ease;
}
/* Short red bar under the name; it widens on hover. */
.ckm-home .custom-category-grid-alt-home .category-title::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 3px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: width .25s ease;
}
.ckm-home .custom-category-grid-alt-home .category-box-alt-home:hover .category-title,
.ckm-home .custom-category-grid-alt-home .category-box-alt-home:focus-within .category-title { color: var(--c-accent); }
.ckm-home .custom-category-grid-alt-home .category-box-alt-home:hover .category-title::after,
.ckm-home .custom-category-grid-alt-home .category-box-alt-home:focus-within .category-title::after { width: 40px; }

/* ---- Trust strip: graphite panel with red light streaks in two corners ---- */
.ckm-home-features {
  padding: 0 15px 80px;
}

.ckm-home-features__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1380px;
  margin: 0 auto;
  padding: 34px 0;
}

/* Graphite panel (trust strip, About Us mission). */
.ckm-home-features__inner,
.ckm-graphite-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f8fafc;
  background: linear-gradient(180deg, #1b2432 0%, #10151e 100%);
  border: 1px solid #252e3b;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(11, 15, 22, .22);
}
/* Two glowing arcs hugging the top-left and bottom-right corners. */
.ckm-home-features__inner::before,
.ckm-home-features__inner::after,
.ckm-graphite-panel::before,
.ckm-graphite-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 200px;
  height: 200px;
  pointer-events: none;
  background:
    radial-gradient(circle at 200px 200px, transparent 227px, rgba(255, 72, 82, .95) 229px, rgba(227, 6, 19, .35) 232px, transparent 235px),
    radial-gradient(circle at 200px 200px, transparent 247px, rgba(227, 6, 19, .6) 249px, transparent 252px),
    radial-gradient(150px 120px at 0 0, rgba(227, 6, 19, .5), transparent 72%);
  -webkit-mask-image: radial-gradient(190px 190px at 0 0, #000 45%, transparent 100%);
  mask-image: radial-gradient(190px 190px at 0 0, #000 45%, transparent 100%);
}
.ckm-home-features__inner::before,
.ckm-graphite-panel::before { top: 0; left: 0; }
.ckm-home-features__inner::after,
.ckm-graphite-panel::after { right: 0; bottom: 0; transform: rotate(180deg); }

.ckm-home-feature {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 0 24px;
  text-align: center;
}
.ckm-home-feature + .ckm-home-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(248, 250, 252, .22) 20%, rgba(248, 250, 252, .22) 80%, transparent);
}
.ckm-home-feature svg {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  fill: var(--c-primary);
  filter: drop-shadow(0 0 12px rgba(227, 6, 19, .45));
}
html[data-theme="dark"] .ckm-home-feature svg { fill: #f02330; }
.ckm-home-feature h3 { margin: 0; color: #f8fafc; font-size: 19px; font-weight: 700; line-height: 1.25; }
.ckm-home-feature p { margin: 0; color: #a9b3c2; font-size: 14px; line-height: 1.4; }

.ckm-home .elementor-products-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1200px) {
  .ckm-home .custom-category-grid-alt-home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ckm-home-carousel {
    width: 100%;
    height: clamp(650px, 78vw, 780px);
    aspect-ratio: auto;
  }
  .ckm-home-slide__image {
    top: auto;
    right: -4%;
    bottom: 0;
    left: auto;
    width: auto;
    max-width: none;
    height: 58%;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%);
  }
  .ckm-home-slide::after {
    background:
      linear-gradient(180deg, rgba(3, 3, 4, 1) 0%, rgba(3, 3, 4, 0.97) 39%, rgba(3, 3, 4, 0.48) 62%, rgba(3, 3, 4, 0.02) 100%),
      linear-gradient(90deg, rgba(3, 3, 4, 0.35), transparent 60%);
  }
  .ckm-home-slide__content {
    justify-content: flex-start;
    width: min(78%, 680px);
    height: auto;
    padding: 52px 70px;
  }
  .ckm-home-slide__title { font-size: clamp(38px, 5.4vw, 54px); }
  .ckm-home-slide__description { font-size: 18px; }
  .ckm-home-carousel .ckm-carousel__arrow { top: 72%; }
  .ckm-home-section { padding: 64px 24px; }
  .ckm-home-products--new { padding-top: 0; padding-bottom: 96px; }
  .ckm-home .custom-category-grid-alt-home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px !important; }
  .ckm-home-features__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ckm-home-feature:nth-child(3)::before { display: none; }
  .ckm-home .elementor-products-grid ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ckm-home-hero__inner { padding: 0; }
  .ckm-home-carousel {
    height: clamp(620px, calc(100svh - 62px), 760px);
    border-radius: 0;
    clip-path: inset(0 round 0);
  }
  .ckm-home-slide__image {
    right: -20%;
    height: 52%;
  }
  .ckm-home-slide__content {
    width: 100%;
    max-width: 560px;
    padding: 42px 52px 0;
  }
  .ckm-home-slide__eyebrow { margin-bottom: 9px; font-size: 16px; }
  .ckm-home-slide__title { max-width: 520px; font-size: clamp(34px, 9vw, 44px); line-height: 1.04; }
  .ckm-home-slide__description { max-width: 500px; margin: 16px 0 21px; font-size: 16px; line-height: 1.42; }
  .ckm-home-slide__button { min-height: 50px; padding: 12px 17px; font-size: 15px; }
  .ckm-home-carousel .ckm-carousel__arrow { top: 72%; width: 40px; height: 40px; }
  .ckm-home-carousel .ckm-carousel__arrow--prev { left: 14px; }
  .ckm-home-carousel .ckm-carousel__arrow--next { right: 14px; }
  .ckm-carousel__dots { bottom: 14px; }
  .ckm-home-section { padding: 42px 12px; }
  .ckm-home-products--new { padding-top: 0; padding-bottom: 72px; }
  .ckm-home-section__head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 20px; }
  .ckm-home-section__title { width: 100%; font-size: 24px; }
  .ckm-home-section__button { align-self: flex-start; min-height: 40px; padding: 9px 18px; }
  .ckm-home .custom-category-grid-alt-home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important; }
  .ckm-home .custom-category-grid-alt-home .category-box-alt-home { border-radius: 12px; }
  .ckm-home .custom-category-grid-alt-home .category-box-alt-home a { padding: 12px 8px 14px; }
  .ckm-home .custom-category-grid-alt-home .category-box-alt-home img { height: 70px; margin-bottom: 8px; }
  .ckm-home .custom-category-grid-alt-home .category-title { gap: 8px; font-size: 12.5px; }
  .ckm-home-features { padding: 0 12px 52px; }
  .ckm-home-features__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; padding: 8px 0; border-radius: 14px; }
  .ckm-home-feature { padding: 18px 12px; }
  .ckm-home-feature + .ckm-home-feature::before { display: none; }
  .ckm-home-feature:nth-child(odd) { box-shadow: inset -1px 0 rgba(248, 250, 252, .14); }
  .ckm-home-feature:nth-child(-n+2) { box-shadow: inset 0 -1px rgba(248, 250, 252, .14); }
  .ckm-home-feature:nth-child(1) { box-shadow: inset -1px 0 rgba(248, 250, 252, .14), inset 0 -1px rgba(248, 250, 252, .14); }
  .ckm-home-feature svg { width: 36px; height: 36px; margin-bottom: 4px; }
  .ckm-home-feature h3 { font-size: 15px; }
  .ckm-home-feature p { font-size: 12.5px; }
  .ckm-home .elementor-products-grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 380px) {
  .ckm-home-slide__content { padding-right: 44px; padding-left: 44px; }
  .ckm-home-slide__title { font-size: 32px; }
  .ckm-home-slide__description { font-size: 15px; }
  .ckm-home .elementor-products-grid ul.products { gap: 10px; }
}

@media (max-width: 340px) {
  .ckm-home .custom-category-grid-alt-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .ckm-home-carousel .ckm-carousel__track { transition: none; }
  .ckm-home-slide__button,
  .ckm-home-carousel .ckm-carousel__arrow,
  .ckm-carousel__dot,
  .ckm-home-section__button,
  .ckm-home-section__button::after,
  .ckm-home .custom-category-grid-alt-home .category-box-alt-home,
  .ckm-home .custom-category-grid-alt-home .category-box-alt-home img,
  .ckm-home .custom-category-grid-alt-home .category-title::after { transition: none; }
  .ckm-home .custom-category-grid-alt-home .category-box-alt-home:hover,
  .ckm-home .custom-category-grid-alt-home .category-box-alt-home:hover img { transform: none; }
}

/* --- /assets/css/forms.css --- */
/* Forms of Carkeymaster Core (templates/forms/*.php): contact form and the
   online withdrawal form. Colours come from tokens.css (light + dark). */

.ckm-form {
  --ckm-form-gap: 18px;
  margin: 0;
}

.ckm-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ckm-form-gap) 20px;
}
.ckm-form__field--wide { grid-column: 1 / -1; }

.ckm-form__field {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ckm-form__label {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 7px;
  color: var(--c-ink-2);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.ckm-form__req { color: var(--c-accent); }
.ckm-form__optional {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: var(--fw-regular);
}

.ckm-form .ckm-form__control {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  color: var(--c-ink-2);
  background: var(--c-control-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, .04);
  font: inherit;
  font-size: 16px; /* No zoom on iOS. */
  line-height: 1.45;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  appearance: none;
}
.ckm-form textarea.ckm-form__control {
  min-height: 150px;
  resize: vertical;
}
.ckm-form select.ckm-form__control {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c8695' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.ckm-form .ckm-form__control::placeholder { color: var(--c-placeholder); }
.ckm-form .ckm-form__control:hover { border-color: var(--c-border-strong); }
.ckm-form .ckm-form__control:focus,
.ckm-form .ckm-form__control:focus-visible {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-focus-ring);
}

.ckm-form__count {
  align-self: flex-end;
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.ckm-form__count.is-near { color: var(--c-warning); font-weight: var(--fw-semibold); }

.ckm-form__help {
  margin: 6px 0 0;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ckm-form__error {
  margin: 0;
  color: var(--c-danger);
  font-size: 13px;
  font-weight: var(--fw-medium);
  line-height: 1.4;
}
.ckm-form__error:empty { display: none; }
.ckm-form__error:not(:empty) {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.ckm-form__error:not(:empty)::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #fff;
  background: var(--c-danger);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.ckm-form__field.is-invalid .ckm-form__control {
  border-color: var(--c-danger);
  background-color: var(--c-danger-surface);
}
.ckm-form__field.is-invalid .ckm-form__control:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-danger) 22%, transparent);
}

/* Form-level message (expired page, too many messages, check fields). */
.ckm-form__status {
  margin: 0 0 20px;
  padding: 12px 16px;
  color: var(--c-ink-2);
  background: var(--c-info-surface);
  border: 1px solid var(--c-info-border);
  border-left: 4px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  font-size: 15px;
  line-height: 1.5;
}
.ckm-form__status.is-error {
  background: var(--c-danger-surface);
  border-color: var(--c-danger-border);
  border-left-color: var(--c-danger);
}
.ckm-form__status:focus { outline: none; }
.ckm-form__status[hidden] { display: none; }

/* Honeypot: off-screen (not display:none, which many bots skip). */
.ckm-form__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ckm-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
}
.ckm-form__note {
  flex: 1 1 260px;
  margin: 0;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.55;
}
.ckm-form__note a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }

.ckm-form .ckm-form__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  color: var(--c-primary-ink);
  background: var(--c-primary);
  border: 0;
  border-radius: var(--r-btn);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c-primary) 24%, transparent);
  font: inherit;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ckm-form .ckm-form__submit:hover {
  background: var(--c-primary-hover);
  transform: translateY(-1px);
}
.ckm-form .ckm-form__submit:focus-visible {
  outline: 3px solid var(--c-focus-ring);
  outline-offset: 3px;
}
.ckm-form .ckm-form__submit:disabled {
  cursor: progress;
  opacity: .8;
  transform: none;
}

.ckm-form__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ckm-form-spin .7s linear infinite;
}
.ckm-form.is-busy .ckm-form__spinner { display: inline-block; }
@keyframes ckm-form-spin { to { transform: rotate(360deg); } }

/* ---- Success state ---- */
.ckm-form-done {
  padding: 8px 0 4px;
  scroll-margin-top: 24px;
}
.ckm-form-done__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--c-success);
  background: var(--c-success-surface);
  border: 1px solid var(--c-success-border);
  border-radius: 50%;
}
.ckm-form-done .ckm-form-done__title {
  margin: 0 0 8px;
  color: var(--c-ink-2);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
}
.ckm-form-done__title:focus { outline: none; }
.ckm-form-done__text {
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--c-body);
  font-size: 16px;
  line-height: 1.6;
}
.ckm-form-done__receipt {
  display: grid;
  margin: 0 0 16px;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.ckm-form-done__receipt > div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
  gap: 12px;
  padding: 11px 16px;
  background: var(--c-surface-raised);
}
.ckm-form-done__receipt > div:nth-child(odd) { background: var(--c-surface-soft); }
.ckm-form-done__receipt dt { color: var(--c-muted); font-size: 14px; font-weight: var(--fw-semibold); }
.ckm-form-done__receipt dd { margin: 0; color: var(--c-ink-2); font-size: 15px; overflow-wrap: anywhere; }
.ckm-form-done__statement {
  margin: 0 0 20px;
  padding: 12px 16px;
  color: var(--c-ink-2);
  background: var(--c-info-surface);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-sm);
  font-size: 15px;
  line-height: 1.55;
}
.ckm-form-done__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ckm-form-done__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--c-ink-2);
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  font: inherit;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  cursor: pointer;
}
.ckm-form-done__link:hover,
.ckm-form-done__link:focus-visible {
  color: var(--c-ink-2);
  border-color: var(--c-primary);
  text-decoration: none;
}

/* ---- Withdrawal form on the Cancellation Policy page ---- */
.ckm-form-wrap--withdrawal,
.ckm-legal-content .ckm-form-done {
  margin: 8px 0 40px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-top: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-panel);
}
.ckm-form-wrap .ckm-form-wrap__title {
  margin: 0 0 8px;
  color: var(--c-ink-2);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}
.ckm-form-wrap__lead {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--c-body);
  font-size: 15px;
  line-height: 1.6;
}

/* Option groups: radio buttons (choice) and checkboxes (multi) as cards. */
.ckm-form__choices {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ckm-form__choices > legend { padding: 0; }
.ckm-form__choices .ckm-form__help { margin: -2px 0 10px; }
.ckm-form__options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 8px;
}
.ckm-form__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--c-ink-2);
  background: var(--c-control-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ckm-form__option:hover { border-color: var(--c-border-strong); }
.ckm-form__option:has(input:checked) {
  border-color: var(--c-primary);
  box-shadow: inset 0 0 0 1px var(--c-primary);
}
.ckm-form__option:has(input:focus-visible) {
  outline: 3px solid var(--c-focus-ring);
  outline-offset: 2px;
}
.ckm-form__option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--c-primary);
}
.ckm-form__choices.is-invalid .ckm-form__option:not(:has(input:checked)) {
  border-color: var(--c-danger);
  background-color: var(--c-danger-surface);
}

/* Multi-step forms (forms.js shows one step at a time). */
.ckm-form--steps [hidden] { display: none !important; }
.ckm-steps {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.ckm-steps__item {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 10px;
  color: var(--c-muted);
  border-top: 3px solid var(--c-border);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
}
.ckm-steps__item.is-current,
.ckm-steps__item.is-done { border-top-color: var(--c-primary); }
.ckm-steps__item.is-current { color: var(--c-ink-2); }
.ckm-steps__num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--c-ink-2);
  background: var(--c-surface);
  border-radius: 50%;
  font-size: 12px;
}
.ckm-steps__item.is-current .ckm-steps__num,
.ckm-steps__item.is-done .ckm-steps__num {
  color: var(--c-primary-ink);
  background: var(--c-primary);
}
.ckm-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ckm-form--steps:not(.is-stepped) .ckm-step + .ckm-step {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border-soft);
}
.ckm-step__title {
  margin: 0 0 16px;
  padding: 0;
  color: var(--c-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.ckm-step__title:focus { outline: none; }
.ckm-step__count {
  display: block;
  margin-bottom: 2px;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: var(--fw-semibold);
}
.ckm-steps__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.ckm-form .ckm-steps__back {
  min-height: 50px;
  padding: 12px 22px;
  color: var(--c-ink-2);
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  font: inherit;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
}
.ckm-form .ckm-steps__back:hover { border-color: var(--c-ink-2); }
.ckm-form .ckm-steps__back:focus-visible {
  outline: 3px solid var(--c-focus-ring);
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .ckm-form__grid { grid-template-columns: minmax(0, 1fr); }
  .ckm-form .ckm-form__submit { width: 100%; }
  .ckm-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ckm-steps__item.is-current .ckm-steps__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .ckm-steps__actions { width: 100%; flex-wrap: nowrap; }
  .ckm-steps__actions > * { flex: 1 1 0; }
  .ckm-form-done__receipt > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .ckm-form__spinner { animation-duration: 1.6s; }
  .ckm-form .ckm-form__submit,
  .ckm-form .ckm-form__control,
  .ckm-form__option { transition: none; }
}

/* Print the withdrawal confirmation only. */
@media print {
  body:has(.ckm-form-done) * { visibility: hidden; }
  body:has(.ckm-form-done) .ckm-form-done,
  body:has(.ckm-form-done) .ckm-form-done * { visibility: visible; }
  body:has(.ckm-form-done) .ckm-form-done {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: none;
  }
  .ckm-form-done__actions { display: none; }
}

/* --- /assets/css/website-service.css --- */
/* Native "Locksmith Website" sales page (inc/website-service-page.php).
   Builds on home.css (section base, red button, graphite panel) and the
   tokens in tokens.css; works in light and dark mode. */

.ckm-ws { overflow-x: clip; }
.ckm-ws [hidden] { display: none !important; }

/* ---- Shared type ---- */
.ckm-ws-head { max-width: 760px; margin-bottom: 40px; }
.ckm-ws-head--center { margin-inline: auto; text-align: center; }
.ckm-ws-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ckm-ws-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.ckm-ws-head--center .ckm-ws-eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.ckm-ws-eyebrow--dark { color: #ff8a93; }
.ckm-ws-h2 {
  margin: 0 0 14px;
  color: var(--c-ink-2);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.ckm-ws-h3 {
  margin: 30px 0 14px;
  color: var(--c-ink-2);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.ckm-ws-lead {
  margin: 0;
  color: var(--c-muted);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}
.ckm-ws-fine { margin: 14px 0 0; color: var(--c-muted); font-size: 14px; }
.ckm-ws-fine--center { margin-top: 24px; text-align: center; }

/* ---- Buttons ---- */
.ckm-ws .ckm-home-section__button { min-height: 52px; padding: 12px 28px; font-size: 16px; }
.ckm-ws-ghost,
.ckm-ws-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ckm-ws-ghost { color: #f8fafc; border: 1px solid rgba(248, 250, 252, .32); }
.ckm-ws-ghost:hover,
.ckm-ws-ghost:focus-visible { color: #fff; background: rgba(248, 250, 252, .08); border-color: rgba(248, 250, 252, .65); text-decoration: none; }
.ckm-ws-outline { min-height: 46px; padding: 10px 20px; color: var(--c-ink-2); background: var(--c-surface-raised); border: 1px solid var(--c-border); font-size: 15px; }
.ckm-ws-outline:hover,
.ckm-ws-outline:focus-visible { color: var(--c-accent); border-color: var(--c-accent); text-decoration: none; }
.ckm-ws :is(a, button, summary, input, [tabindex]):focus-visible { outline: 3px solid var(--c-focus-ring); outline-offset: 2px; }

.ckm-ws-checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--c-body);
  font-size: 16px;
}
.ckm-ws-checklist--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.ckm-ws-checklist li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.ckm-ws-checklist svg {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  color: #fff;
  background: var(--c-primary);
  border-radius: 50%;
  stroke-width: 3;
}
.ckm-ws-dots { display: inline-flex; gap: 6px; }
.ckm-ws-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.ckm-ws-dots i:nth-child(2) { background: #febc2e; }
.ckm-ws-dots i:nth-child(3) { background: #28c840; }

/* ---- Hero ---- */
.ckm-ws-hero { padding: 24px 15px 0; }
.ckm-ws-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 76px) clamp(24px, 5vw, 72px);
}
.ckm-ws-hero__title {
  margin: 0 0 20px;
  color: #f8fafc;
  font-size: clamp(32px, 4.1vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.ckm-ws-hero__title span { display: block; color: #ff5c68; }
.ckm-ws-hero__lead { max-width: 600px; margin: 0 0 28px; color: #c9d1dc; font-size: 18px; line-height: 1.65; }
.ckm-ws-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.ckm-ws-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #e7ebf1;
  font-size: 15px;
}
.ckm-ws-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ckm-ws-ticks svg { flex: none; color: #ff5c68; stroke-width: 2.6; }
.ckm-ws-hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(248, 250, 252, .12);
  color: #c9d1dc;
}
.ckm-ws-hero__from { font-size: 16px; }
.ckm-ws-hero__amount { color: #fff; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.ckm-ws-hero__amount .woocommerce-Price-amount { color: inherit; }
.ckm-ws-hero__per { font-size: 16px; }

/* Device mock-ups with a slowly scrolling screenshot. */
.ckm-ws-devices { position: relative; padding: 0 0 44px 0; }
.ckm-ws-laptop {
  position: relative;
  overflow: hidden;
  background: #0b0f16;
  border: 1px solid rgba(248, 250, 252, .16);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 6px rgba(248, 250, 252, .04);
}
.ckm-ws-laptop__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 34px;
  padding: 0 14px;
  background: #1b2432;
  border-bottom: 1px solid rgba(248, 250, 252, .08);
}
.ckm-ws-laptop__url {
  flex: 1;
  max-width: 260px;
  padding: 3px 12px;
  overflow: hidden;
  color: #a9b3c2;
  background: rgba(248, 250, 252, .06);
  border-radius: 99px;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ckm-ws-laptop__screen { aspect-ratio: 16 / 10; }
.ckm-ws-phone {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 31%;
  min-width: 130px;
  max-width: 190px;
  padding: 7px;
  background: #0b0f16;
  border: 1px solid rgba(248, 250, 252, .22);
  border-radius: 30px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, .55);
}
.ckm-ws-phone__screen { aspect-ratio: 9 / 19; border-radius: 23px; }
.ckm-ws-autoscroll {
  position: relative;
  overflow: hidden;
  container-type: size;
  background: #fff;
}
.ckm-ws-autoscroll img {
  display: block;
  width: 100%;
  height: auto;
  animation: ckm-ws-scroll 26s ease-in-out infinite alternate;
  will-change: transform;
}
/* Image height = width × ratio: 2400/960 = 2.5, phone 2692/300 ≈ 8.973. */
@keyframes ckm-ws-scroll {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-250cqw + 100cqh)); }
}
.ckm-ws-autoscroll--phone img { animation-name: ckm-ws-scroll-phone; animation-duration: 30s; }
@keyframes ckm-ws-scroll-phone {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-897.3cqw + 100cqh)); }
}
.ckm-ws-devices:hover .ckm-ws-autoscroll img { animation-play-state: paused; }
.ckm-ws-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  color: #171f2b;
  background: #fff;
  border-radius: 99px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.ckm-ws-chip svg { color: var(--c-primary); }
.ckm-ws-chip--a { top: 34%; left: -22px; }
.ckm-ws-chip--b { bottom: 4px; left: 12%; }

/* ---- Everything included ---- */
.ckm-ws-included { padding-top: 96px; }
.ckm-ws-included__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ckm-ws-tile {
  margin: 0;
  padding: 26px 24px;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ckm-ws-tile:hover { transform: translateY(-3px); border-color: var(--c-accent-muted); box-shadow: var(--shadow-card-hover); }
.ckm-ws-tile__icon,
.ckm-ws-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--c-accent);
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
  border-radius: 14px;
}
.ckm-ws-tile__title,
.ckm-ws-card__title { margin: 0 0 8px; color: var(--c-ink-2); font-size: 18px; font-weight: 700; line-height: 1.3; }
.ckm-ws-tile__text,
.ckm-ws-card__text { margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.6; }

/* ---- Demo viewer ---- */
.ckm-ws-demo { padding: 88px 15px; background: var(--c-surface); }
.ckm-ws-viewer { max-width: 1100px; margin: 0 auto; }
.ckm-ws-viewer__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  margin-bottom: 18px;
}
.ckm-ws-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 12px;
}
.ckm-ws-tab,
.ckm-ws-seg__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--c-body);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.ckm-ws-tab:hover,
.ckm-ws-seg__btn:hover { color: var(--c-ink-2); background: var(--c-surface); }
.ckm-ws-tab[aria-selected="true"],
.ckm-ws-seg__btn[aria-pressed="true"] { color: var(--c-primary-ink); background: var(--c-primary); }
.ckm-ws-switches { display: flex; flex-wrap: wrap; gap: 10px; }
.ckm-ws-seg {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 12px;
}

.ckm-ws-frame {
  margin: 0 auto;
  overflow: hidden;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  transition: max-width .35s ease, border-radius .35s ease;
}
.ckm-ws-frame__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 16px;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border-soft);
}
.ckm-ws-frame__url {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: 5px 14px;
  overflow: hidden;
  color: var(--c-muted);
  background: var(--c-surface-raised);
  border-radius: 99px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ckm-ws-frame__screen {
  height: min(68vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-width: thin;
}
.ckm-ws-frame__screen img { display: block; width: 100%; height: auto; }
.ckm-ws-frame[data-device="mobile"] { max-width: 380px; border-radius: 34px; padding: 10px; background: #0b0f16; border-color: #303846; }
.ckm-ws-frame[data-device="mobile"] .ckm-ws-frame__bar { display: none; }
.ckm-ws-frame[data-device="mobile"] .ckm-ws-frame__screen { height: min(72vh, 680px); border-radius: 26px; }
.ckm-ws-frame__caption {
  padding: 12px 16px;
  color: var(--c-muted);
  background: var(--c-surface-raised);
  border-top: 1px solid var(--c-border-soft);
  font-size: 13px;
  text-align: center;
}
.ckm-ws-frame[data-device="mobile"] .ckm-ws-frame__caption { margin: 10px -10px -10px; color: #a9b3c2; background: #0b0f16; border-top-color: #252e3b; }
.ckm-ws-frame.is-loading .ckm-ws-frame__screen img { opacity: .55; transition: opacity .2s ease; }
.ckm-ws-demo__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---- Features ---- */
.ckm-ws-features { padding-top: 96px; }
.ckm-ws-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ckm-ws-card {
  position: relative;
  margin: 0;
  padding: 30px 28px;
  overflow: hidden;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ckm-ws-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.ckm-ws-card:hover { transform: translateY(-3px); border-color: var(--c-accent-muted); box-shadow: var(--shadow-card-hover); }
.ckm-ws-card:hover::after { transform: scaleX(1); }

/* ---- Quality (Lighthouse scores of the demo) ---- */
.ckm-ws-quality { padding: 0 15px 96px; }
.ckm-ws-quality__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px);
}
.ckm-ws-quality__title {
  margin: 0 0 16px;
  color: #f8fafc;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.ckm-ws-quality__lead { margin: 0; color: #c9d1dc; font-size: 18px; line-height: 1.65; }
.ckm-ws-why { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.ckm-ws-why li { display: flex; align-items: flex-start; gap: 14px; color: #c9d1dc; font-size: 15px; line-height: 1.6; }
.ckm-ws-why strong { display: block; margin-bottom: 2px; color: #f8fafc; font-size: 16px; }
.ckm-ws-why__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ff8a93;
  background: rgba(227, 6, 19, .16);
  border: 1px solid rgba(255, 72, 82, .3);
  border-radius: 12px;
}
.ckm-ws-scores {
  padding: 28px;
  color: var(--c-ink);
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.ckm-ws-scores__row + .ckm-ws-scores__row { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-border-soft); }
.ckm-ws-scores__device {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--c-ink-2);
  font-size: 15px;
  font-weight: 700;
}
.ckm-ws-scores__device svg { color: var(--c-accent); }
.ckm-ws-scores__gauges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ckm-ws-gauge { display: grid; justify-items: center; gap: 8px; margin: 0; text-align: center; }
.ckm-ws-gauge__ring { position: relative; display: inline-flex; width: 76px; height: 76px; }
.ckm-ws-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ckm-ws-gauge__track { fill: var(--ckm-gauge-fill); stroke: var(--ckm-gauge-track); stroke-width: 5; }
.ckm-ws-gauge__bar { fill: none; stroke: var(--ckm-gauge); stroke-width: 5; stroke-linecap: round; }
.ckm-ws-gauge__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ckm-gauge-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 700;
}
.ckm-ws-gauge__label { color: var(--c-body); font-size: 13px; font-weight: 600; line-height: 1.3; }
.ckm-ws-gauge--good { --ckm-gauge: #0cce6b; --ckm-gauge-track: rgba(12, 206, 107, .18); --ckm-gauge-fill: rgba(12, 206, 107, .08); --ckm-gauge-text: #087a3f; }
.ckm-ws-gauge--mid { --ckm-gauge: #ffa400; --ckm-gauge-track: rgba(255, 164, 0, .18); --ckm-gauge-fill: rgba(255, 164, 0, .08); --ckm-gauge-text: #a15c00; }
.ckm-ws-gauge--bad { --ckm-gauge: #ff4e42; --ckm-gauge-track: rgba(255, 78, 66, .18); --ckm-gauge-fill: rgba(255, 78, 66, .08); --ckm-gauge-text: #b3261e; }
html[data-theme="dark"] .ckm-ws-gauge--good { --ckm-gauge-text: #4ee598; }
html[data-theme="dark"] .ckm-ws-gauge--mid { --ckm-gauge-text: #ffc04d; }
html[data-theme="dark"] .ckm-ws-gauge--bad { --ckm-gauge-text: #ff8a80; }
.ckm-ws-scores__agents {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 12px 14px;
  color: var(--c-ink-2);
  background: color-mix(in srgb, #0cce6b 10%, transparent);
  border: 1px solid color-mix(in srgb, #0cce6b 35%, transparent);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.ckm-ws-scores__agents svg { flex: none; padding: 3px; width: 22px; height: 22px; color: #fff; background: #0a8f4c; border-radius: 50%; stroke-width: 3; }
.ckm-ws-scores__note { margin: 14px 0 0; color: var(--c-muted); font-size: 12.5px; line-height: 1.5; }

/* ---- Split sections (edit yourself, price calculator) ---- */
.ckm-ws-edit,
.ckm-ws-calc { padding: 88px 15px; }
.ckm-ws-edit { background: var(--c-surface); }
.ckm-ws-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

/* Editor illustration (decorative). */
.ckm-ws-editor {
  overflow: hidden;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
}
.ckm-ws-editor__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 0 16px;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border-soft);
}
.ckm-ws-editor__tools { display: inline-flex; gap: 8px; flex: 1; }
.ckm-ws-editor__tools i { width: 22px; height: 22px; background: var(--c-border); border-radius: 6px; }
.ckm-ws-editor__save {
  padding: 6px 14px;
  color: #fff;
  background: var(--c-primary);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}
.ckm-ws-editor__canvas { display: grid; gap: 14px; padding: 34px 36px 38px; }
.ckm-ws-editor__kicker { color: var(--c-accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ckm-ws-editor__heading {
  position: relative;
  justify-self: start;
  padding: 6px 10px;
  margin: 0 -10px;
  color: var(--c-ink-2);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.ckm-ws-editor__heading.is-selected { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
.ckm-ws-editor__caret {
  display: inline-block;
  width: 2px;
  height: .9em;
  margin-left: 3px;
  vertical-align: -.08em;
  background: var(--c-ink-2);
  animation: ckm-ws-blink 1.1s steps(1) infinite;
}
@keyframes ckm-ws-blink { 50% { opacity: 0; } }
.ckm-ws-editor__tag {
  position: absolute;
  top: -26px;
  left: -2px;
  padding: 2px 8px;
  color: #fff;
  background: var(--c-primary);
  border-radius: 5px 5px 5px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.ckm-ws-editor__line { height: 10px; background: var(--c-surface-2); border-radius: 5px; }
.ckm-ws-editor__line--short { width: 64%; }
.ckm-ws-editor__media {
  display: grid;
  place-items: center;
  gap: 8px;
  height: 150px;
  color: var(--c-muted);
  border: 2px dashed var(--c-border-strong);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--c-surface-soft);
  align-content: center;
}
.ckm-ws-editor__buttons { display: flex; gap: 10px; }
.ckm-ws-editor__buttons i { width: 130px; height: 38px; background: var(--c-primary); border-radius: 8px; }
.ckm-ws-editor__buttons i + i { width: 110px; background: transparent; border: 2px solid var(--c-border-strong); }

/* ---- Comparison ---- */
.ckm-ws-compare { padding-top: 96px; }
.ckm-ws-table-wrap {
  /* Containing block for the visually hidden "Yes"/"No" texts (position:
     absolute): without it they escaped this scroller and widened the page. */
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 16px;
}
.ckm-ws-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 16px;
  font-size: 15px;
}
.ckm-ws-table :is(th, td) {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border-soft);
  color: var(--c-body);
  text-align: center;
  vertical-align: middle;
}
.ckm-ws-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.ckm-ws-table thead th { color: var(--c-ink-2); font-size: 16px; font-weight: 700; }
.ckm-ws-table tbody th { color: var(--c-ink-2); font-weight: 600; text-align: left; }
.ckm-ws-table td small { display: block; margin-top: 2px; color: var(--c-muted); font-size: 13px; }
.ckm-ws-table .is-ours {
  color: var(--c-ink-2);
  background: color-mix(in srgb, var(--c-primary) 7%, transparent);
  font-weight: 700;
}
.ckm-ws-table thead .is-ours { color: var(--c-primary-ink); background: var(--c-primary); border-radius: 0 15px 0 0; }
.ckm-ws-yes,
.ckm-ws-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.ckm-ws-yes { color: #fff; background: var(--c-success); }
.ckm-ws-yes svg { stroke-width: 3; }
.ckm-ws-no { color: var(--c-muted); background: var(--c-surface-2); }

/* ---- Price calculator add-on ---- */
.ckm-ws-calc { background: var(--c-surface); }
.ckm-ws-calc__media { position: relative; padding: 0 0 18% 0; }
.ckm-ws-shot {
  overflow: hidden;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
}
.ckm-ws-shot img { display: block; width: 100%; height: auto; }
.ckm-ws-shot--back { width: 86%; opacity: .9; }
.ckm-ws-shot--front { position: absolute; right: 0; bottom: 0; width: 86%; }
.ckm-ws-themed .is-dark { display: none; }
html[data-theme="dark"] .ckm-ws-themed .is-light { display: none; }
html[data-theme="dark"] .ckm-ws-themed .is-dark { display: block; }
.ckm-ws-themed picture { display: contents; }
.ckm-ws-addon-prices { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ckm-ws-addon-price {
  display: grid;
  gap: 4px;
  flex: 1 1 200px;
  margin: 0;
  padding: 18px 20px;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 14px;
}
.ckm-ws-addon-price__amount { color: var(--c-ink-2); font-size: 28px; font-weight: 800; line-height: 1.1; }
.ckm-ws-addon-price__amount small { color: var(--c-muted); font-size: 15px; font-weight: 600; }
.ckm-ws-addon-price__label { color: var(--c-muted); font-size: 14px; }

/* ---- Packages ---- */
.ckm-ws-pricing { padding: 96px 15px; scroll-margin-top: 20px; }
.ckm-ws-pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1180px;
  margin: 0 auto;
}
.ckm-ws-config {
  padding: 32px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: 18px;
}
.ckm-ws-config__controls { display: grid; gap: 16px; margin-bottom: 6px; }
.ckm-ws-billing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 6px;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border);
  border-radius: 14px;
}
.ckm-ws-billing { position: relative; }
.ckm-ws-billing legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ckm-ws-billing__opt { position: relative; display: block; margin: 0; cursor: pointer; }
.ckm-ws-billing__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ckm-ws-billing__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--c-body);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease;
}
.ckm-ws-billing__opt input:checked + span { color: var(--c-primary-ink); background: var(--c-primary); }
.ckm-ws-billing__opt input:focus-visible + span { outline: 3px solid var(--c-focus-ring); outline-offset: 2px; }
.ckm-ws-badge {
  position: absolute;
  top: -12px;
  right: 8px;
  padding: 3px 9px;
  color: #fff;
  background: var(--c-success);
  border-radius: 99px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
}
html[data-theme="dark"] .ckm-ws-badge { color: #0b0f16; }
.ckm-ws-addon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .18s ease;
}
.ckm-ws-addon:hover { border-color: var(--c-border-strong); }
.ckm-ws-addon input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ckm-ws-addon__switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  background: var(--c-border-strong);
  border-radius: 99px;
  transition: background-color .2s ease;
}
.ckm-ws-addon__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .2s ease;
}
.ckm-ws-addon input:checked ~ .ckm-ws-addon__switch { background: var(--c-primary); }
.ckm-ws-addon input:checked ~ .ckm-ws-addon__switch::after { transform: translateX(20px); }
.ckm-ws-addon input:focus-visible ~ .ckm-ws-addon__switch { outline: 3px solid var(--c-focus-ring); outline-offset: 2px; }
.ckm-ws-addon:has(input:checked) { border-color: var(--c-primary); }
.ckm-ws-addon__text { display: grid; gap: 2px; }
.ckm-ws-addon__text strong { color: var(--c-ink-2); font-size: 16px; }
.ckm-ws-addon__text small { color: var(--c-muted); font-size: 14px; }
.ckm-ws-total { padding: 6px 2px 0; }
.ckm-ws-total p { margin: 0; }
.ckm-ws-total__price { color: var(--c-ink-2); font-size: 46px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.ckm-ws-total__per { color: var(--c-muted); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.ckm-ws-total__note { margin-top: 4px !important; color: var(--c-accent); font-size: 15px; font-weight: 700; }
.ckm-ws-total__today { margin-top: 8px !important; color: var(--c-muted); font-size: 14px; }
.ckm-ws-config__controls + .ckm-ws-config__included .ckm-ws-h3 { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--c-border); }
.ckm-ws-config__included > .ckm-ws-h3:first-child { margin-top: 0; }
.ckm-ws-config .ckm-ws-checklist { margin-top: 0; font-size: 15px; }
.ckm-ws-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ckm-ws-promises li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--c-ink-2);
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
}
.ckm-ws-promises svg { color: var(--c-accent); }

/* Plan cards: all four without JavaScript, the chosen one with it. */
.ckm-ws-plans { display: grid; gap: 20px; }
.ckm-ws-plans .ckms-plan { max-width: none; margin: 0; }
.ckm-ws-plans.is-enhanced .ckm-ws-plan:not(.is-active) { display: none; }
.ckm-ws-plans.is-enhanced .ckms-plan { border: 2px solid var(--c-primary); box-shadow: var(--shadow-pop); }
.ckm-ws-plan .ckms-plan__title { font-size: 1.25rem; }

.ckm-ws-solo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1180px;
  margin: 56px auto 0;
  padding: 32px;
  background: var(--c-surface);
  border: 1px dashed var(--c-border-strong);
  border-radius: 18px;
}
.ckm-ws-solo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--c-accent);
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
  border-radius: 14px;
}
.ckm-ws-solo .ckm-ws-h3 { margin-top: 16px; font-size: 22px; }
.ckm-ws-solo__copy p { margin: 0; color: var(--c-body); font-size: 16px; line-height: 1.6; }
.ckm-ws-solo .ckms-plan { max-width: none; margin: 0; }

/* ---- Not the right fit? → personal offer (dialog with the multi-step form of Carkeymaster Core) ---- */
.ckm-ws-custom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 32px;
  color: var(--c-on-dark);
  background: var(--c-panel-strong);
  border-radius: 18px;
}
.ckm-ws-custom__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: var(--c-primary);
  border-radius: 14px;
}
.ckm-ws-custom .ckm-ws-h3 { margin: 16px 0 8px; color: var(--c-on-dark); font-size: 22px; }
.ckm-ws-custom__copy p { max-width: 680px; margin: 0; color: color-mix(in srgb, var(--c-on-dark) 82%, transparent); font-size: 16px; line-height: 1.6; }
.ckm-ws-custom__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.ckm-ws-custom__tags li {
  padding: 5px 12px;
  color: var(--c-on-dark);
  border: 1px solid color-mix(in srgb, var(--c-on-dark) 28%, transparent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.ckm-ws-custom__action { display: grid; justify-items: center; gap: 10px; text-align: center; }
.ckm-ws-custom__note { margin: 0; color: color-mix(in srgb, var(--c-on-dark) 78%, transparent); font-size: 13px; }

.ckm-ws-dialog {
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  color: var(--c-ink-2);
  background: var(--c-surface-raised);
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
  overscroll-behavior: contain;
}
.ckm-ws-dialog::backdrop { background: rgba(15, 23, 42, .6); }
/* Without JavaScript the button links to #ckm-offer: shown in the page. */
.ckm-ws-dialog:target:not([open]) { display: block; }
.ckm-ws-dialog:not(:modal)[open],
.ckm-ws-dialog:target:not([open]) {
  position: static;
  width: 100%;
  max-width: 1180px;
  max-height: none;
  margin: 24px auto 0;
  border: 1px solid var(--c-border-soft);
}
.ckm-ws-dialog__inner { position: relative; padding: clamp(20px, 4vw, 32px); }
.ckm-ws-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.ckm-ws-dialog__close:hover { color: var(--c-ink-2); background: var(--c-surface-2); }
.ckm-ws-dialog__close:focus-visible { outline: 3px solid var(--c-focus-ring); outline-offset: 2px; }
.ckm-ws-dialog:not(:modal) .ckm-ws-dialog__close { display: none; }
.ckm-ws-dialog__title { margin: 0 0 6px; padding-right: 48px; color: var(--c-ink); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.25; }
.ckm-ws-dialog__intro { margin: 0 0 20px; color: var(--c-muted); font-size: 15px; line-height: 1.5; }
.ckm-ws-dialog .ckm-form-done { padding: 8px 0 0; }
.ckm-ws-admin-hint { max-width: 760px; margin: 0 auto; padding: 16px; color: var(--c-warning); background: var(--c-warning-surface); border: 1px solid var(--c-warning-border); border-radius: 10px; }

/* ---- Steps ---- */
.ckm-ws-steps { padding-top: 0; }
.ckm-ws-steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.ckm-ws-step {
  position: relative;
  margin: 0;
  padding: 28px 24px;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.ckm-ws-step__num {
  position: absolute;
  top: 14px;
  right: 20px;
  color: var(--c-surface-2);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}
.ckm-ws-step__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--c-primary);
  border-radius: 50%;
}
.ckm-ws-step__title { position: relative; margin: 0 0 8px; color: var(--c-ink-2); font-size: 18px; font-weight: 700; }
.ckm-ws-step__text { position: relative; margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.6; }

/* ---- FAQ ---- */
.ckm-ws-faq { padding-top: 0; }
.ckm-ws-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.ckm-ws-faq .ckm-ws-head { position: sticky; top: 24px; margin: 0; }
.ckm-ws-faq .ckm-ws-lead { margin-bottom: 22px; }
.ckm-ws-faq__list { border-top: 1px solid var(--c-border); }
.ckm-ws-faq__item { border-bottom: 1px solid var(--c-border); }
.ckm-ws-faq__item summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--c-ink-2);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.ckm-ws-faq__item summary::-webkit-details-marker { display: none; }
.ckm-ws-faq__item summary::before,
.ckm-ws-faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform .2s ease;
}
.ckm-ws-faq__item summary::after { transform: rotate(90deg); }
.ckm-ws-faq__item[open] summary::after { transform: rotate(0deg); }
.ckm-ws-faq__item summary:hover { color: var(--c-accent); }
.ckm-ws-faq__item p { margin: 0 0 22px; color: var(--c-body); font-size: 16px; line-height: 1.7; }
.ckm-ws-faq__item a { color: var(--c-accent); }

/* ---- Final call to action ---- */
.ckm-ws-final { padding: 0 15px 96px; }
.ckm-ws-final__panel {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 72px);
  text-align: center;
}
.ckm-ws-final__title { margin: 0 0 14px; color: #f8fafc; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ckm-ws-final__text { max-width: 640px; margin: 0 auto 28px; color: #c9d1dc; font-size: 18px; line-height: 1.6; }
.ckm-ws-final__actions { justify-content: center; margin: 0; }

/* ---- Header button (all pages) lives in header.css. ---- */

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .ckm-ws-included__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ckm-ws-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .ckm-ws-hero__panel,
  .ckm-ws-quality__panel,
  .ckm-ws-split,
  .ckm-ws-pricing__grid,
  .ckm-ws-solo,
  .ckm-ws-custom,
  .ckm-ws-faq__inner { grid-template-columns: minmax(0, 1fr); }
  .ckm-ws-devices { max-width: 620px; width: 100%; margin: 12px auto 0; }
  .ckm-ws-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ckm-ws-faq .ckm-ws-head { position: static; }
  /* Phones/tablets: choose → card → what is included. */
  .ckm-ws-pricing__grid { max-width: 640px; gap: 20px; }
  .ckm-ws-config { display: contents; }
  .ckm-ws-config__controls { order: 1; margin: 0; padding: 22px; background: var(--c-surface); border: 1px solid var(--c-border-soft); border-radius: 18px; }
  .ckm-ws-plans { order: 2; }
  .ckm-ws-config__included { order: 3; padding: 22px; background: var(--c-surface); border: 1px solid var(--c-border-soft); border-radius: 18px; }
  .ckm-ws-config__controls + .ckm-ws-config__included .ckm-ws-h3 { margin-top: 0; padding-top: 0; border-top: 0; }
  .ckm-ws-solo,
  .ckm-ws-custom { max-width: 640px; }
  .ckm-ws-custom__action { justify-items: stretch; }
  .ckm-ws-split--media-first .ckm-ws-calc__media { order: 2; }
}
@media (max-width: 767px) {
  .ckm-ws-head { margin-bottom: 28px; }
  .ckm-ws-lead,
  .ckm-ws-hero__lead { font-size: 16px; }
  .ckm-ws-hero { padding: 12px 10px 0; }
  .ckm-ws-hero__actions > a { flex: 1 1 100%; }
  .ckm-ws-included,
  .ckm-ws-features,
  .ckm-ws-compare { padding-top: 64px; }
  .ckm-ws-demo,
  .ckm-ws-edit,
  .ckm-ws-calc,
  .ckm-ws-pricing { padding-block: 64px; }
  .ckm-ws-included__grid,
  .ckm-ws-features__grid,
  .ckm-ws-steps__list,
  .ckm-ws-checklist--two { grid-template-columns: minmax(0, 1fr); }
  .ckm-ws-tile { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .ckm-ws-tile__icon { grid-row: span 2; width: 46px; height: 46px; margin: 0; }
  .ckm-ws-viewer__controls { justify-content: center; }
  .ckm-ws-tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .ckm-ws-tab { flex: none; }
  .ckm-ws-seg__btn span { font-size: 13px; }
  .ckm-ws-frame__screen { height: 62vh; }
  .ckm-ws-config,
  .ckm-ws-solo,
  .ckm-ws-custom { padding: 22px 18px; }
  .ckm-ws-total__price { font-size: 38px; }
  .ckm-ws-chip--a { top: auto; bottom: 8px; left: 0; }
  .ckm-ws-chip--b { display: none; }
  .ckm-ws-editor__canvas { padding: 26px 22px 28px; }
  .ckm-ws-final { padding-bottom: 64px; }
  .ckm-ws-quality { padding: 0 10px 64px; }
  .ckm-ws-quality__lead { font-size: 16px; }
  .ckm-ws-scores { padding: 20px 14px; }
  .ckm-ws-scores__gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .ckm-ws-gauge__ring { width: 64px; height: 64px; }
  .ckm-ws-gauge__value { font-size: 19px; }
  .ckm-ws-gauge__label { font-size: 12px; }
  /* Comparison: no sideways scrolling on phones. Each row's name runs across
     the full width, its three columns sit underneath ("Our package" stays in
     view). The roles in the markup keep the table semantics. */
  .ckm-ws-table,
  .ckm-ws-table :is(thead, tbody) { display: block; }
  .ckm-ws-table { min-width: 0; font-size: 14px; }
  .ckm-ws-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ckm-ws-table thead td { display: none; }
  .ckm-ws-table :is(th, td) {
    padding: 10px 6px;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
  }
  .ckm-ws-table td { align-content: center; }
  .ckm-ws-table thead th { font-size: 14px; line-height: 1.3; }
  .ckm-ws-table tbody th {
    grid-column: 1 / -1;
    padding: 14px 14px 2px;
    border-bottom: 0;
    text-align: center;
  }
  .ckm-ws-table td small { font-size: 12px; }
  .ckm-ws-yes,
  .ckm-ws-no { width: 26px; height: 26px; }
}
@media (hover: none) {
  .ckm-ws-tile:hover,
  .ckm-ws-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ckm-ws-autoscroll img,
  .ckm-ws-editor__caret { animation: none; }
  .ckm-ws-tile,
  .ckm-ws-card,
  .ckm-ws-card::after,
  .ckm-ws-frame { transition: none; }
}

