/* Kalemhane theme — 1440 tasarım, 1280 içerik */

:root {
  --ink: #171A33;
  --ink-mid: #22264A;
  --ink-deep: #11132A;
  --paper: #FBF7EF;
  --amber: #F2B33D;
  --coral: #FF6B4A;
  --lilac: #B9A7FF;
  --muted: #5B5F7A;
  --line: #E7E0D2;
  --white: #FFFFFF;
  --chrome: #F3EEE3;
  --skeleton: #F1ECE1;
  --success: #34C38F;
  --success-ink: #1E9E6A;
  --success-bg: #DDF5EA;
  --muted-soft: #9A9CB0;
  --proof-card: #1F2346;
  --proof-before: #2A2F57;
  --proof-muted: #8C90B3;
  --proof-text: #D9DBEA;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --content: 1280px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --radius-card: 28px;
  --radius-lg: 40px;
  --radius-md: 20px;
  --radius-sm: 18px;
  --shadow-soft: 0 18px 50px rgba(23, 26, 51, 0.08);
}

/* —— Base —— */
.kh-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 8px;
}
.kh-skip:focus {
  left: 1rem;
  top: 1rem;
}

.kh-container {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
}

.kh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 60px;
  padding: 0 1.75rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.kh-btn:hover { transform: translateY(-1px); }
.kh-btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.kh-btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.kh-btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}
.kh-btn--amber {
  background: var(--amber);
  color: var(--ink);
}
.kh-btn--sm {
  min-height: 46px;
  padding: 0 1.35rem;
  font-size: 15px;
}

.kh-eyebrow {
  margin: 0 0 1rem;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  text-align: center;
}
.kh-eyebrow--amber { color: var(--amber); text-align: left; }

.kh-section-head { text-align: center; margin-bottom: 3rem; }
.kh-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
}
.kh-section-sub {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 20px;
  color: var(--muted);
}

/* —— Header —— */
.kh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}
.kh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
  padding-block: 0.85rem;
}
.kh-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.kh-logo__svg,
.kh-logo__img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(206px, 42vw);
}
.kh-logo__fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}

.kh-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
}
.kh-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.kh-nav__list a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.kh-nav__list a:hover,
.kh-nav__list a:focus-visible { color: var(--ink); }
.kh-nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.kh-nav__login {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--ink);
}

.kh-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.kh-nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

/* —— Hero —— */
.kh-hero {
  position: relative;
  padding: 2.5rem 0 4rem;
  overflow: visible;
}
.kh-hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.kh-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.85;
}
.kh-hero__blob--amber {
  width: min(760px, 70vw);
  height: min(760px, 70vw);
  right: -8%;
  top: -5%;
  background: radial-gradient(circle, rgba(242, 179, 61, 0.55) 0%, transparent 70%);
}
.kh-hero__blob--coral {
  width: min(600px, 55vw);
  height: min(600px, 55vw);
  right: -5%;
  top: 35%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.35) 0%, transparent 70%);
}
.kh-hero__blob--lilac {
  width: min(520px, 50vw);
  height: min(520px, 50vw);
  left: 40%;
  top: -10%;
  background: radial-gradient(circle, rgba(185, 167, 255, 0.5) 0%, transparent 70%);
}

.kh-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.kh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.kh-badge__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
}
.kh-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.kh-hero__title-line {
  display: block;
  position: relative;
  width: fit-content;
}
.kh-hero__underline {
  position: absolute;
  left: 0.15em;
  bottom: -0.08em;
  width: 72%;
  height: 0.22em;
  color: var(--amber);
  pointer-events: none;
}
.kh-hero__sub {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--muted);
  line-height: 1.55;
}
.kh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.kh-hero__trust {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.kh-hero__visual {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: visible;
}
.kh-hero__stage {
  position: relative;
  /* Çiplerin kart dışına taşması için kenar payı */
  margin: 1.75rem 2rem 2.25rem 2.5rem;
}
.kh-browser {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.kh-browser__chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: var(--chrome);
}
.kh-browser__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.kh-browser__dot--r { background: #FF6B4A; }
.kh-browser__dot--y { background: #F2B33D; }
.kh-browser__dot--g { background: #34C38F; }
.kh-browser__url {
  margin-left: 0.75rem;
  flex: 0 1 auto;
  /* Sağ üst çipin altında kalmasın (≥1025) */
  max-width: min(11.25rem, 38%);
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kh-browser__body {
  /* Butonların altında sol alt çipe yer */
  padding: 1.5rem 1.75rem 4.25rem;
}
.kh-browser__status {
  margin: 0 0 0.75rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--coral);
}
.kh-browser__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.kh-browser__lines {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.kh-browser__lines span {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: #ECE6DA;
}
.kh-browser__lines span:nth-child(1) { width: 96%; }
.kh-browser__lines span:nth-child(2) { width: 88%; }
.kh-browser__lines span:nth-child(3) { width: 98%; }
.kh-browser__lines span:nth-child(4) { width: 82%; }
.kh-browser__lines span:nth-child(5) { width: 92%; }
.kh-browser__lines span:nth-child(6) { width: 64%; }
.kh-browser__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.kh-browser__actions .kh-btn { pointer-events: none; }

.kh-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  min-width: 13rem;
  max-width: 15.5rem;
  z-index: 3;
  pointer-events: none;
}
/* ≥1025px: yalnız kart köşesine/dışına taş; başlık·URL·çizgi·buton örtülmez */
.kh-chip--check {
  left: -2.5rem;
  right: auto;
  bottom: -2rem;
  top: auto;
  transform: none;
}
.kh-chip--plus {
  left: auto;
  right: -2rem;
  top: -1.75rem;
  bottom: auto;
  transform: none;
}
.kh-chip__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.kh-chip__icon--success {
  background: var(--success-bg);
  color: var(--success-ink);
}
.kh-chip__icon--coral {
  background: #FFE9D6;
  color: var(--coral);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.kh-chip__text { display: flex; flex-direction: column; gap: 0.1rem; }
.kh-chip__text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.kh-chip__text small {
  font-size: 13px;
  color: var(--muted);
}
.kh-pen {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  z-index: 2;
  pointer-events: none;
}

/* —— Compat —— */
.kh-compat { padding: 0.5rem 0 3rem; }
.kh-compat__bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.35rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.kh-compat__label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.kh-compat__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.kh-compat__item {
  font-size: 20px;
  font-weight: 700;
  color: var(--muted-soft);
}
.kh-compat__logo { max-height: 28px; width: auto; filter: grayscale(1); opacity: 0.75; }

/* —— Modules —— */
.kh-modules { padding: 3rem 0 5rem; }
.kh-modules__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.kh-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  min-height: 26rem;
}
.kh-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.kh-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  position: relative;
  background: color-mix(in srgb, var(--card-accent, var(--amber)) 25%, transparent);
}
.kh-card__icon::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-accent, var(--amber));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.kh-color--amber { --card-accent: var(--amber); }
.kh-color--coral { --card-accent: var(--coral); }
.kh-color--lilac { --card-accent: var(--lilac); }
.kh-card__tag {
  padding: 0.4rem 0.85rem;
  background: var(--chrome);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.kh-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}
.kh-card__desc {
  margin: 0 0 1.5rem;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
}
.kh-card__skeleton {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}
.kh-card__skeleton span {
  height: 12px;
  border-radius: 6px;
  background: var(--skeleton);
}
.kh-card__skeleton span:nth-child(1) { width: 78%; }
.kh-card__skeleton span:nth-child(2) { width: 90%; }
.kh-card__skeleton span:nth-child(3) { width: 64%; }
.kh-card__link {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.kh-card__link:hover { text-decoration: underline; }

/* —— How —— */
.kh-how { padding: 2rem 0 5rem; }
.kh-how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 2.5rem 0 0;
}
.kh-how__curve {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 3.5rem;
  width: 90%;
  height: 80px;
  color: var(--amber);
  pointer-events: none;
}
.kh-how__step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kh-how__num {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.kh-how__step-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
}
.kh-how__step-desc {
  margin: 0;
  max-width: 16rem;
  font-size: 17px;
  color: var(--muted);
}

/* —— Proof —— */
.kh-proof { padding: 1rem 0 5rem; }
.kh-proof__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink-mid), var(--ink-deep));
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.kh-proof__panel::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 179, 61, 0.45) 0%, transparent 70%);
  pointer-events: none;
}
.kh-proof__copy,
.kh-proof__card { position: relative; z-index: 1; }
.kh-proof__title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--paper);
}
.kh-proof__title span { display: block; }
.kh-proof__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.kh-proof__list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 18px;
  font-weight: 500;
  color: var(--proof-text);
  line-height: 1.4;
}
.kh-proof__dot {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}
.kh-proof__card {
  background: var(--proof-card);
  border-radius: 24px;
  padding: 1.75rem;
}
.kh-proof__label {
  margin: 0 0 0.5rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--proof-muted);
}
.kh-proof__label--after { margin-top: 1.25rem; color: var(--amber); }
.kh-proof__before {
  padding: 1.1rem 1rem;
  background: var(--proof-before);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  color: #B8BBD6;
}
.kh-proof__after {
  padding: 1.25rem 1rem 1.1rem;
  background: var(--paper);
  border-radius: 14px;
  color: var(--ink);
}
.kh-proof__after-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.kh-proof__lines {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.kh-proof__lines span {
  height: 9px;
  border-radius: 4.5px;
  background: #E3DCCD;
}
.kh-proof__lines span:nth-child(1) { width: 92%; }
.kh-proof__lines span:nth-child(2) { width: 86%; }
.kh-proof__lines span:nth-child(3) { width: 94%; }
.kh-proof__lines span:nth-child(4) { width: 68%; }
.kh-proof__lines span:nth-child(5) { width: 80%; }
.kh-proof__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success-ink);
  font-size: 12px;
  font-weight: 700;
}

/* —— Pricing —— */
.kh-pricing { padding: 2rem 0 5rem; }
.kh-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}
.kh-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.kh-plan--featured {
  background: var(--ink);
  border-color: transparent;
  color: var(--paper);
}
.kh-plan__badge {
  position: absolute;
  top: 1.75rem;
  right: 1.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--amber);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.kh-plan__name {
  margin: 0.5rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}
.kh-plan__desc {
  margin: 0 0 1.75rem;
  font-size: 16px;
  color: var(--muted);
}
.kh-plan--featured .kh-plan__desc { color: #B8BBD6; }
.kh-plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 2rem;
}
.kh-plan__amount {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}
.kh-plan__period {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}
.kh-plan--featured .kh-plan__period { color: #B8BBD6; }
.kh-plan__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  flex: 0 0 auto;
}
.kh-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 17px;
  font-weight: 500;
}
.kh-plan__features svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--success-ink);
}
.kh-plan--featured .kh-plan__features svg { color: var(--amber); }
.kh-plan__btn { width: 100%; margin-top: auto; }

/* —— Sistem metni —— */
.kh-sistem {
  padding: 0 0 3.5rem;
}
.kh-sistem__inner {
  max-width: 48rem;
}
.kh-sistem__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.kh-sistem__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.kh-sistem__text p { margin: 0; }

/* —— FAQ —— */
.kh-faq { padding: 2rem 0 4rem; }
.kh-faq__inner { max-width: 960px; }
.kh-faq .kh-section-title { margin-bottom: 2rem; }
.kh-faq__list { display: grid; gap: 1rem; }
.kh-faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.kh-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.kh-faq__q:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: -3px;
}
.kh-faq__icon {
  font-size: 28px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.2s ease;
}
.kh-faq__q[aria-expanded="true"] .kh-faq__icon { transform: rotate(45deg); }
.kh-faq__a {
  padding: 0 1.5rem 1.35rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.kh-faq__a[hidden] { display: none; }
.kh-faq__a p { margin: 0; }

/* —— CTA —— */
.kh-cta { padding: 1rem 0 3rem; }
.kh-cta__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.75rem, 4vw, 3.5rem);
  background: var(--amber);
  border-radius: var(--radius-lg);
  color: var(--ink);
}
.kh-cta__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}
.kh-cta__sub {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
}
.kh-cta__btn { flex-shrink: 0; min-width: 12rem; }

/* —— Footer (koyu zemin → beyaz logo) —— */
.kh-footer {
  padding: 3rem 0 1.75rem;
  background: var(--ink);
  color: #B8BBD6;
  font-size: 14px;
  font-weight: 500;
}
.kh-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 2.5rem 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.kh-footer__brand { max-width: 18rem; }
.kh-footer__logo .kh-logo__svg,
.kh-footer__logo .kh-logo__img {
  height: 32px;
  max-width: min(165px, 50vw);
}
.kh-footer__tagline {
  margin: 1rem 0 0;
  color: #B8BBD6;
  font-size: 14px;
  line-height: 1.5;
}
.kh-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}
.kh-footer__col-title {
  margin: 0 0 0.85rem;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kh-footer__col-list,
.kh-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.kh-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-content: start;
}
.kh-footer__col-list a,
.kh-footer__nav a {
  color: #B8BBD6;
  text-decoration: none;
}
.kh-footer__col-list a:hover,
.kh-footer__nav a:hover { color: var(--paper); }
.kh-footer__bottom {
  padding-top: 1.25rem;
}
.kh-footer__copy { margin: 0; color: #8B8FA8; font-size: 13px; }

/* —— 404 işaret —— */
.kh-entry--404 { text-align: center; }
.kh-404__mark {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.kh-404__svg {
  width: 56px;
  height: auto;
}

/* —— Shared: eyebrow / breadcrumb —— */
.kh-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}
.kh-eyebrow a { color: inherit; text-decoration: none; }
.kh-eyebrow a:hover { text-decoration: underline; }
.kh-breadcrumb { margin: 0 0 1.5rem; font-size: 14px; color: var(--muted); }
.kh-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kh-breadcrumb__item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--line);
}
.kh-breadcrumb a { color: var(--muted); text-decoration: none; }
.kh-breadcrumb a:hover { color: var(--ink); }

/* —— Prose (the_content) —— */
.kh-prose {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.kh-prose--wide { max-width: 880px; }
.kh-prose > *:first-child { margin-top: 0; }
.kh-prose h2,
.kh-prose h3,
.kh-prose h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  margin: 2.25rem 0 0.85rem;
}
.kh-prose h2 { font-size: clamp(1.5rem, 2.5vw, 1.85rem); }
.kh-prose h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
.kh-prose p { margin: 0 0 1.15rem; }
.kh-prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.kh-prose ul,
.kh-prose ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.kh-prose li { margin: 0.35rem 0; }
.kh-prose blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--amber);
  background: var(--white);
  border-radius: 0 16px 16px 0;
  color: var(--ink);
  font-style: italic;
}
.kh-prose img {
  border-radius: 24px;
  margin: 1.5rem 0 0.5rem;
}
.kh-prose figcaption {
  margin: 0 0 1.5rem;
  font-size: 14px;
  color: var(--muted);
}
.kh-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #F0EBE1;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  color: var(--ink);
}
.kh-prose pre {
  overflow-x: auto;
  padding: 1rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  margin: 1.5rem 0;
  max-width: 100%;
}
.kh-prose pre code { background: transparent; color: inherit; padding: 0; }
.kh-prose .kh-table-wrap,
.kh-prose figure.wp-block-table,
.kh-prose .wp-block-table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.kh-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 28rem;
}
.kh-prose th,
.kh-prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.85rem;
  text-align: left;
  background: var(--white);
}
.kh-prose th { background: #F3EEE4; color: var(--ink); font-weight: 600; }
.kh-prose .rank-math-block,
.kh-prose .wp-block-rank-math-faq-block { margin: 2rem 0; }

/* —— Single post —— */
.kh-single { padding: 2rem 0 5rem; }
.kh-single__inner { max-width: 760px; }
.kh-single__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.kh-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  margin: 0 0 1.75rem;
  font-size: 14px;
  color: var(--muted);
}
.kh-single__thumb {
  margin: 0 0 2rem;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--line);
}
.kh-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kh-toc {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.kh-toc__summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.kh-toc__summary::-webkit-details-marker { display: none; }
.kh-toc__list {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}
.kh-toc__list a { color: var(--ink); text-decoration: none; }
.kh-toc__list a:hover { text-decoration: underline; }
.kh-post-cta {
  margin: 3rem 0;
  padding: 1.75rem 1.5rem;
  background: var(--amber);
  border-radius: 24px;
  color: var(--ink);
}
.kh-post-cta__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.kh-post-cta__text { margin: 0 0 1.15rem; max-width: 36rem; }
.kh-related { margin: 3rem 0 0; }
.kh-related__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* —— Blog list —— */
.kh-blog-list { padding: 0 0 5rem; }
.kh-archive-head { padding: 2rem 0 1.5rem; max-width: 48rem; }
.kh-archive-head__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
}
.kh-archive-head__desc {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.kh-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}
.kh-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.kh-pill:hover,
.kh-pill.is-active {
  border-color: var(--ink);
  color: var(--ink);
}
.kh-post-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.75rem;
  margin: 0 0 2.5rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}
.kh-post-featured__media {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ECE6DA;
}
.kh-post-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kh-post-featured__body { display: flex; flex-direction: column; justify-content: center; gap: 0.65rem; padding: 0.5rem; }
.kh-post-featured__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.2;
}
.kh-post-featured__title a { text-decoration: none; color: var(--ink); }
.kh-post-featured__excerpt { margin: 0; color: var(--muted); }
.kh-post-featured__meta { margin: 0; font-size: 14px; color: var(--muted); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.kh-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.kh-post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.kh-post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #ECE6DA;
  overflow: hidden;
}
.kh-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kh-post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ECE6DA, #F7F1E6);
}
.kh-post-card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.kh-post-card__cat { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }
.kh-post-card__cat a { color: inherit; text-decoration: none; }
.kh-post-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
}
.kh-post-card__title a { color: var(--ink); text-decoration: none; }
.kh-post-card__excerpt { margin: 0; font-size: 15px; color: var(--muted); flex: 1; }
.kh-post-card__date { margin: 0.35rem 0 0; font-size: 13px; color: var(--muted); }
.kh-pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 2.5rem 0 0;
  flex-wrap: wrap;
}
.kh-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; }
.kh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.kh-pagination .page-numbers.current,
.kh-pagination .page-numbers:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.kh-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.kh-empty__mark { display: flex; justify-content: center; margin-bottom: 1rem; }
.kh-empty__svg { width: 48px; height: auto; }
.kh-empty__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.kh-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}
.kh-search input[type="search"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
}

/* —— Plain page —— */
.kh-page-plain { padding: 2.5rem 0 5rem; }
.kh-page-plain__inner { max-width: 760px; }
.kh-page-plain__title {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

/* —— Landing —— */
.kh-landing__hero {
  padding: 3rem 0 2rem;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(242, 179, 61, 0.25), transparent 50%),
    radial-gradient(ellipse at 10% 40%, rgba(185, 167, 255, 0.22), transparent 45%),
    var(--paper);
}
/* Başlık + gövde: aynı ortalı 880px sütun (kh-container margin-inline:auto) */
.kh-landing__hero-inner,
.kh-landing__body {
  max-width: 880px;
  width: 100%;
  margin-inline: auto;
}
.kh-landing__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
}
.kh-landing__lead {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--muted);
  line-height: 1.55;
}
.kh-landing__body { padding: 2rem 0 3rem; }
.kh-landing__body .kh-prose {
  max-width: none;
}

/* —— Contact —— */
.kh-contact { padding: 2.5rem 0 5rem; }
.kh-contact__header { max-width: 40rem; margin-bottom: 2rem; }
.kh-contact__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
}
.kh-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}
.kh-form {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.kh-form .kh-field { margin: 0 0 1rem; }
.kh-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.kh-form .kh-field__opt { font-weight: 500; color: var(--muted); }
.kh-form input[type="text"],
.kh-form input[type="email"],
.kh-form input[type="tel"],
.kh-form input[type="url"],
.kh-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.kh-form textarea { resize: vertical; min-height: 8rem; }
.kh-form__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.kh-field--check label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}
.kh-field--check input { margin-top: 0.2rem; flex-shrink: 0; }
.kh-contact__card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.25rem;
}
.kh-contact__card-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}
.kh-contact__card a { color: var(--ink); }
.kh-contact__hours { margin: 0; color: var(--muted); line-height: 1.5; }
.kh-notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}
.kh-notice--ok { background: var(--success-bg); color: var(--success-ink); }
.kh-notice--err { background: #FFE8E2; color: #B33A22; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .kh-hero__grid { grid-template-columns: 1fr; }
  .kh-hero__visual {
    max-width: 34rem;
    margin-inline: auto;
    width: 100%;
  }
  .kh-modules__grid,
  .kh-pricing__grid { grid-template-columns: 1fr; max-width: 28rem; margin-inline: auto; }
  .kh-proof__panel { grid-template-columns: 1fr; }
  .kh-how__curve { display: none; }
  .kh-how__steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .kh-cta__band { flex-direction: column; align-items: flex-start; }
  .kh-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-footer__top { grid-template-columns: 1fr; }
  .kh-contact__grid { grid-template-columns: 1fr; }
}

/* ≤1024: çipler kartın altında alt alta (masaüstü köşe taşması kalkar) */
@media (max-width: 1024px) {
  .kh-hero__stage {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .kh-browser__body { padding-bottom: 1.5rem; }
  .kh-browser__url { max-width: none; flex: 1; }
  .kh-chip {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .kh-pen { display: none; }
  .kh-post-featured { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .kh-header__inner { min-height: 72px; padding-block: 0.65rem; }
  .kh-logo__svg,
  .kh-logo__img {
    height: 32px;
    max-width: min(165px, 48vw);
  }
  .kh-nav-toggle { display: block; }
  .kh-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .kh-nav.is-open { display: flex; }
  .kh-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .kh-nav__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .kh-nav__actions .kh-btn { width: 100%; }
  .kh-hero { padding-top: 1.25rem; }
  .kh-hero__title { font-size: clamp(2.25rem, 10vw, 3rem); }
  .kh-compat__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .kh-card { min-height: 0; }
  .kh-plan { min-height: 0; }
  .kh-faq__q { font-size: 17px; padding: 1.1rem 1.15rem; }
  .kh-post-grid { grid-template-columns: 1fr; }
  .kh-footer__cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .kh-single__inner,
  .kh-page-plain__inner { max-width: 100%; }
  .kh-prose,
  .kh-prose--wide { max-width: 100%; }
}

@media (max-width: 390px) {
  .kh-hero__actions .kh-btn { width: 100%; }
  .kh-browser__body { padding: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kh-btn,
  .kh-faq__icon { transition: none; }
}
