/* Kimler İçin? v4 — visual discovery hub + detail */

/* ── Base ─────────────────────────────────────────────── */
.ki-page {
  overflow-x: hidden;
  background: #fff;
  color: #001a46;
}

.ki-container {
  width: min(1224px, calc(100% - 48px));
  margin-inline: auto;
}

.ki-container--narrow {
  width: min(720px, calc(100% - 48px));
}

.ki-section {
  padding: 72px 0;
}

.ki-section--soft {
  background: #f6f9ff;
}

.ki-section-head {
  max-width: 40rem;
  margin-bottom: 32px;
}

.ki-section-head--center {
  text-align: center;
  margin-inline: auto;
}

.ki-section-head h2,
.ki-hero h1,
.ki-final h2,
.ki-highlight h2,
.ki-group h2,
.ki-article h1,
.ki-block h2,
.ki-roi-copy h2,
.ki-request-copy h2,
.ki-featured h3,
.ki-path-card h3,
.ki-profile h3,
.ki-sector-card h3,
.ki-tab-side h3,
.ki-flow-step h3 {
  font-family: "Alan Sans", Onest, sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}

.ki-section-head h2,
.ki-roi-copy h2,
.ki-request-copy h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  color: #001a46;
}

.ki-section-head p,
.ki-hero-lead,
.ki-section-lead,
.ki-final p,
.ki-roi-copy p,
.ki-request-copy p {
  margin: 12px 0 0;
  color: #53627a;
  font-size: 16px;
  line-height: 1.65;
  max-width: 40rem;
}

.ki-eyebrow {
  display: inline-block;
  color: #015dfc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ki-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #6b7890;
  font-size: 12px;
  margin-bottom: 24px;
}

.ki-breadcrumb a:hover {
  color: #015dfc;
}

.ki-back {
  margin: 0 0 20px;
  font-size: 14px;
}

.ki-back a {
  color: #015dfc;
  font-weight: 600;
}

.ki-muted {
  color: #6b7890;
  font-size: 13px;
}

.ki-updated {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b7890;
}

.ki-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.ki-page .btn svg {
  width: 15px;
  height: 15px;
}

.ki-page .btn:hover {
  transform: translateY(-1px);
}

/* ── Hero ─────────────────────────────────────────────── */
.ki-hero {
  padding: 32px 0 64px;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
  border-bottom: 1px solid #e7eef8;
}

.ki-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.ki-hero-copy {
  max-width: 34rem;
}

.ki-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  max-width: 16ch;
  color: #001a46;
}

.ki-hero-lead {
  max-width: 38ch;
}

.ki-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Hero wireframe preview */
.ki-hero-preview {
  position: relative;
}

.ki-wire {
  background: #fff;
  border: 1px solid #dce7f7;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 26, 70, 0.07);
  overflow: hidden;
}

.ki-wire--hero {
  padding: 0 0 18px;
}

.ki-wire-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e7eef8;
  background: #f8fbff;
}

.ki-wire-bar strong {
  font-size: 12px;
  font-weight: 650;
  color: #40516c;
  margin-left: 4px;
}

.ki-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9dcfa;
}

.ki-dot:nth-child(1) { background: #ff6b6b; }
.ki-dot:nth-child(2) { background: #ffd166; }
.ki-dot:nth-child(3) { background: #6bcb77; }

.ki-wire-stage {
  padding: 14px 18px 6px;
  opacity: 1;
  transform: none;
}

.ki-wire-stage.is-enter {
  animation: ki-fade-up 380ms ease both;
}

.ki-wire-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7890;
  margin-bottom: 8px;
}

.ki-wire-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef5ff;
  border: 1px solid #c9dcfa;
  color: #001a46;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.ki-wire-list,
.ki-wire-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.ki-wire-list li,
.ki-wire-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #e7eef8;
  font-size: 13px;
  font-weight: 550;
  color: #001a46;
  line-height: 1.35;
}

.ki-wire-steps li span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #015dfc;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ki-wire-list li.is-new,
.ki-wire-steps li.is-new {
  animation: ki-fade-up 320ms ease both;
}

/* ── How it works flow ─────────────────────────────────── */
.ki-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.ki-flow-step {
  background: #fff;
  border: 1px solid #e7eef8;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
}

.ki-flow-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #eef5ff;
  color: #015dfc;
  display: grid;
  place-items: center;
}

.ki-flow-icon svg {
  width: 22px;
  height: 22px;
}

.ki-flow-step h3 {
  font-size: 17px;
  font-weight: 650;
  font-family: Onest, sans-serif;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.ki-flow-step p {
  margin: 0 0 14px;
  color: #53627a;
  font-size: 14px;
  line-height: 1.5;
}

.ki-flow-connector {
  width: 28px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, #c9dcfa, #015dfc, #c9dcfa);
  border-radius: 2px;
  position: relative;
}

.ki-flow-connector::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #015dfc;
  border-top: 2px solid #015dfc;
  transform: translateY(-50%) rotate(45deg);
}

.ki-mini-wire {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.ki-mini-wire span {
  font-size: 11px;
  font-weight: 650;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f0f4fa;
  color: #40516c;
  border: 1px solid #e0e8f4;
}

.ki-mini-wire span.is-on {
  background: #eef5ff;
  color: #015dfc;
  border-color: #b7d0fa;
}

.ki-mini-wire--stack {
  flex-direction: column;
  align-items: stretch;
}

.ki-flow-note {
  margin: 28px auto 0;
  max-width: 46rem;
  text-align: center;
  color: #40516c;
  font-size: 15px;
  line-height: 1.65;
}

/* ── Path cards ────────────────────────────────────────── */
.ki-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ki-path-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dce7f7;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.ki-path-card:hover {
  border-color: #9fc0f5;
  box-shadow: 0 14px 36px rgba(0, 26, 70, 0.08);
  transform: translateY(-3px);
}

.ki-path-card-top {
  padding: 22px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ki-path-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef5ff;
  color: #015dfc;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.ki-path-icon svg {
  width: 20px;
  height: 20px;
}

.ki-path-card h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 650;
  font-family: Onest, sans-serif;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.ki-path-card-top > p {
  margin: 0 0 14px;
  color: #53627a;
  font-size: 14px;
  line-height: 1.55;
}

.ki-path-card-top ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.ki-path-card-top ul a {
  font-size: 13px;
  font-weight: 600;
  color: #001a46;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.ki-path-card-top ul a:hover {
  color: #015dfc;
  border-bottom-color: #b7d0fa;
}

.ki-path-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #015dfc;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.ki-path-main svg {
  width: 14px;
  height: 14px;
  transition: transform 220ms ease;
}

.ki-path-main:hover svg,
.ki-pop-item:hover > svg,
.ki-sector-card a:hover svg,
.ki-profile a:hover svg,
.ki-topic-links a:hover svg {
  transform: translateX(3px);
}

.ki-path-card--profit .ki-path-icon {
  background: #eefaf3;
  color: #0f7a48;
}

.ki-path-card--stores .ki-path-icon {
  background: #f3f0ff;
  color: #5b3fd6;
}

/* Path wireframes */
.ki-wire--path {
  margin: 0 14px 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e7eef8;
  background: #f8fbff;
  box-shadow: none;
  display: grid;
  gap: 6px;
}

.ki-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7eef8;
  font-size: 12px;
  font-weight: 600;
  color: #40516c;
}

.ki-check-row span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid #c9dcfa;
  flex-shrink: 0;
}

.ki-check-row.is-active {
  border-color: #9fc0f5;
  color: #015dfc;
  background: #eef5ff;
}

.ki-check-row.is-active span {
  background: #015dfc;
  border-color: #015dfc;
  box-shadow: inset 0 0 0 2px #fff;
}

.ki-wire--profit {
  grid-template-columns: 1fr 1fr;
}

.ki-metric {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7eef8;
  display: grid;
  gap: 2px;
}

.ki-metric small {
  font-size: 10px;
  font-weight: 700;
  color: #6b7890;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ki-metric strong {
  font-size: 13px;
  font-weight: 700;
  color: #001a46;
}

.ki-metric strong.is-warn { color: #c01d28; }
.ki-metric strong.is-ok { color: #0f7a48; }

.ki-metric.is-focus {
  grid-column: 1 / -1;
  background: #eef5ff;
  border-color: #b7d0fa;
}

.ki-store-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7eef8;
  font-size: 12px;
}

.ki-store-row b {
  font-weight: 650;
  color: #001a46;
}

.ki-store-row span {
  font-size: 11px;
  font-weight: 650;
  color: #0f7a48;
  background: #e7f7ef;
  padding: 2px 7px;
  border-radius: 999px;
}

.ki-store-row.is-crit span {
  color: #c01d28;
  background: #fdecee;
}

.ki-store-row.is-warn span {
  color: #9a6700;
  background: #fff6df;
}

.ki-store-row em {
  font-style: normal;
  color: #6b7890;
  font-weight: 600;
}

.ki-team {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.ki-team span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef5ff;
  border: 1px solid #c9dcfa;
  color: #015dfc;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ── Popular answers ───────────────────────────────────── */
.ki-popular {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.ki-featured {
  position: relative;
  padding: 28px 26px;
  border-radius: 18px;
  background: linear-gradient(160deg, #001a46 0%, #0a2f6e 55%, #015dfc 140%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.ki-featured-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ki-featured h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  color: #fff;
  max-width: 18ch;
}

.ki-featured > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
}

.ki-mini-check {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ki-mini-check li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.92);
}

.ki-mini-check svg {
  width: 16px;
  height: 16px;
  color: #7dd3a0;
  flex-shrink: 0;
}

.ki-featured .btn-primary {
  background: #fff;
  color: #001a46;
  align-self: flex-start;
  margin-top: 4px;
}

.ki-featured .btn-primary:hover {
  background: #eef5ff;
}

.ki-wire--featured {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  display: grid;
  gap: 8px;
}

.ki-wire--featured span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.ki-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.ki-progress i,
.ki-progress-bar {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6bcb77, #015dfc);
}

.ki-popular-list {
  display: grid;
  gap: 10px;
}

.ki-pop-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #dce7f7;
  background: #fff;
  text-decoration: none;
  color: #001a46;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  min-height: 64px;
}

.ki-pop-item:hover {
  border-color: #9fc0f5;
  box-shadow: 0 8px 22px rgba(0, 26, 70, 0.06);
  transform: translateY(-1px);
}

.ki-pop-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef5ff;
  color: #015dfc;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ki-pop-icon svg {
  width: 18px;
  height: 18px;
}

.ki-pop-item strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.ki-pop-item small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #6b7890;
  line-height: 1.35;
}

.ki-pop-item > svg {
  width: 16px;
  height: 16px;
  color: #015dfc;
  transition: transform 220ms ease;
}

/* ── Problem tabs ──────────────────────────────────────── */
.ki-tabs {
  border: 1px solid #e7eef8;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.ki-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  background: #f6f9ff;
  border-bottom: 1px solid #e7eef8;
}

.ki-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #40516c;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  min-height: 44px;
  transition: background 200ms ease, color 200ms ease;
}

.ki-tab:hover {
  background: rgba(1, 93, 252, 0.08);
  color: #015dfc;
}

.ki-tab.is-active,
.ki-tab[aria-selected="true"] {
  background: #fff;
  color: #015dfc;
  box-shadow: 0 1px 4px rgba(0, 26, 70, 0.06);
}

.ki-tab:focus-visible {
  outline: 2px solid #015dfc;
  outline-offset: 2px;
}

.ki-tab-panel {
  padding: 24px;
}

/* Progressive enhancement: without JS show all panels */
.ki-tabs.is-ready .ki-tab-panel:not(.is-active) {
  display: none;
}

.ki-tabs:not(.is-ready) .ki-tab-panel {
  display: block;
  border-top: 1px solid #e7eef8;
}

.ki-tabs:not(.is-ready) .ki-tab-panel:first-child {
  border-top: 0;
}

.ki-tab-panel.is-switching {
  animation: ki-fade-up 280ms ease both;
}

.ki-tab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.ki-topic-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.ki-topic-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #001a46;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  min-height: 44px;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.ki-topic-links a:hover {
  background: #f6f9ff;
  border-color: #e7eef8;
  color: #015dfc;
}

.ki-topic-links svg {
  width: 16px;
  height: 16px;
  color: #015dfc;
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.ki-tab-side {
  padding: 18px;
  border-radius: 14px;
  background: #f6f9ff;
  border: 1px solid #e7eef8;
}

.ki-tab-side h3 {
  font-size: 16px;
  font-weight: 650;
  font-family: Onest, sans-serif;
  letter-spacing: 0;
  margin: 16px 0 8px;
}

.ki-tab-side p {
  margin: 0 0 16px;
  color: #53627a;
  font-size: 14px;
  line-height: 1.55;
}

.ki-wire--tab {
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e7eef8;
  box-shadow: none;
  display: grid;
  gap: 6px;
}

.ki-flow-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ki-flow-mini span {
  font-size: 11px;
  font-weight: 650;
  padding: 6px 9px;
  border-radius: 8px;
  background: #f0f4fa;
  color: #40516c;
}

.ki-flow-mini span.is-on {
  background: #eef5ff;
  color: #015dfc;
  border: 1px solid #b7d0fa;
}

.ki-flow-mini i {
  width: 12px;
  height: 1px;
  background: #c9dcfa;
  display: block;
}

.ki-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #e7eef8;
  font-size: 12px;
  font-weight: 600;
}

.ki-metric-row strong.is-warn { color: #c01d28; }
.ki-metric-row strong.is-ok { color: #0f7a48; }

.ki-metric-row.is-focus {
  background: #eef5ff;
  border-color: #b7d0fa;
  color: #015dfc;
}

.ki-noscript {
  padding: 20px 24px 28px;
}

.ki-noscript h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.ki-noscript ul {
  margin: 0;
  padding-left: 18px;
}

/* ── Sectors ───────────────────────────────────────────── */
.ki-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ki-sector-card {
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid #dce7f7;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 280ms ease;
}

.ki-sector-card:hover {
  border-color: #9fc0f5;
  box-shadow: 0 10px 24px rgba(0, 26, 70, 0.06);
}

.ki-sector-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef5ff;
  color: #015dfc;
  display: grid;
  place-items: center;
}

.ki-sector-icon svg {
  width: 18px;
  height: 18px;
}

.ki-sector-card h3 {
  font-size: 15px;
  font-weight: 650;
  font-family: Onest, sans-serif;
  letter-spacing: 0;
  line-height: 1.3;
}

.ki-sector-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
  flex: 1;
}

.ki-sector-card li {
  font-size: 12px;
  color: #53627a;
  line-height: 1.4;
  padding-left: 10px;
  position: relative;
}

.ki-sector-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9fc0f5;
}

.ki-sector-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #015dfc;
  text-decoration: none;
}

.ki-sector-card a svg {
  width: 14px;
  height: 14px;
  transition: transform 220ms ease;
}

.ki-coming {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7890;
}

.ki-sector-toggle {
  margin-top: 20px;
}

/* Extra sectors: hidden until expanded */
.ki-sector-grid:not(.is-expanded) .ki-sector-card.is-extra {
  display: none;
}

/* ── Business profiles ─────────────────────────────────── */
.ki-profiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ki-profile {
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid #dce7f7;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 280ms ease;
}

.ki-profile:hover {
  border-color: #9fc0f5;
  box-shadow: 0 12px 28px rgba(0, 26, 70, 0.07);
  transform: translateY(-2px);
}

.ki-profile-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef5ff;
  color: #015dfc;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.ki-profile-icon svg {
  width: 20px;
  height: 20px;
}

.ki-profile h3 {
  font-size: 16px;
  font-weight: 650;
  font-family: Onest, sans-serif;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 12px;
}

.ki-profile-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7890;
}

.ki-profile ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
  flex: 1;
}

.ki-profile li {
  font-size: 13px;
  color: #40516c;
  line-height: 1.4;
  padding-left: 12px;
  position: relative;
}

.ki-profile li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #015dfc;
}

.ki-profile a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 650;
  color: #015dfc;
  text-decoration: none;
}

.ki-profile a svg {
  width: 14px;
  height: 14px;
  transition: transform 220ms ease;
}

/* ── ROI section ───────────────────────────────────────── */
.ki-roi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.ki-roi-copy .btn {
  margin-top: 20px;
}

.ki-wire--roi {
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dce7f7;
  box-shadow: 0 12px 32px rgba(0, 26, 70, 0.06);
  display: grid;
  gap: 10px;
}

.ki-badge {
  display: inline-flex;
  align-self: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #015dfc;
  background: #eef5ff;
  border: 1px solid #c9dcfa;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.ki-roi-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #e7eef8;
}

.ki-roi-line span {
  font-size: 13px;
  color: #53627a;
  font-weight: 550;
}

.ki-roi-line strong {
  font-size: 14px;
  font-weight: 700;
  color: #001a46;
  white-space: nowrap;
}

.ki-roi-line.is-focus {
  background: #eef5ff;
  border-color: #b7d0fa;
}

.ki-roi-line.is-focus strong {
  color: #015dfc;
}

/* ── Request form ──────────────────────────────────────── */
.ki-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #dce7f7;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 50%);
  align-items: start;
}

.ki-request-examples {
  margin-top: 16px !important;
  font-size: 13px !important;
  color: #6b7890 !important;
  max-width: 28rem;
}

.ki-request-form {
  display: grid;
  gap: 14px;
}

.ki-request-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #40516c;
}

.ki-request-form textarea,
.ki-request-form input[type="email"] {
  border: 1px solid #c9dcfa;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: #001a46;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.ki-request-form textarea:focus,
.ki-request-form input:focus {
  outline: 2px solid rgba(1, 93, 252, 0.3);
  border-color: #015dfc;
}

.ki-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.ki-field-error {
  color: #c01d28;
  font-size: 12px;
  font-weight: 600;
}

.ki-success {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e7f7ef;
  border: 1px solid #b7e4cb;
  color: #0f7a48;
  font-size: 14px;
  line-height: 1.45;
}

/* ── Final CTA ─────────────────────────────────────────── */
.ki-final {
  padding: 80px 0;
  background: #001a46;
  color: #fff;
}

.ki-final-inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.ki-final h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.ki-final p {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.82);
}

.ki-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.ki-final .btn-primary {
  background: #fff;
  color: #001a46;
}

.ki-final .btn-primary:hover {
  background: #eef5ff;
}

.ki-final .btn-light-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.ki-final .btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── Detail page ───────────────────────────────────────── */
.ki-article {
  padding: 28px 0 80px;
  max-width: 760px;
}

.ki-article-header {
  margin-bottom: 28px;
}

.ki-article h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
}

.ki-block {
  margin: 0 0 28px;
  padding-bottom: 8px;
}

.ki-block h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.ki-block h3 {
  font-size: 16px;
  margin: 18px 0 8px;
  font-weight: 650;
}

.ki-block p,
.ki-block li {
  color: #334766;
  font-size: 15px;
  line-height: 1.7;
}

.ki-block ul,
.ki-block ol {
  margin: 0;
  padding-left: 18px;
}

.ki-block li {
  margin-bottom: 8px;
}

.ki-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #001a46;
  font-weight: 500;
}

.ki-tools {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ki-tools a {
  color: #015dfc;
  font-weight: 600;
  font-size: 14px;
}

.ki-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.ki-scenarios {
  display: grid;
  gap: 12px;
}

.ki-scenarios > div {
  border: 1px solid #e7eef8;
  border-radius: 12px;
  padding: 14px 16px;
  background: #f8fbff;
}

.ki-scenarios h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.ki-warning {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8f0;
  border: 1px solid #f3d7ad;
  color: #7a4b00;
  font-size: 13px;
  line-height: 1.55;
}

/* ── Reveal animations ─────────────────────────────────── */
/* Content is always fully visible. Reveal only adds a soft rise once. */
[data-ki-reveal] > * {
  opacity: 1;
  transform: none;
}

.ki-page.is-motion [data-ki-reveal] > *.is-shown {
  animation: ki-soft-rise 380ms ease both;
  animation-delay: calc(var(--ki-i, 0) * 35ms);
}

@keyframes ki-soft-rise {
  from {
    opacity: 0.35;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ki-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ki-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.ki-store-row.is-crit span {
  animation: ki-pulse 2.4s ease-in-out infinite;
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ki-page .btn,
  .ki-path-card,
  .ki-pop-item,
  .ki-sector-card,
  .ki-profile,
  .ki-path-main svg,
  .ki-pop-item > svg,
  .ki-sector-card a svg,
  .ki-profile a svg,
  .ki-topic-links a svg,
  .ki-page.is-motion [data-ki-reveal] > *.is-shown {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .ki-store-row.is-crit span,
  .ki-wire-stage.is-enter,
  .ki-wire-list li.is-new,
  .ki-wire-steps li.is-new,
  .ki-tab-panel.is-switching {
    animation: none !important;
  }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ki-sector-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ki-profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ki-hero-grid {
    gap: 32px;
  }

  .ki-path-grid {
    grid-template-columns: 1fr;
  }

  .ki-popular {
    grid-template-columns: 1fr;
  }

  .ki-tab-grid {
    grid-template-columns: 1fr;
  }

  .ki-roi-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ki-request-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ki-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ki-flow-connector {
    width: 2px;
    height: 20px;
    margin-inline: auto;
    background: linear-gradient(180deg, #c9dcfa, #015dfc, #c9dcfa);
  }

  .ki-flow-connector::after {
    right: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(50%) rotate(135deg);
  }
}

/* Tablet: keep flow horizontal when space allows, path as 1 col is fine under 900 */
@media (min-width: 900px) and (max-width: 1100px) {
  .ki-path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ki-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
  }

  .ki-flow-connector {
    width: 20px;
    height: 2px;
    margin-inline: 0;
    background: linear-gradient(90deg, #c9dcfa, #015dfc, #c9dcfa);
  }

  .ki-flow-connector::after {
    right: -3px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }
}

@media (max-width: 768px) {
  .ki-container,
  .ki-container--narrow {
    width: min(1224px, calc(100% - 32px));
  }

  .ki-section {
    padding: 56px 0;
  }

  .ki-hero {
    padding: 20px 0 48px;
  }

  .ki-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ki-hero h1 {
    max-width: none;
  }

  .ki-hero-lead {
    max-width: none;
  }

  .ki-hero-preview {
    order: 2;
  }

  .ki-path-grid {
    grid-template-columns: 1fr;
  }

  .ki-sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ki-tablist {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ki-tablist::-webkit-scrollbar {
    display: none;
  }

  .ki-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 520px) {
  .ki-container {
    width: calc(100% - 28px);
  }

  .ki-hero-cta {
    flex-direction: column;
  }

  .ki-hero-cta .btn,
  .ki-final-actions .btn,
  .ki-cta-box .btn,
  .ki-roi-copy .btn,
  .ki-request-form .btn,
  .ki-sector-toggle {
    width: 100%;
  }

  .ki-profiles {
    grid-template-columns: 1fr;
  }

  .ki-sector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ki-request-card {
    padding: 20px 16px;
  }

  .ki-featured {
    padding: 22px 18px;
  }

  .ki-path-card-top {
    padding: 18px 16px 12px;
  }

  .ki-wire--path {
    margin: 0 10px 12px;
  }

  .ki-final {
    padding: 56px 0;
  }
}

@media (max-width: 390px) {
  .ki-sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ki-sector-card {
    padding: 14px 12px;
  }

  .ki-hero h1 {
    font-size: 28px;
  }

  .ki-wire--profit {
    grid-template-columns: 1fr;
  }
}
