/* Katheeb website — page sections (v1.0)
 * Needs brand/tokens/katheeb.css, brand/assets/css/components.css and motifs.css.
 * Store mocks and live demos live in demos.css. Breakpoints match components.css.
 */

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--surface-page); color: var(--text-body); font: var(--fw-regular) var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--text-strong); }
p { margin: 0; }
a { color: inherit; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
.sar { display: inline-block; width: .82em; height: .92em; vertical-align: -.08em; fill: currentColor; }

/* ------------------------------------------------------------ type */
.kt-display { font-family: var(--font-display); font-weight: var(--fw-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); color: var(--text-strong); text-wrap: balance; }
.kt-h1 { font-size: var(--fs-display-xl); }
.kt-h2 { font-size: var(--fs-display-m); }
.kt-h3 { font-size: var(--fs-display-s); }
.kt-lead { font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--text-muted); text-wrap: pretty; }
.kt-eyebrow { display: inline-block; font: var(--fw-medium) var(--fs-small)/1.4 var(--font-body); letter-spacing: var(--ls-eyebrow); color: var(--text-accent); }
.kt-mark { background: linear-gradient(transparent 58%, var(--kt-gold-200) 58%); padding-inline: .08em; }
.kt-night .kt-mark { background: linear-gradient(transparent 62%, rgba(255, 106, 43, .32) 62%); }

/* Section heading: eyebrow, title, lead */
.kt-head { display: grid; gap: var(--sp-4); max-width: 760px; margin-block-end: var(--sp-12); }
.kt-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ------------------------------------------------------------ header over the hero */
.kt-header .kt-logo-link:focus-visible { border-radius: var(--r-xs); }
.kt-header + main > .kt-hero:first-child { margin-top: -72px; padding-top: calc(72px + var(--sp-16)); }
@media (max-width: 899px) { .kt-header + main > .kt-hero:first-child { margin-top: -60px; padding-top: calc(60px + var(--sp-10)); } }

/* ------------------------------------------------------------ hero */
.kt-hero { position: relative; overflow: hidden; background: var(--kt-sky); padding-bottom: var(--sp-16); }
.kt-hero > .kt-container { position: relative; z-index: 2; }
.kt-hero > kt-dunes, .kt-hero > kt-dunes-solid { z-index: 1; }

/* Home: centred copy over the animated dune */
.kt-hero.is-home { --dunes-h: clamp(260px, 44svh, 520px); text-align: center; padding-bottom: calc(var(--dunes-h) - 40px); }
.kt-hero.is-home > kt-dunes { --dunes-height: var(--dunes-h); }
.kt-hero.is-home .kt-hero-copy { justify-items: center; max-width: 900px; margin-inline: auto; }
.kt-hero.is-home .kt-lead { max-width: 640px; }

.kt-hero-copy { display: grid; gap: var(--sp-6); justify-items: start; }
.kt-hero-copy .kt-h1 { max-width: 15ch; }
.kt-hero.is-home .kt-h1 { max-width: 18ch; }
.kt-hero.is-home .kt-accent-word { color: var(--kt-ember-500); }
.kt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.kt-hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-small); color: var(--text-muted); }
.kt-hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.kt-hero-note .ic { width: 16px; height: 16px; color: var(--kt-success); }

/* Product hero: copy beside a phone with the product glow */
.kt-hero.is-product { padding-bottom: var(--sp-20); }
.kt-hero-grid { display: grid; gap: var(--sp-12); align-items: center; }
@media (min-width: 900px) { .kt-hero-grid { grid-template-columns: 6fr 5fr; gap: var(--sp-8); } }
.kt-hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.kt-hero-visual::before { content: ""; position: absolute; inset: -12% -20%; background: var(--product-glow); filter: blur(10px); }
.kt-hero-phone { position: relative; width: min(300px, 74vw); aspect-ratio: 9 / 19; border-radius: 44px; overflow: hidden; background: var(--kt-night-950); border: 10px solid var(--kt-night-800); box-shadow: var(--shadow-lift); }
.kt-hero-phone video, .kt-hero-phone img { width: 100%; height: 100%; object-fit: cover; }
.kt-hero-chip { position: absolute; inset-inline: 14px; inset-block-end: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: rgba(250, 245, 238, .94); color: var(--kt-ink-900); font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 2px var(--product); }
.kt-hero-chip img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.kt-hero-bubble { position: absolute; inset-block-start: 6%; inset-inline-start: 0; z-index: 2; display: grid; place-items: center; width: 132px; aspect-ratio: 1; padding: 16px; border-radius: 28px 28px 28px 6px; background: var(--kt-night-900); color: var(--kt-paper-100); font: var(--fw-display) 21px/1.3 var(--font-display); text-align: center; box-shadow: var(--shadow-lift); transform: rotate(-4deg); }
[dir="rtl"] .kt-hero-bubble { border-radius: 28px 28px 6px 28px; }
.kt-hero-bubble b { color: var(--kt-ember-400); }
@media (max-width: 899px) {
  .kt-hero-visual { min-height: 0; }
  .kt-hero-phone { width: min(230px, 60vw); border-radius: 36px; border-width: 8px; }
  .kt-hero-bubble { width: 104px; padding: 12px; font-size: 17px; inset-inline-start: 4%; }
  .kt-hero-chip { inset-inline: 10px; inset-block-end: 12px; padding: 8px 10px; font-size: 13px; }
}

/* Product badge: icon + product name (product scopes only) */
.kt-pbadge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--product-badge-bg); color: var(--product-badge-fg); font: var(--fw-medium) 14px/1 var(--font-body); }
.kt-pbadge:has(.n) { padding: 5px 16px 5px 5px; }
[dir="rtl"] .kt-pbadge:has(.n) { padding: 5px 5px 5px 16px; }
.kt-pbadge img { width: 30px; height: 30px; border-radius: 8px; }
.kt-pbadge .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--product-badge-fg); color: var(--product-badge-bg); font-size: 13px; font-weight: 600; }

/* ------------------------------------------------------------ platforms (Salla and Zid) */
.kt-platforms {
  display: grid; gap: var(--sp-6); align-items: center; justify-items: start;
  padding: var(--sp-8); border-radius: var(--r-xl); background: var(--surface-raised); border: 1px solid var(--line);
}
.kt-platforms .kt-lead { margin: 0; max-width: 46ch; }
@media (min-width: 800px) {
  .kt-platforms { grid-template-columns: 1fr auto; column-gap: var(--sp-10); }
}

/* ------------------------------------------------------------ logo strip */
.kt-logos { padding-block: var(--sp-10); border-block: 1px solid var(--line); }
.kt-logos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-8); align-items: center; }
@media (min-width: 600px) { .kt-logos ul { grid-template-columns: repeat(4, 1fr); } }
.kt-logos li img { width: 100%; max-width: 168px; height: auto; margin-inline: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .62; transition: filter var(--dur-quick), opacity var(--dur-quick); }
.kt-logos li:hover img { filter: none; opacity: 1; }

/* ------------------------------------------------------------ merchant stories (photo surface) */
.kt-stories {
  position: relative; overflow: hidden;
  background: var(--kt-night-900); color: var(--kt-paper-300);
}
.kt-stories .kt-head .kt-display { color: var(--kt-paper-100); }
.kt-stories .kt-lead { color: var(--kt-paper-300); }
.kt-story-grid { display: grid; gap: var(--grid-gap); }
@media (min-width: 800px) { .kt-story-grid { grid-template-columns: repeat(3, 1fr); } }
.kt-story {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 420px; display: grid; align-content: end;
  box-shadow: var(--shadow-lift);
}
.kt-story > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06);
}
.kt-story .body {
  position: relative; z-index: 1; display: grid; gap: var(--sp-4);
  padding: var(--sp-8); background: linear-gradient(180deg, transparent, rgba(20, 14, 10, .88) 42%);
  color: var(--kt-paper-100);
}
.kt-story .body p { margin: 0; font: var(--fw-display) var(--fs-display-s)/1.35 var(--font-display); }
.kt-story cite { display: grid; gap: 2px; font-style: normal; font-size: 14px; color: var(--kt-paper-300); }
.kt-story cite b { color: var(--kt-paper-100); font-weight: var(--fw-semibold); }
.kt-story cite span { color: var(--kt-ember-400); }

/* ------------------------------------------------------------ cards (shared base) */
.kt-card { position: relative; display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-8); border-radius: var(--r-xl); background: var(--surface-raised); border: 1px solid var(--line); }
.kt-card h3 { font: var(--fw-semibold) var(--fs-title)/var(--lh-title) var(--font-body); }
.kt-card p { color: var(--text-muted); }
.kt-card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--tint-accent); color: var(--text-accent); }
.kt-card .ico .ic { width: 22px; height: 22px; }
.kt-cards { display: grid; gap: var(--grid-gap); }
@media (min-width: 600px) { .kt-cards.c2, .kt-cards.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 600px) { .kt-cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .kt-cards.c3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .kt-cards.c4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------ app cards (home) */
.kt-app { overflow: hidden; gap: var(--sp-5); }
.kt-app::before { content: ""; position: absolute; inset: auto -30% -55% -30%; height: 90%; background: var(--product-glow); opacity: .7; pointer-events: none; }
.kt-app > * { position: relative; }
.kt-app-top { display: flex; align-items: center; gap: var(--sp-4); }
.kt-app-top img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 18px -8px rgba(26, 18, 12, .4); }
.kt-app-top b { display: block; font: var(--fw-display) var(--fs-display-s)/1.2 var(--font-display); color: var(--text-strong); }
.kt-app-top small { font-size: var(--fs-small); color: var(--text-faint); }
.kt-app ul, .kt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kt-app li, .kt-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--text-body); }
.kt-app li .ic, .kt-checks li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--kt-success); }
.kt-app .row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-2); }
.kt-app.is-soon { border-style: dashed; background: transparent; align-content: center; justify-items: start; }
.kt-app.is-soon::before { display: none; }
.kt-app.is-soon .ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; border: 1.5px dashed var(--line-strong); color: var(--text-faint); }
.kt-app.is-soon h3 { font: var(--fw-display) var(--fs-display-s)/1.2 var(--font-display); }
.kt-app.is-soon p { color: var(--text-muted); }

/* ------------------------------------------------------------ steps */
.kt-steps { counter-reset: step; display: grid; gap: var(--grid-gap); list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .kt-steps { grid-template-columns: repeat(3, 1fr); } }
.kt-steps li { counter-increment: step; display: grid; gap: var(--sp-3); padding: var(--sp-8); border-radius: var(--r-xl); background: var(--surface-raised); border: 1px solid var(--line); }
.kt-steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--action-alt-bg); color: var(--action-alt-fg); font: var(--fw-display) 20px/1 var(--font-display); }
.kt-steps h3 { font: var(--fw-semibold) var(--fs-title)/var(--lh-title) var(--font-body); }
.kt-steps p { color: var(--text-muted); }

/* ------------------------------------------------------------ feature (copy + live demo) */
.kt-feature { display: grid; gap: var(--sp-10); align-items: center; }
.kt-feature-copy { display: grid; gap: var(--sp-5); justify-items: start; align-content: center; }
.kt-feature-copy .kt-display { max-width: 18ch; }
.kt-feature-copy .kt-lead { max-width: 52ch; margin: 0; }
@media (min-width: 1024px) {
  .kt-feature { grid-template-columns: 5fr 7fr; gap: var(--grid-gap); column-gap: calc(var(--grid-gap) * 2); }
  .kt-feature.is-flip { grid-template-columns: 7fr 5fr; }
  .kt-feature.is-flip .kt-feature-copy { order: 2; }
  .kt-feature.is-stacked { grid-template-columns: 1fr; }
}
.kt-feature.is-stacked .kt-feature-copy { justify-items: center; text-align: center; margin-inline: auto; max-width: 820px; }
.kt-feature.is-stacked .kt-points { justify-items: center; }
.kt-section.is-tint { background: var(--surface-raised); }
.kt-feature-sub { justify-items: start; margin-top: var(--sp-2); padding: var(--sp-6); width: 100%; max-width: 52ch; }
.kt-feature-sub h3 { margin: 0; }
.kt-feature-sub p { margin: 0; }
.kt-cta .btn-primary img { border-radius: 6px; }

/* Shared support list + foot note — same on every feature section */
.kt-points {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--sp-2); width: 100%; max-width: 52ch;
}
.kt-points li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--surface-sunken); color: var(--text-strong);
  font-size: 14px; font-weight: var(--fw-medium); line-height: 1.45;
}
.kt-points .ic { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--text-accent); }
.kt-night .kt-points li { background: rgba(255, 255, 255, .06); }
.kt-foot {
  margin: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--product-tint, var(--tint-accent));
  color: var(--product-ink, var(--text-accent));
  font-size: 14px; font-weight: var(--fw-medium);
}
.kt-night .kt-foot { background: rgba(255, 255, 255, .08); color: var(--text-strong); }
.kt-foot .ic { width: 14px; height: 14px; }

/* ------------------------------------------------------------ video wall (old videos) */
.kt-wall { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: var(--sp-4); transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); }
[dir="rtl"] .kt-wall { transform: perspective(1200px) rotateY(10deg) rotateX(4deg); }
.kt-wall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-xs); box-shadow: 0 10px 24px -14px rgba(26, 18, 12, .5); }
.kt-wall img:nth-child(3n) { opacity: .55; }
.kt-wall img:nth-child(4n+2) { transform: translateY(18px); }
@media (max-width: 599px) {
  .kt-wall { grid-template-columns: repeat(3, 1fr); padding-inline: 0; }
  .kt-wall img:nth-of-type(n+7):not(.kt-wall-icon) { display: none; }
}
.kt-wall .kt-wall-icon { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow-lift); }

/* ------------------------------------------------------------ automation cards */
.kt-autos { display: grid; gap: var(--sp-4); }
.kt-auto { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; padding: var(--sp-6); border-radius: var(--r-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.kt-auto .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--kt-gold-200); color: var(--kt-ink-900); }
.kt-auto h3 { font: var(--fw-semibold) var(--fs-title)/var(--lh-title) var(--font-body); margin-bottom: 4px; }
.kt-auto h3 strong { font: var(--fw-display) 1.5em/1 var(--font-display); }
.kt-auto p { color: var(--text-muted); }
.kt-nots { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.kt-nots span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--action-alt-bg); color: var(--action-alt-fg); font-size: 14px; }
.kt-nots .ic { width: 16px; height: 16px; color: var(--kt-ember-400); }
.kt-autos + .kt-nots { justify-content: center; margin-top: var(--sp-8); }
@media (min-width: 900px) {
  .kt-autos { grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
  .kt-auto { grid-template-columns: 1fr; align-content: start; padding: var(--sp-8); }
}

/* ------------------------------------------------------------ analytics */
.kt-stats { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { .kt-stats { grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); } }
.kt-stats + .kt-stat-row { margin-top: var(--grid-gap); }
.kt-stat-card { display: grid; gap: var(--sp-4); padding: var(--sp-6); border-radius: var(--r-lg); background: var(--surface-raised); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.kt-stat-card header { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.kt-stat-card header .ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-xs); background: var(--product-tint, var(--tint-accent)); color: var(--product-ink, var(--text-accent)); }
.kt-stat-card header .ic { width: 16px; height: 16px; }
.kt-stat-big { display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap; }
.kt-stat-big b { font: var(--fw-display) clamp(1.75rem, 1.2rem + 2vw, 2.5rem)/1 var(--font-display); color: var(--text-strong); direction: ltr; }
.kt-stat-big small { font-size: 13px; color: var(--text-muted); }
.kt-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: var(--sp-3); }
.kt-stat-row div { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.kt-stat-row b { font-size: 18px; color: var(--text-strong); unicode-bidi: plaintext; justify-self: start; }
.kt-stat-row span { font-size: 12px; color: var(--text-muted); }
.kt-note { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-sm); background: var(--kt-success-bg); color: var(--kt-ink-900); font-size: 15px; font-weight: var(--fw-medium); }
.kt-note .ic { color: var(--kt-success); }

/* ------------------------------------------------------------ pricing */
.kt-plans-sec {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, var(--tint-accent), transparent 70%),
    var(--surface-raised);
}
.kt-plans-top { display: grid; justify-items: center; gap: var(--sp-6); margin-bottom: var(--sp-12); text-align: center; }
.kt-plans-top .kt-badge { height: 22px; }
.kt-plans-top .kt-head { margin: 0; }
.kt-plans-top .kt-tabs { margin-top: var(--sp-2); }
.kt-plans-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-5);
  font-size: 14px; font-weight: var(--fw-medium); color: var(--text-muted);
}
.kt-plans-trust li { display: inline-flex; align-items: center; gap: 8px; }
.kt-plans-trust .ic { width: 16px; height: 16px; color: var(--kt-success); }

.kt-plans { display: grid; gap: var(--grid-gap); align-items: stretch; padding-block: var(--sp-2); }
@media (min-width: 900px) {
  .kt-plans { grid-template-columns: repeat(3, 1fr); align-items: start; gap: var(--sp-5); }
}

.kt-plan {
  position: relative;
  display: grid; grid-template-rows: auto auto 1fr auto;
  gap: var(--sp-6); padding: var(--sp-8);
  border-radius: var(--r-xl);
  background: var(--surface-page);
  border: 1px solid var(--line);
  transition: transform var(--dur-quick) var(--ease-settle), border-color var(--dur-quick), box-shadow var(--dur-quick);
}
.kt-plan:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.kt-plan.is-featured {
  border-color: var(--kt-ember-400);
  background: linear-gradient(180deg, #FFF8F3 0%, var(--surface-page) 42%);
  box-shadow: var(--shadow-glow), var(--shadow-lift);
  z-index: 1;
}
@media (min-width: 900px) {
  .kt-plan.is-featured { padding-block: calc(var(--sp-8) + 8px); transform: translateY(-16px); }
  .kt-plan.is-featured:hover { transform: translateY(-20px); }
}
.kt-plan.is-featured::before {
  content: ""; position: absolute; inset-inline: 20%; top: 0; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--kt-ember-300), var(--kt-ember-600), var(--kt-ember-300));
}
.kt-plan-ribbon {
  position: absolute; top: 18px; inset-inline-end: 18px;
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--action-bg); color: var(--action-fg);
  font: var(--fw-semibold) 12px/1 var(--font-body);
  box-shadow: 0 6px 16px -8px rgba(232, 82, 26, .55);
}

.kt-plan header { display: grid; gap: 6px; padding-inline-end: 7rem; min-height: 3.2em; }
.kt-plan:not(.is-featured) header { padding-inline-end: 0; }
.kt-plan h3 { margin: 0; font: var(--fw-display) var(--fs-display-s)/1.15 var(--font-display); color: var(--text-strong); }
.kt-plan header p { margin: 0; font-size: 14px; color: var(--text-muted); }

.kt-price-block {
  display: grid; gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface-sunken);
  border: 1px solid transparent;
}
.kt-plan.is-featured .kt-price-block {
  background: rgba(255, 106, 43, .08);
  border-color: rgba(255, 106, 43, .18);
}
.kt-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: var(--text-strong); }
.kt-price b { font: var(--fw-display) clamp(2.6rem, 2.1rem + 2vw, 3.4rem)/1 var(--font-display); letter-spacing: -.02em; }
.kt-price .sar { width: 1.35rem; height: 1.55rem; }
.kt-price span { font-size: 15px; color: var(--text-muted); }
.kt-price-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 1.4em; }
.kt-price-save {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); background: var(--kt-success-bg, rgba(47, 143, 91, .12));
  color: var(--kt-success); font-size: 12px; font-weight: var(--fw-semibold);
}
.kt-price-save .sar { width: .72em; height: .8em; }
.kt-price-equiv { font-size: 13px; color: var(--text-muted); }
.kt-price-equiv b { color: var(--text-strong); font-weight: var(--fw-semibold); }
.kt-price-equiv .sar { width: .7em; height: .78em; }

.kt-plan .kt-checks { align-content: start; gap: 12px; padding-top: var(--sp-1); }
.kt-plan .kt-checks li { font-size: 14px; line-height: 1.45; }
.kt-plan .kt-checks li .ic { color: var(--kt-success); }
.kt-plan.is-featured .kt-checks li .ic { color: var(--kt-ember-500); }
.kt-plan footer { display: grid; gap: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--line); }
.kt-plan footer small { font-size: 12px; color: var(--text-faint); text-align: center; }

.kt-guarantee {
  display: grid; gap: var(--sp-6); align-items: center;
  margin-top: var(--sp-12); padding: var(--sp-8) var(--sp-10);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(47, 143, 91, .1), var(--surface-page) 55%);
  border: 1px solid rgba(47, 143, 91, .22);
  box-shadow: var(--shadow-lift);
}
@media (min-width: 900px) { .kt-guarantee { grid-template-columns: auto 1fr auto; } }
.kt-guarantee .ico {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--kt-success); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(47, 143, 91, .7);
}
.kt-guarantee h3 { margin: 0 0 4px; font: var(--fw-semibold) var(--fs-title)/var(--lh-title) var(--font-body); }
.kt-guarantee p { margin: 0; color: var(--text-muted); font-size: 15px; max-width: 52ch; }

@media (max-width: 899px) {
  .kt-plan.is-featured { order: -1; }
  .kt-plan header { padding-inline-end: 0; }
  .kt-plan-ribbon { position: static; justify-self: start; margin-bottom: calc(var(--sp-2) * -1); }
}

/* Home pricing preview: the shared tiers, then a link to each app's plans */
.kt-from { display: flex; align-items: baseline; gap: 6px; color: var(--text-strong); }
.kt-from b { font: var(--fw-display) var(--fs-display-m)/1 var(--font-display); }
.kt-from span { font-size: 14px; color: var(--text-muted); }
.kt-tier h3 { font: var(--fw-display) var(--fs-display-s)/1.2 var(--font-display); }
.kt-tier.is-featured { border-color: var(--kt-ember-300); box-shadow: var(--shadow-glow); }
.kt-tiers-foot { display: grid; justify-items: center; gap: var(--sp-4); margin-top: var(--sp-10); text-align: center; }
.kt-tiers-foot p { color: var(--text-muted); font-size: 15px; }

/* ------------------------------------------------------------ FAQ layout */
.kt-faq-wrap { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) { .kt-faq-wrap { grid-template-columns: 4fr 8fr; gap: var(--sp-16); } .kt-faq-wrap .kt-head { position: sticky; top: 104px; align-self: start; margin: 0; } }

.kt-faq-contact { font-size: 15px; color: var(--text-muted); }
.kt-faq-contact a { font-weight: var(--fw-medium); }

/* ------------------------------------------------------------ final CTA over a still dune */
.kt-cta { position: relative; overflow: hidden; padding: var(--section-y) var(--gutter) calc(var(--section-y) + 200px); background: var(--kt-sky); text-align: center; }
.kt-cta > *:not(kt-dunes-solid) { position: relative; z-index: 2; }
.kt-cta > kt-dunes-solid { --dunes-height: 260px; z-index: 1; }
.kt-cta .inner { display: grid; justify-items: center; gap: var(--sp-6); max-width: 760px; margin-inline: auto; }
.kt-cta .kt-install { justify-content: center; }
.kt-cta .kt-lead strong { color: var(--text-strong); }

/* ------------------------------------------------------------ night section */
.kt-section.kt-night { background: var(--kt-sky-night); }
.kt-section.kt-night .kt-lead { color: var(--text-body); }

/* ------------------------------------------------------------ footer extras */
.kt-footer .brand .kt-install { margin-top: var(--sp-2); }
.kt-footer ul a:focus-visible { border-radius: 4px; }
