/* Yeni tasarım dilinin tabanı ve ana sayfa (html/index.html) bölümleri.
   Ana sayfa ve yeni tasarıma taşınan sayfalar (<html data-tasarim="yeni">, ör. html/restoran.html) yükler.
   Ortak taban (belirteçler, .ah-* yazı, düğme, bölüm, tablo, SSS, kapanış, görünüme girme) her iki sayfada geçerlidir;
   html[data-page="home"] ile başlayan kurallar yalnız ana sayfanındır. Ürün sayfalarının kendi bölümleri: css/urun-sayfa.css.
   Kurallar: projemd/TASARIM-KURALLARI.md. Hareketin betiği: js/ana-sayfa.js.
   Ürün demosunun (hd-*) kendi stilleri: css/ana-sayfa-demo.css. */

/* ---------- Belirteçler ---------- */
html:is([data-page="home"], [data-tasarim="yeni"]) {
  --ah-paper: #f7f7f5;
  --ah-white: #ffffff;
  --ah-ink: #0b1120;
  --ah-ink-2: #5d626c;
  --ah-line: #e3e3de;
  --ah-accent: #fc6800;
  --ah-peach: #fff0e5;
  --ah-ease: cubic-bezier(.2, .7, .2, 1);
  /* Üst çubuk ve alt bilgiyle aynı kenar: site kabı 1200 px, iç boşluk 32 px. */
  --ah-gutter: 32px;
  --ah-max: 1136px;
  --ah-space: 88px;
  --ah-header: var(--anchor-header-height, 72px);
  /* Ortak bileşenlerin (pencereler, menü) palet dışı takma adları ana sayfada markaya çekilir. */
  --accent-hover: #0b1120; --accent-teal-hover: #0b1120; --off-white: #f7f7f5; --surface: #f7f7f5;
  --light-gray: #eeeeee; --primary-light: #333333; --dark-gray: #0b1120;
  --text-light: #777777; --text-secondary: #666666; --text-muted: #777777; --gray: #999999;
  --green: #0b1120; --green-bg: #fff0e5; --red: #0b1120; --red-bg: #fff0e5;
  --blue: #0b1120; --blue-bg: #f7f7f5; --yellow: #0b1120; --yellow-bg: #fff0e5;
}
html:is([data-page="home"], [data-tasarim="yeni"]) body { background: var(--ah-paper); }
html:is([data-page="home"], [data-tasarim="yeni"]) .whatsapp-float { background: var(--ah-ink); }

/* ---------- Temel ---------- */
.ah {
  color: var(--ah-ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  font-feature-settings: "ss01" 0;
}
.ah :where(h1, h2, h3, h4) { font-weight: 500; }
.ah [id] { scroll-margin-top: calc(var(--ah-header) + 24px); }
.ah :is(a, button):focus-visible { outline: 2px solid var(--ah-ink); outline-offset: 3px; }

.ah-wrap {
  width: 100%;
  max-width: calc(var(--ah-max) + var(--ah-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--ah-gutter);
}
.ah-section { padding-block: var(--ah-space); }
.ah-tabular { font-variant-numeric: tabular-nums; }

/* Büyük başlık: ilk satır lacivert, ikinci satır gri. */
.ah-display {
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ah-title {
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.1;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.ah :is(.ah-display, .ah-title) > span { display: block; color: var(--ah-ink-2); }
.ah-lead { max-width: 44ch; color: var(--ah-ink-2); font-size: 17px; line-height: 1.55; }
.ah-text { max-width: 56ch; color: var(--ah-ink-2); }
.ah-note { max-width: 86ch; color: var(--ah-ink-2); font-size: 15px; }
.ah-sub { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }

.ah-head { max-width: 860px; }
.ah-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  max-width: none;
}

/* ---------- Düğmeler ---------- */
.ah-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Düğmelerin görünümü (.ah-btn, boyut, tür, durum, ok) css/style.css içindeki "Düğme sistemi" bölümündedir; burada yalnız yerleşim kalır. */

/* ---------- Hero: ortalı başlık, altında sahne ---------- */
.ah-hero { padding-top: 72px; }
.ah-hero-head { padding-bottom: 60px; text-align: center; }
.ah-hero-head .ah-display { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.045em; }
/* Almanca satırlar daha uzun; iki satırda kalsın diye başlık bir kademe küçülür. */
html[data-page="home"]:lang(de) .ah-hero-head .ah-display { font-size: clamp(36px, 4.8vw, 72px); }
/* Başlık ilk boyamada görünür; yerleşme yalnız konumu oynatır, opaklığı değil. */
.ah-hero-head > * { animation: ah-settle .7s var(--ah-ease) both; }
@keyframes ah-settle { from { transform: translateY(18px); } to { transform: none; } }

/* Sahne: kağıt zemine oturan yuvarlak köşeli lacivert panel. Kenardan 16 px içeride başlar,
   kaydırdıkça içerik genişliğine çekilir (--p: 0..1). Başlıkla arasında keskin bir şerit kalmaz. */
.ah-stage {
  --p: 0;
  --ah-stage-edge: 16px;
  position: relative;
  padding: 40px 0 72px;
  background: var(--ah-ink);
  clip-path: inset(0 calc(var(--ah-stage-edge) + var(--p) * (max(var(--ah-gutter), (100% - var(--ah-max)) / 2) - var(--ah-stage-edge))) round 28px);
}
.ah-stage-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* Duvar kâğıdı: kodla çizilen nokta deseni (js/sahne-duvar.js). İki yumuşak sırt, noktaların boyutuyla
   anlatılır; alttaki sırt turuncudur. Altbilgideki nokta yazıyla aynı dil. Betik yoksa düz lacivert kalır. */
.ah-stage-duvar { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ah-stage-inner {
  position: relative;
  width: min(1000px, 100% - var(--ah-gutter) * 2 - var(--ah-stage-edge) * 2);
  margin-inline: auto;
  animation: ah-rise .9s var(--ah-ease) both;
}
@keyframes ah-rise { from { transform: translateY(36px); } to { transform: none; } }

/* Logo satırı: ilk ekranda görüş alanının altına yapışır, sahne bitince yerine oturur. */
.ah-logos {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: var(--ah-paper);
  border-block: 1px solid var(--ah-line);
}
/* Markalar türüne göre üç grupta durur (e-Fatura, Terazi, e-Yemek); her grup aşağıdaki kendi paneline götürür. */
.ah-logos-inner { display: flex; align-items: center; gap: 36px; min-height: 84px; }
.ah-logos-label { flex: 0 0 auto; max-width: 10em; color: var(--ah-ink-2); font-size: 13px; line-height: 1.35; }
.ah-logos-label:hover { color: var(--ah-ink); }
.ah-logos-list { display: flex; flex: 1; align-items: stretch; justify-content: space-between; min-width: 0; list-style: none; }
.ah-logos-list li { display: flex; flex: 0 1 auto; min-width: 0; }
.ah-logos-list li + li { padding-left: 28px; border-left: 1px solid var(--ah-line); }
.ah-logos-list a { display: grid; gap: 7px; align-content: center; min-width: 0; padding-block: 12px; }
.ah-logos-kind { color: var(--ah-ink-2); font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; transition: color 160ms var(--ah-ease); }
@media (hover: hover) { .ah-logos-list a:hover .ah-logos-kind { color: var(--ah-ink); } }
.ah-logos-set { display: flex; align-items: center; gap: 22px; min-width: 0; }
.ah-logos-set img { flex: 0 1 auto; width: auto; height: 26px; min-width: 0; max-width: 100%; object-fit: contain; }

/* ---------- Yarı hibrit cümlesi ve sayılar ---------- */
.ah-hybrid { padding-top: calc(var(--ah-space) + 40px); }
.ah-statement {
  --p: 1;
  --n: 1;
  max-width: 21em;
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.035em;
}
/* Kelimeler kaydırma ilerledikçe sırayla koyulaşır; betik yoksa hepsi tam görünür. */
.ah-statement .ah-w { opacity: clamp(.16, calc((var(--p) * (var(--n) + 5) - var(--i)) / 5), 1); }
.ah-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 104px;
}
.ah-stat { padding-top: 24px; border-top: 1px solid var(--ah-line); }
.ah-num {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ah-stat dd { margin-top: 12px; color: var(--ah-ink-2); font-size: 15px; }
/* Basamaklar tek tek, aşağıdan ve bulanıktan gelir. */
.ah-num .ah-d { display: inline-block; }
.ah-num.is-roll .ah-d { animation: ah-digit 420ms var(--ah-ease) both; animation-delay: calc(var(--d) * 55ms); }
@keyframes ah-digit {
  from { opacity: 0; transform: translateY(.42em); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Ürünler: üst üste dizilen kartlar ---------- */
.ah .products-grid { display: block; margin-top: 56px; }
html[data-page="home"] .ah .product-card {
  --i: 0;
  --cover: 0;
  position: sticky;
  top: calc(var(--ah-header) + 28px + var(--i) * 18px);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: "body img";
  min-height: 452px;
  margin: 0 0 28px;
  padding: 0;
  overflow: hidden;
  background: var(--ah-white);
  border: 1px solid var(--ah-line);
  border-radius: 24px;
  box-shadow: none;
  cursor: default;
  opacity: 1;
  animation: none;
  transform: scale(calc(1 - var(--cover) * .035));
  transform-origin: 50% 0;
  transition: none;
  will-change: transform;
}
html[data-page="home"] .ah .product-card:is(:hover, :active) {
  transform: scale(calc(1 - var(--cover) * .035));
  box-shadow: none;
  border-color: var(--ah-line);
}
/* Üstüne kart gelen kart geriye çekilirken kağıt rengine doğru solar. */
html[data-page="home"] .ah .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ah-paper);
  opacity: calc(var(--cover) * .5);
  pointer-events: none;
}
html[data-page="home"] .ah .product-img {
  grid-area: img;
  display: flex;
  height: auto;
  min-height: 0;
  margin: 12px;
  overflow: hidden;
  background: var(--ah-paper);
  border: 0;
  border-radius: 14px;
  transform: none;
}
/* Yalnız doğrudan çocuk: sahnelerin içindeki küçük SVG'ler (barkod, imza) bu ölçüyü almaz. */
html[data-page="home"] .ah .product-img > :is(img, svg) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
html[data-page="home"] .ah .product-card:hover .product-img { opacity: 1; }
html[data-page="home"] .ah .product-img-fallback { background: var(--ah-paper); }
html[data-page="home"] .ah .product-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 36px 40px 44px;
}
html[data-page="home"] .ah .product-body h3 {
  margin: 0;
  color: var(--ah-ink);
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
html[data-page="home"] .ah .product-body p {
  max-width: 38ch;
  margin: 18px 0 0;
  color: var(--ah-ink-2);
  font-size: 17px;
  line-height: 1.55;
}
/* Ürün bağlantısı düğme sisteminin küçük, ikincil, oklu düğmesidir (css/style.css); burada yalnız yerleşim. */
html[data-page="home"] .ah .product-link { margin-top: auto; }
html[data-page="home"] .ah .product-body p { margin-bottom: 28px; }

/* ---------- İki sütun: solda yapışan başlık ---------- */
.ah-split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.ah-split-side { position: sticky; top: calc(var(--ah-header) + 48px); display: grid; gap: 20px; }

/* e-Dönüşüm adımları: solda numaralı ray, sağda belge. Ray kaydırdıkça turuncuya dolar.
   Durum sınıflarını (is-reached, is-done, is-active) ve --lp değerini js/ana-sayfa.js yazar;
   betik yokken ya da az hareket tercihinde bütün adımlar açık ve görünür durur. */
.ah-docs { --lp: 0; position: relative; display: grid; list-style: none; }
.ah-doc { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 24px; padding-bottom: 40px; }
.ah-doc:last-child { padding-bottom: 0; }
/* Ray: her adım kendi parçasını çizer (numaradan bir sonraki numaraya). */
.ah-doc::before,
.ah-doc::after { content: ""; position: absolute; left: 17.5px; top: 36px; bottom: 0; width: 1px; background: var(--ah-line); }
.ah-doc::after { left: 17px; width: 2px; background: var(--ah-accent); border-radius: 2px; transform: scaleY(0); transform-origin: 50% 0; }
.ah-doc:last-child::before,
.ah-doc:last-child::after { content: none; }
.ah-doc.is-done::after { transform: scaleY(1); }
.ah-doc.is-active::after { transform: scaleY(var(--lp)); }
.ah-doc-no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--ah-paper);
  border: 1px solid var(--ah-line);
  border-radius: 50%;
  color: var(--ah-ink-2);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: background-color 260ms var(--ah-ease), border-color 260ms var(--ah-ease), color 260ms var(--ah-ease), box-shadow 260ms var(--ah-ease);
}
.ah-doc.is-reached .ah-doc-no { background: var(--ah-white); border-color: var(--ah-ink); color: var(--ah-ink); }
/* Etkin numara: beyaz zemin, turuncu halka, lacivert rakam (turuncu üstünde beyaz küçük rakam okunmuyordu). */
.ah-doc.is-active .ah-doc-no { background: var(--ah-white); border-color: var(--ah-accent); color: var(--ah-ink); font-weight: 600; box-shadow: 0 0 0 1px var(--ah-accent), 0 0 0 7px var(--ah-peach); }
.ah-doc-body { min-width: 0; }
.ah-doc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 36px; }
.ah-doc h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; transition: color 220ms var(--ah-ease); }
.ah-doc-when { padding: 4px 10px; background: var(--ah-white); border: 1px solid var(--ah-line); border-radius: 999px; color: var(--ah-ink-2); font-size: 13px; line-height: 1.3; white-space: nowrap; }
.ah-doc.is-active .ah-doc-when { background: var(--ah-peach); border-color: transparent; color: var(--ah-ink); }
.ah-doc-more > div { padding-top: 10px; }
.ah-doc-more p { max-width: 52ch; color: var(--ah-ink-2); }
.ah-doc-points { display: grid; gap: 10px; max-width: 54ch; margin-top: 16px; list-style: none; }
.ah-doc-points li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; }
/* Madde işareti: turuncu onay çizgisi. */
.ah-doc-points li::before { content: ""; position: absolute; left: 3px; top: .34em; width: 6px; height: 11px; border: solid var(--ah-accent); border-width: 0 2px 2px 0; transform: rotate(42deg); }
/* Başlık sabit sahnede düğmedir (betik role ve tabindex verir): belge doğrudan seçilebilir. */
.ah-doc-btn[role="button"] { cursor: pointer; border-radius: 6px; }
.ah-doc-btn[role="button"]:hover { color: var(--ah-ink); }
.ah-doc-btn[role="button"]:focus-visible { outline: 2px solid var(--ah-ink); outline-offset: 4px; }
/* Dört belgenin adı baştan görünür; canlı hâlde ayrıntı, sırası gelince belirir. */
.ah-docs.is-live .ah-doc:not(.is-reached) .ah-doc-more { opacity: 0; transform: translateY(12px); filter: blur(6px); }
.ah-doc-more { transition: opacity 420ms var(--ah-ease), transform 560ms var(--ah-ease), filter 420ms var(--ah-ease); }
.ah-docs.is-live .ah-doc:not(.is-active) h3 { color: var(--ah-ink-2); }

/* e-Dönüşüm çizimleri: dört belge üst üste durur, etkin olan belirir. Çizimin içindeki hareket
   belge etkinleşince bir kez oynar (satırlar sırayla gelir, adımlar turuncuya döner). */
.ah-edoc { position: relative; width: 100%; max-width: 480px; aspect-ratio: 480 / 340; margin-top: 8px; }
.ah-edoc-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  filter: blur(6px);
  transition: opacity 320ms var(--ah-ease), transform 520ms var(--ah-ease), filter 320ms var(--ah-ease);
  pointer-events: none;
}
.ah-edoc-art.is-active { opacity: 1; transform: none; filter: blur(0); transition-delay: 60ms; }
.ah-edoc text { font-family: var(--font-sans); font-weight: 500; font-variant-numeric: tabular-nums; }
.ed-card { fill: var(--ah-white); stroke: var(--ah-line); stroke-width: 1.5; }
.ed-bar { fill: #d9d9d4; }
.ed-ink { fill: var(--ah-ink); }
.ed-acc { fill: var(--ah-accent); }
.ed-ppr { fill: var(--ah-paper); }
.ed-n { fill: var(--ah-ink); font-size: 12px; }
.ed-g { fill: var(--ah-ink-2); font-size: 10.5px; }
.ed-b { fill: var(--ah-ink); font-size: 17px; letter-spacing: -.02em; }
.ed-w { fill: var(--ah-white); font-size: 12px; }
.ed-w-lg { font-size: 17px; }
.ed-h { fill: var(--ah-ink); font-size: 13px; letter-spacing: -.01em; }
.ed-t { fill: var(--ah-ink); font-size: 10.5px; }
.ah-edoc .ed-s { fill: var(--ah-ink-2); font-size: 9px; font-weight: 400; }
.ah-edoc .ed-xs { fill: var(--ah-ink-2); font-size: 7.5px; font-weight: 400; letter-spacing: .02em; }
.ah-edoc .ed-ink-t { fill: var(--ah-ink); font-weight: 500; }
.ed-hair { fill: none; stroke: #eeeeea; stroke-width: 1; }
.ed-qr { fill: var(--ah-ink); }
.ed-truck { fill: var(--ah-ink); }
.ed-wheel { fill: var(--ah-white); stroke: var(--ah-ink); stroke-width: 1.5; }
.ed-guest { fill: none; stroke: var(--ah-ink-2); stroke-width: 1.4; stroke-linecap: round; }
.ed-line { fill: none; stroke: var(--ah-line); stroke-width: 1.5; }
.ed-line-acc { stroke: var(--ah-accent); }
.ed-dash { stroke-dasharray: 2 5; stroke-linecap: round; }
.ed-node { fill: var(--ah-white); stroke: #cfcfca; stroke-width: 1.5; }
.ed-tick { fill: none; stroke: var(--ah-white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ed-tick-acc { stroke: var(--ah-accent); stroke-width: 2.2; }
.ed-seal { fill: var(--ah-peach); stroke: var(--ah-accent); stroke-width: 1.5; }
.ed-env { fill: var(--ah-white); stroke: var(--ah-ink); stroke-width: 1.5; stroke-linejoin: round; }
path.ed-env { fill: none; stroke-linecap: round; }
.ed-mini { fill: var(--ah-white); stroke: var(--ah-ink); stroke-width: 1.5; }
.ed-mini-line { fill: none; stroke: var(--ah-accent); stroke-width: 1.5; stroke-linecap: round; }
.ed-arrow { fill: none; stroke: var(--ah-ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ed-glyph { fill: none; stroke: var(--ah-white); stroke-width: 1.6; stroke-linejoin: round; }
.ed-route { fill: none; stroke: #cfcfca; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1 7; }
.ed-route-acc { stroke: var(--ah-accent); stroke-dasharray: 1; stroke-dashoffset: 0; }
.ed-plate { fill: var(--ah-white); stroke: var(--ah-line); stroke-width: 1.5; }
.ed-box { fill: var(--ah-peach); stroke: var(--ah-ink); stroke-width: 1.5; stroke-linejoin: round; }
.ed-box-line { fill: none; stroke: var(--ah-ink); stroke-width: 1.5; stroke-linejoin: round; }
:is(.ed-in, .ed-pop) { transform-box: fill-box; transform-origin: 50% 50%; }
.ed-go { opacity: 0; offset-rotate: 0deg; }
.ed-grow { transform-box: fill-box; transform-origin: 50% 0; }
.ah-edoc-art.is-active .ed-in { animation: ed-in 520ms var(--ah-ease) both; animation-delay: calc(260ms + var(--k, 0) * 80ms); }
.ah-edoc-art.is-active .ed-on { animation: ed-on 360ms var(--ah-ease) both; animation-delay: calc(var(--t, 0) * 1s); }
.ah-edoc-art.is-active .ed-pop { animation-name: ed-pop; animation-duration: 460ms; }
.ah-edoc-art.is-active .ed-grow { animation: ed-grow 1500ms var(--ah-ease) both; animation-delay: calc(var(--t, 0) * 1s); }
.ah-edoc-art.is-active .ed-draw { animation: ed-draw 1500ms cubic-bezier(.45, 0, .3, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
@supports (offset-path: path("M0 0")) {
  .ah-edoc-art.is-active .ed-go { animation: ed-go 1000ms cubic-bezier(.45, 0, .3, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
  .ah-edoc-art.is-active .ed-go-slow { animation-duration: 1500ms; }
}
@keyframes ed-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ed-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes ed-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes ed-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ed-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ed-go { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 86% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* ---------- ÖKC ----------
   Vitrin: seçili markanın cihazı solda büyük, sahnede durur; sağında marka adı, model düğmeleri ve seçilen
   modelin ayrıntısı açılır. Altta bütün markaların küçük görselli seçim şeridi vardır (site-render.js çizer). */
.ah-okc-devices {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: "head head" "stage name" "stage models" "stage slot" "rail rail";
  margin-top: 56px;
  overflow: hidden;
  background: var(--ah-white);
  border: 1px solid var(--ah-line);
  border-radius: 24px;
}
.ah-okc-panel-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; padding: 26px 32px; border-bottom: 1px solid var(--ah-line); }
.ah-okc-panel-head .ah-note { max-width: 46ch; }
.ah .okc-models, .ah .okc-brand { display: contents; }
.ah .okc-brand:not(.is-current) > * { display: none; }
/* Sahne: kâğıt zemin, ortada şeftali daire, altında yumuşak zemin gölgesi. Fotoğrafın beyaz zemini çarpılarak erir. */
.ah .okc-brand-img {
  position: relative;
  grid-area: stage;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 34vw, 460px);
  margin: 0;
  overflow: hidden;
  background: var(--ah-paper);
  border-right: 1px solid var(--ah-line);
  isolation: isolate;
}
.ah .okc-brand-img::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(62%, 340px); aspect-ratio: 1; background: var(--ah-peach); border-radius: 50%; translate: -50% -52%; z-index: -1; }
.ah .okc-brand-img::after { content: ""; position: absolute; left: 50%; bottom: 13%; width: 46%; height: 22px; background: rgba(11, 17, 32, .16); border-radius: 50%; filter: blur(14px); translate: -50% 0; z-index: -1; }
.ah .okc-brand-img img { width: auto; max-width: 62%; height: auto; max-height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.ah .okc-brand.is-current > .okc-brand-img img { animation: okc-sahne 520ms var(--ah-ease) both; }
.ah .okc-brand.is-current > :is(.okc-device-brand, .okc-brand-models) { animation: ah-in 420ms var(--ah-ease) both; }
@keyframes okc-sahne { from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.ah .okc-device-brand { display: block; color: var(--ah-ink-2); font-size: 13px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.ah .okc-brand .okc-device-brand { grid-area: name; padding: 44px 40px 0; color: var(--ah-ink); font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.ah .okc-brand-models { grid-area: models; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding: 18px 40px 0; }
/* Seçim şeridi */
.ah .okc-rail { grid-area: rail; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--ah-line); }
.ah .okc-pick { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 0; padding: 14px 8px 16px; background: none; border: 0; border-right: 1px solid var(--ah-line); color: var(--ah-ink-2); font: 500 13.5px/1.2 var(--font-sans); cursor: pointer; transition: background-color 180ms var(--ah-ease), color 180ms var(--ah-ease); }
.ah .okc-pick:last-child { border-right: 0; }
.ah .okc-pick:hover { background: var(--ah-paper); color: var(--ah-ink); }
.ah .okc-pick[aria-pressed="true"] { background: var(--ah-paper); color: var(--ah-ink); }
.ah .okc-pick::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ah-accent); transform: scaleX(0); transition: transform 260ms var(--ah-ease); }
.ah .okc-pick[aria-pressed="true"]::after { transform: scaleX(1); }
.ah .okc-pick:focus-visible { outline: 2px solid var(--ah-accent); outline-offset: -3px; }
.ah .okc-pick-img { display: grid; place-items: center; width: 64px; height: 52px; }
.ah .okc-pick-img img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ah .okc-pick-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-page="home"] .ah .okc-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding: 0 12px;
  background: var(--ah-white);
  border: 1px solid var(--ah-line);
  border-radius: 999px;
  box-shadow: none;
  color: var(--ah-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  opacity: 1;
  transform: none;
  animation: none;
  transition: border-color 160ms var(--ah-ease), background-color 160ms var(--ah-ease), transform 100ms var(--ah-ease);
  transition-delay: 0s !important;
}
html[data-page="home"] .ah .okc-card:hover { transform: none; border-color: var(--ah-ink); box-shadow: none; }
html[data-page="home"] .ah .okc-card:active { transform: scale(.97); }
html[data-page="home"] .ah .okc-card[aria-expanded="true"] { background: var(--ah-peach); border-color: var(--ah-accent); }
html[data-page="home"] .ah .okc-model-chip { display: inline; padding: 0; background: none; border: 0; border-radius: 0; color: inherit; font-size: inherit; font-weight: 500; line-height: inherit; }
/* "Cihazı incele" yazısı düğmenin erişilebilir adında durur; ekranda yalnız ok görünür. */
.ah .okc-card-hint { display: inline-flex; margin: 0; color: var(--ah-ink-2); font-size: 0; line-height: 1; }
.ah .okc-card-hint > span { font-size: 13px; transition: transform 160ms var(--ah-ease), color 160ms var(--ah-ease); }
.ah .okc-card:hover .okc-card-hint > span { color: var(--ah-ink); transform: translate(1px, -1px); }
.ah .okc-card[aria-expanded="true"] .okc-card-hint > span { color: var(--ah-accent); }
@keyframes ah-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ah .okc-details-slot { grid-area: slot; display: flow-root; min-width: 0; padding: 0 40px; }
.ah .okc-details-slot:has(.okc-details[open]) { padding-bottom: 32px; }
.ah .okc-details {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 32px;
  overflow: hidden;
  background: var(--ah-white);
  border: 0;
  border-top: 1px solid var(--ah-line);
  border-radius: 0;
  color: var(--ah-ink);
  transform-origin: top;
}
.ah .okc-details:not([open]) { display: none; }
/* Geniş ekranda ayrıntı sağ sütunda, model düğmelerinin altında açılır; cihaz görseli zaten sahnededir. */
@media (min-width: 769px) {
  .ah .okc-details { margin-top: 22px; padding: 22px 0 0; }
  .ah .okc-details .okc-details-content { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ah .okc-details .okc-details-visual { display: none; }
  .ah .okc-details .okc-device-brand { display: none; }
  .ah .okc-details .okc-details-copy h3 { margin: 0 52px 10px 0; font-size: 20px; }
  .ah .okc-details .okc-details-close { top: 14px; right: -8px; }
  .ah .okc-details .okc-device-features li { padding: 8px 0; font-size: 14.5px; }
}
.ah .okc-details-content { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); align-items: start; gap: 40px; }
.ah .okc-details-visual { min-width: 0; }
.ah .okc-details-visual img { width: 100%; height: auto; aspect-ratio: 1; padding: 20px; object-fit: contain; background: var(--ah-white); border: 1px solid var(--ah-line); border-radius: 14px; }
.ah .okc-details-visual figcaption { margin-top: 10px; color: var(--ah-ink-2); font-size: 13px; line-height: 1.4; }
.ah .okc-details-copy h3 { margin: 2px 48px 16px 0; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.ah .okc-device-features { margin: 0 0 16px; list-style: none; }
.ah .okc-device-features li { padding: 10px 0; border-bottom: 1px solid var(--ah-line); font-size: 15px; line-height: 1.5; }
.ah .okc-device-note { margin: 0 0 12px; color: var(--ah-ink-2); font-size: 13px; line-height: 1.5; }
.ah .okc-device-sources { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 16px; }
.ah .okc-device-sources a { padding-block: 6px; color: var(--ah-ink-2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ah .okc-details-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--ah-paper);
  border: 0;
  border-radius: 50%;
  color: var(--ah-ink);
  cursor: pointer;
}
.ah-okc-rules { margin-top: 72px; }

/* Çizgiyle ayrılan metin sütunları (ÖKC mevzuatı, çözümler). */
.ah-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.ah-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.ah-col { padding-top: 22px; border-top: 1px solid var(--ah-line); }
.ah-col :is(h3, h4) { font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.ah-col p { margin-top: 8px; color: var(--ah-ink-2); font-size: 15px; }
.ah-col .ah-btn { margin-top: 18px; }

/* ---------- Ekosistem (ana sayfa) ----------
   Olağan hâl (telefon, az hareket, betik yok): üç tür alt alta beyaz panel; solda ne işe yaradığı, sağda karolar.
   Sabit sahne (.is-pin, masaüstü): başlık yerinde durur, türler sırayla gelir; karolar uygulama simgesi
   biçiminde (yuvarlak köşeli kare) yanlardan uçarak yerleşir. Uçuş yönleri betikten gelir (--dx, --dy, --rot). */
.ah-int { position: relative; overflow-x: clip; }
/* Başlık ve açıklama sekmeler ve karolarla aynı eksende, ortada durur. */
.ah-int .ah-head-split { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; text-align: center; }
.ah-int .ah-head-split .ah-text { max-width: 60ch; }
.ah-int .ah-pin { position: relative; }
.ah-int .ah-wrap { position: relative; z-index: 1; }
/* "Turuncu hava": iki yandan bölüme doğru akan seyrek, küçük noktalar (js/ana-sayfa.js çizer). Süs. */
.ah-eco-hava { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.ah-eco { display: grid; gap: 16px; margin-top: 56px; }
.ah-eco-steps { display: none; }
.ah-eco-row {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
  align-items: center;
  background: var(--ah-white);
  border: 1px solid var(--ah-line);
  border-radius: 24px;
}
.ah-eco-side { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 32px 36px; }
.ah-eco-side h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.ah-eco-side p { max-width: 32ch; color: var(--ah-ink-2); font-size: 15px; line-height: 1.5; }
.ah-eco-tiles { --tile: 84px; display: flex; flex-wrap: wrap; gap: 20px 22px; padding: 28px 32px 28px 0; list-style: none; }
/* Geliş: karo hafifçe aşağıdan, bulanıktan netleşerek yerine oturur; ortadakiler önce, kısa sıralı gecikmeyle.
   Yatay hareket, yay ve yaylanma yok. Sıra betikten (ya da kolajda HTML'den) --i ile gelir. */
.ah-eco-tiles li {
  display: grid; justify-items: center; gap: 10px; width: var(--tile);
  transition: opacity 460ms var(--ah-ease), filter 460ms var(--ah-ease), transform 620ms cubic-bezier(.2, .75, .25, 1);
  transition-delay: calc(var(--i, 0) * 55ms);
}
/* Karo: uygulama simgesi oranında yuvarlak köşeli kare. Logolu karoda logo beyaz zeminde, kendi renginde durur. */
.ah-eco-tile {
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  overflow: hidden;
  background: var(--ah-white);
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(11, 17, 32, .08), 0 10px 24px -12px rgba(11, 17, 32, .28);
  transition: transform 300ms var(--ah-ease);
}
/* Karolar imlece göre kaymaz: tek ve çift karoya farklı kayma satırın aralarını ve ortasını bozuyordu.
   Bölümdeki imleç tepkisi yalnız arka plandaki turuncu parçacıklarda kalır. */
/* --ox/--oy: görsel ağırlığı bir yana yatan logolar için optik ortalama payı (logo başına, HTML'de). */
.ah-eco-tile img { width: 76%; height: auto; max-height: 62%; object-fit: contain; translate: var(--ox, 0) var(--oy, 0); }
.ah-eco-tile.is-app img, .ah-eco-pop-logo.is-app img { translate: none; }
.ah-eco-tile.is-app img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.ah-eco-name { width: 100%; max-width: 100%; overflow-wrap: anywhere; color: var(--ah-ink-2); font-size: 12.5px; line-height: 1.25; text-align: center; text-wrap: balance; }
@media (hover: hover) { .ah-eco-tiles li:hover .ah-eco-tile { transform: translateY(-4px) scale(1.04); } }
/* Karo bir düğmedir: tıklanınca yanında markayı kısaca anlatan baloncuk açılır (yerel popover; metin ilk HTML'dedir). */
.ah-eco-btn { display: grid; justify-items: center; gap: 10px; width: 100%; padding: 0; background: none; border: 0; border-radius: 14px; color: inherit; font: inherit; cursor: pointer; }
.ah-eco-btn:focus-visible { outline: 2px solid var(--ah-accent); outline-offset: 6px; }
.ah-eco-btn[aria-expanded="true"] .ah-eco-tile { box-shadow: 0 0 0 2px var(--ah-accent), 0 10px 24px -12px rgba(11, 17, 32, .28); }
.ah-eco-pop { position: fixed; inset: 0; width: min(320px, calc(100vw - 32px)); height: fit-content; margin: auto; padding: 16px 18px 18px; overflow: visible; background: var(--ah-white); border: 1px solid var(--ah-line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(11, 17, 32, .35), 0 2px 8px rgba(11, 17, 32, .06); color: var(--ah-ink); }
.ah-eco-pop.is-at { inset: auto; left: var(--px); top: var(--py); bottom: var(--pb); margin: 0; }
.ah-eco-pop.is-at::before { content: ""; position: absolute; left: calc(var(--ax) - 7px); top: -7px; width: 12px; height: 12px; background: var(--ah-white); border: solid var(--ah-line); border-width: 1px 0 0 1px; rotate: 45deg; }
.ah-eco-pop.is-at.is-up::before { top: auto; bottom: -7px; rotate: 225deg; }
.ah-eco-pop:popover-open { animation: ahPopIn 240ms var(--ah-ease); }
.ah-eco-pop.is-up:popover-open { animation-name: ahPopInUp; }
.ah-eco-pop::backdrop { background: transparent; }
@keyframes ahPopIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
@keyframes ahPopInUp { from { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes ahSheetIn { from { transform: translateY(100%); } }
.ah-eco-pop-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; align-items: center; gap: 12px; margin-bottom: 10px; }
.ah-eco-pop-logo { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; background: var(--ah-white); border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(11, 17, 32, .1); }
.ah-eco-pop-logo img { width: 78%; height: auto; max-height: 64%; object-fit: contain; translate: var(--ox, 0) var(--oy, 0); }
.ah-eco-pop-logo.is-app img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.ah-eco-pop h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.ah-eco-pop p { margin: 0; color: var(--ah-ink-2); font-size: 14px; line-height: 1.5; }
.ah-eco-pop p.ah-eco-pop-rel { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ah-line); color: var(--ah-ink); font-size: 13px; }
.ah-eco-pop-x { position: relative; width: 32px; height: 32px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--ah-ink-2); cursor: pointer; }
.ah-eco-pop-x::before, .ah-eco-pop-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; border-radius: 1px; rotate: 45deg; }
.ah-eco-pop-x::after { rotate: -45deg; }
.ah-eco-pop-x:hover { background: var(--ah-paper); color: var(--ah-ink); }
.ah-eco-pop-x:focus-visible { outline: 2px solid var(--ah-accent); outline-offset: 2px; }
/* Canlı hâlde sırası gelmemiş panelin karoları uzakta bekler; panel etkinleşince uçarak gelir. */
.ah-eco.is-live .ah-eco-row:not(.is-active) .ah-eco-tiles li { opacity: 0; filter: blur(6px); transform: translateY(20px) scale(.97); transition-duration: 200ms; transition-timing-function: var(--ah-ease); transition-delay: 0s; }

/* Sabit sahne */
.ah-int { --pin-len: 400; --pin-pt: var(--ah-space); --pin-pb: var(--ah-space); }
.ah-int.is-pin .ah-eco { gap: 0; margin-top: clamp(28px, 5svh, 52px); justify-items: center; }
.ah-int.is-pin .ah-eco-steps { display: flex; gap: 8px; margin-bottom: clamp(20px, 3.4svh, 36px); padding: 4px; background: var(--ah-white); border: 1px solid var(--ah-line); border-radius: 999px; }
.ah-eco-steps button { position: relative; min-height: 36px; padding: 0 18px; overflow: hidden; background: transparent; border: 0; border-radius: 999px; color: var(--ah-ink-2); font: 500 14px/1 var(--font-sans); cursor: pointer; transition: color 200ms var(--ah-ease), background-color 200ms var(--ah-ease); }
.ah-eco-steps button:hover { color: var(--ah-ink); }
.ah-eco-steps button[aria-pressed="true"] { background: var(--ah-peach); color: var(--ah-ink); }
/* Etkin sekmenin altında adımın ilerleyişi (kaydırma ya da kendiliğinden ilerleme) dolar. */
.ah-eco-steps button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--ah-accent); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; }
.ah-eco-steps button[aria-pressed="true"]::after { transform: scaleX(var(--lp, 0)); }
.ah-int.is-pin .ah-eco-row { grid-area: 2 / 1; grid-template-columns: minmax(0, 1fr); justify-items: center; width: 100%; background: none; border: 0; border-radius: 0; }
.ah-int.is-pin .ah-eco-row:not(.is-active) { pointer-events: none; }
.ah-int.is-pin .ah-eco-side { align-items: center; gap: 12px; padding: 0; text-align: center; transition: opacity 420ms var(--ah-ease), transform 560ms var(--ah-ease), filter 420ms var(--ah-ease), visibility 0s; }
.ah-int.is-pin .ah-eco-row:not(.is-active) .ah-eco-side { opacity: 0; transform: translateY(12px); filter: blur(6px); visibility: hidden; transition-delay: 0s, 0s, 0s, 420ms; }
.ah-int.is-pin .ah-eco-side h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.ah-int.is-pin .ah-eco-side p { max-width: 52ch; font-size: 17px; }
.ah-int.is-pin .ah-eco-tiles { --tile: clamp(84px, 8.4vw, 116px); justify-content: center; gap: 24px clamp(20px, 2.6vw, 40px); margin-top: clamp(28px, 5svh, 56px); padding: 0; }
.ah-int.is-pin .ah-eco-name { font-size: 13.5px; }
/* Kapanış adımı: bütün logolar karışık ama dengeli bir kolajda birlikte durur (yalnız sabit sahnede).
   Konum ve boyut kabın ölçüsüne bağlıdır (cqw/cqh); karolar üst üste binmez. */
.ah-eco-all { display: none; }
.ah-int.is-pin .ah-eco-all { display: grid; }
.ah-int.is-pin .ah-eco-kolaj { position: relative; display: block; width: min(100%, 980px); height: clamp(230px, 36svh, 340px); margin-top: clamp(20px, 3.4svh, 40px); container-type: size; }
.ah-int.is-pin .ah-eco-kolaj li { position: absolute; left: var(--x); top: var(--y); width: var(--tile); margin: calc(var(--tile) / -2) 0 0 calc(var(--tile) / -2); }
.ah-int.is-pin .ah-eco-kolaj li.is-l { --tile: 30cqh; }
.ah-int.is-pin .ah-eco-kolaj li.is-m { --tile: 24cqh; }
.ah-int.is-pin .ah-eco-kolaj li.is-s { --tile: 19cqh; }

/* ---------- Entegrasyonlar: sabit logo ızgarası ---------- */
/* Kısa pencere (dizüstünde tarayıcı çubuklarıyla): sahne sıkılaşır ki başlık gezinti çubuğuna yapışmasın. */
@media (min-width: 769px) and (max-height: 860px) {
  .ah-int.is-pin .ah-head-split { gap: 10px; }
  .ah-int.is-pin .ah-head-split .ah-title { font-size: clamp(30px, 3vw, 40px); }
  .ah-int.is-pin .ah-eco { margin-top: 20px; }
  .ah-int.is-pin .ah-eco-steps { margin-bottom: 16px; }
  .ah-int.is-pin .ah-eco-side { gap: 8px; }
  .ah-int.is-pin .ah-eco-side h3 { font-size: clamp(22px, 2vw, 28px); }
  .ah-int.is-pin .ah-eco-side p { font-size: 16px; }
  .ah-int.is-pin .ah-eco-tiles { --tile: clamp(76px, 7vw, 100px); margin-top: 22px; }
  .ah-int.is-pin .ah-eco-kolaj { height: clamp(200px, 33svh, 290px); margin-top: 14px; }
}
.ah-int-table { position: relative; margin-top: 56px; }
.ah-int-row {
  position: relative;
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  align-items: stretch;
}
/* Yatay çizgiler bölüm görünüme girince soldan sağa çizilir. */
.ah-int-table::before,
.ah-int-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ah-line);
  transform-origin: 0 50%;
  transition: transform 900ms var(--ah-ease);
}
.ah-int-table::before { top: 0; }
.ah-int-row::after { bottom: 0; transition-delay: calc(var(--ah-row, 0) * 120ms + 120ms); }
.ah-int-row:nth-child(2) { --ah-row: 1; }
.ah-int-row:nth-child(3) { --ah-row: 2; }
.ah-int-table.is-wait-line::before,
.ah-int-table.is-wait-line .ah-int-row::after { transform: scaleX(0); }
.ah-int-row h3 { align-self: center; padding-right: 24px; font-size: 15px; line-height: 1.4; }
.ah-int-row ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; }
.ah-int-row li {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 20px;
  border-left: 1px solid var(--ah-line);
  transition: background-color 160ms var(--ah-ease);
}
.ah-int-row li:hover { background: var(--ah-white); }
.ah-int-row img { width: auto; height: auto; max-width: 100%; max-height: 40px; object-fit: contain; }
.ah-int-name { font-family: 'Moderna', serif; font-size: 22px; font-weight: 400; line-height: 1; letter-spacing: 0; color: var(--ah-ink); white-space: nowrap; }

/* ---------- Arniva Cloud ---------- */
.ah-cloud-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  padding: 56px;
  overflow: hidden;
  background: var(--ah-ink);
  border-radius: 24px;
  color: var(--ah-white);
}
.ah-cloud-panel::before {
  content: "";
  position: absolute;
  inset: -40px 0;
  transform: translate3d(0, calc((var(--p, .5) - .5) * -56px), 0);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .13) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  pointer-events: none;
}
.ah-cloud-panel > * { position: relative; }
.ah-cloud-main { display: flex; flex-direction: column; align-items: flex-start; }
.ah-cloud-name { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ah-cloud-name h2 { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.1; letter-spacing: -.032em; }
.ah-tag {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
}
.ah-cloud-lead { margin-top: 20px; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.ah-cloud .ah-text { margin-top: 12px; color: rgba(255, 255, 255, .64); font-size: 15px; }
.ah-cloud .ah-btn { margin-top: 32px; }
.ah-cloud-diff { display: grid; align-content: center; gap: 20px; padding-left: 48px; border-left: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .64); font-size: 15px; line-height: 1.6; }
.ah-cloud-diff strong { color: var(--ah-white); font-weight: 500; }

/* ---------- Güncel yazılar: kartları sunucu ekler, yazı yoksa bölüm görünmez ---------- */
.ah .home-posts:not(:has(.home-post-card)),
.home-posts.ah-section:not(:has(.home-post-card)) { display: none; }
.ah .home-posts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ah .home-posts-head .ah-text { margin-top: 12px; }
.ah :is(.home-posts-all, .home-post-link) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ah-ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.ah :is(.home-posts-all, .home-post-link):hover { color: var(--ah-accent); }
.ah .home-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.ah .home-post-card { display: flex; flex-direction: column; min-width: 0; }
.ah .home-post-cover { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ah-white); border-radius: 14px; }
.ah .home-post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ah-ease); }
.ah .home-post-card:hover .home-post-cover img { transform: scale(1.03); }
.ah .home-post-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 20px; }
.ah .home-post-date { color: var(--ah-ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.ah .home-post-title { margin-top: 8px; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.ah .home-post-title a:hover { color: var(--ah-accent); }
.ah .home-post-excerpt {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--ah-ink-2);
  font-size: 15px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.ah .home-post-link { margin-top: auto; padding-top: 12px; }

/* ---------- Sıkça sorulan sorular ---------- */
.ah .faq-list { max-width: none; margin: 0; padding: 0; background: none; border: 0; border-top: 1px solid var(--ah-line); border-radius: 0; }
.ah .faq-item { padding: 0; background: none; border: 0; border-bottom: 1px solid var(--ah-line); border-radius: 0; }
.ah .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  padding: 18px 0;
  background: none;
  border: 0;
  color: var(--ah-ink);
  font: 500 22px/1.3 var(--font-sans);
  letter-spacing: -.015em;
  text-align: left;
  cursor: pointer;
  transition: color 160ms var(--ah-ease);
}
.ah .faq-question:hover { color: var(--ah-ink); }
/* Artı işareti iki ince çizgiyle çizilir (HTML'deki "+" harfi gizlenir); açılınca 45 derece döner. */
.ah .faq-arrow {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--ah-ink-2);
  font-size: 0;
  transition: transform 220ms var(--ah-ease), color 160ms var(--ah-ease);
}
.ah .faq-arrow::before,
.ah .faq-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 1.5px;
  margin: -.75px 0 0 -7.5px;
  background: currentColor;
}
.ah .faq-arrow::after { transform: rotate(90deg); }
.ah .faq-question:hover .faq-arrow { color: var(--ah-ink); }
.ah .faq-item.active .faq-arrow { transform: rotate(45deg); color: var(--ah-accent); }
.ah .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  overflow: visible;
  transition: grid-template-rows 240ms var(--ah-ease);
}
.ah .faq-item.active .faq-answer { grid-template-rows: 1fr; max-height: none; }
.ah .faq-answer p {
  min-height: 0;
  max-width: 62ch;
  padding: 0;
  overflow: hidden;
  color: var(--ah-ink-2);
  font-size: 17px;
  line-height: 1.55;
  opacity: 0;
  transition: opacity 140ms var(--ah-ease);
}
.ah .faq-answer p::after { content: ""; display: block; height: 26px; }
.ah .faq-item.active .faq-answer p { opacity: 1; transition-duration: 220ms; }

/* ---------- Kapanış çağrısı ---------- */
.ah-final { padding-block: calc(var(--ah-space) + 40px) calc(var(--ah-space) + 56px); text-align: center; }
.ah-final .ah-display { font-size: clamp(34px, 4.7vw, 68px); }
.ah-final .ah-lead { margin: 24px auto 0; }
.ah-final .ah-actions { justify-content: center; margin-top: 32px; }

/* ---------- Sağdaki bölüm gezintisi (ana sayfa, masaüstü) ----------
   main.js'in yüzen düğmeleri tek cam hapın içinde toplanır; etkin bölümü kayan turuncu daire gösterir.
   Zıplama yok: yalnız opaklık ve yumuşak kayma. Dar ekranda hap kenara çekilir, üstüne gelince çıkar. */
@media (min-width: 769px) {
  html[data-page="home"] .bubble-nav {
    --bn-s: 38px;
    --bn-i: 0;
    right: 20px;
    gap: 2px;
    padding: 6px;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--ah-line);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(11, 17, 32, .04), 0 14px 32px -14px rgba(11, 17, 32, .2);
    transform: translate(10px, -50%);
    transition: opacity 320ms var(--ah-ease), transform 460ms var(--ah-ease);
  }
  html[data-page="home"] .bubble-nav.visible { right: 20px; transform: translate(0, -50%); }
  html[data-page="home"] .bubble-nav.is-end { opacity: 0; pointer-events: none; transform: translate(10px, -50%); }
  html[data-page="home"] .bubble-nav::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: var(--bn-s);
    height: var(--bn-s);
    background: var(--ah-peach);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--ah-accent);
    opacity: 0;
    transform: translateY(calc(var(--bn-i) * (var(--bn-s) + 2px)));
    transition: transform 460ms var(--ah-ease), opacity 240ms var(--ah-ease);
  }
  html[data-page="home"] .bubble-nav:has(.bubble-nav-item.active)::before { opacity: 1; }
  html[data-page="home"] .bubble-nav:has(.bubble-nav-item:nth-child(2).active) { --bn-i: 1; }
  html[data-page="home"] .bubble-nav:has(.bubble-nav-item:nth-child(3).active) { --bn-i: 2; }
  html[data-page="home"] .bubble-nav:has(.bubble-nav-item:nth-child(4).active) { --bn-i: 3; }
  html[data-page="home"] .bubble-nav:has(.bubble-nav-item:nth-child(5).active) { --bn-i: 4; }
  html[data-page="home"] .bubble-nav:has(.bubble-nav-item:nth-child(6).active) { --bn-i: 5; }
  html[data-page="home"] .bubble-nav .bubble-nav-item {
    z-index: 1;
    width: var(--bn-s);
    height: var(--bn-s);
    background: transparent !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    color: var(--ah-ink-2);
    opacity: 1;
    transform: none;
    animation: none;
    transition: color 200ms var(--ah-ease), background-color 200ms var(--ah-ease);
  }
  html[data-page="home"] .bubble-nav .bubble-nav-item svg { width: 17px; height: 17px; transform: none; }
  html[data-page="home"] .bubble-nav .bubble-nav-item:hover { background: var(--ah-paper) !important; color: var(--ah-ink); transform: none; }
  html[data-page="home"] .bubble-nav .bubble-nav-item:active { transform: scale(.94); }
  html[data-page="home"] .bubble-nav .bubble-nav-item.active,
  html[data-page="home"] .bubble-nav .bubble-nav-item.active:hover { background: transparent !important; color: var(--ah-ink) !important; transform: none; }
  html[data-page="home"] .bubble-nav .bubble-nav-item:focus-visible { outline: 2px solid var(--ah-ink); outline-offset: 2px; }
  html[data-page="home"] .bubble-nav-tooltip {
    right: calc(100% + 16px);
    padding: 6px 12px;
    background: var(--ah-ink);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    transform: translate(6px, -50%);
    transition: opacity 200ms var(--ah-ease), transform 320ms var(--ah-ease), filter 200ms var(--ah-ease);
  }
  html[data-page="home"] .bubble-nav-item:is(:hover, :focus-visible) .bubble-nav-tooltip { opacity: 1; filter: blur(0); transform: translate(0, -50%); }
}
/* Dar masaüstü: içerik kenara yakın; hap yarı çekili durur, üstüne gelince ya da odaklanınca çıkar. */
@media (min-width: 769px) and (max-width: 1359px) {
  html[data-page="home"] .bubble-nav { --bn-s: 34px; right: 8px; }
  html[data-page="home"] .bubble-nav.visible { right: 8px; opacity: .7; transform: translate(34px, -50%); }
  html[data-page="home"] .bubble-nav.visible:is(:hover, :focus-within) { opacity: 1; transform: translate(0, -50%); }
  html[data-page="home"] .bubble-nav.visible.is-end { opacity: 0; }
}

/* ---------- Altbilgi (ana sayfa ve yeni tasarımlı sayfalar) ----------
   Ortak altbilginin (js/components.js) ana sayfadaki görünümü: lacivert zemin, sakin sütunlar,
   en altta noktalardan oluşan ve kenardan taşan "arniva" yazısı (js/altbilgi-yazi.js çizer). */
html:is([data-page="home"], [data-tasarim="yeni"]) .footer { position: relative; overflow: hidden; padding-top: 88px; background: var(--ah-ink); color: rgba(255, 255, 255, .72); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer > .container { position: relative; z-index: 1; max-width: calc(var(--ah-max) + var(--ah-gutter) * 2); padding-inline: var(--ah-gutter); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; padding-bottom: 64px; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-logo-text { margin-bottom: 20px; color: var(--ah-white); font-size: 34px; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-col p { max-width: 40ch; color: rgba(255, 255, 255, .6); font-size: 15px; line-height: 1.6; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-col h4 { margin-bottom: 20px; color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-col ul li { margin-bottom: 12px; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-col ul li a { display: inline-block; color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.4; transition: color 160ms var(--ah-ease), transform 220ms var(--ah-ease); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-col ul li a:hover { color: var(--ah-white); transform: translateX(3px); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-col ul li a:focus-visible,
html:is([data-page="home"], [data-tasarim="yeni"]) .social-links a:focus-visible { outline: 2px solid var(--ah-white); outline-offset: 3px; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-contact li.address { color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.55; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-contact li.address strong { display: block; margin-bottom: 2px; color: rgba(255, 255, 255, .82); font-weight: 500; }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-contact li.address:has(+ li.address) { border-bottom-color: rgba(255, 255, 255, .12); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-contact li:not(.address) + li.address { border-top-color: rgba(255, 255, 255, .12); }
html:is([data-page="home"], [data-tasarim="yeni"]) .social-links { margin-top: 28px; }
html:is([data-page="home"], [data-tasarim="yeni"]) .social-links a:hover { color: var(--ah-ink); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-bottom { padding: 22px 0; border-top-color: rgba(255, 255, 255, .12); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-bottom .container { padding: 0; color: rgba(255, 255, 255, .5); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-bottom a { color: rgba(255, 255, 255, .5); }
html:is([data-page="home"], [data-tasarim="yeni"]) .footer-bottom a:hover { color: var(--ah-white); }
/* Nokta yazı: tam genişlik, alttan kırpılır; son satırlar zemine doğru söner. */
.footer-yazi { position: relative; margin-top: 40px; line-height: 0; -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .35)); mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .35)); }
/* Yükseklik kurulumda betikten gelir; kurulmadan önce yer tutmaz. */
.footer-yazi canvas { display: block; width: 100%; height: 0; }

/* ---------- Görünüme girme: opaklık, hafif bulanıklık ve 12 px ----------
   Gizli hâli betik verir (.is-wait); betik çalışmazsa içerik olduğu gibi görünür. */
.ah [data-ah-reveal] {
  transition: opacity 520ms var(--ah-ease), transform 620ms var(--ah-ease), filter 520ms var(--ah-ease);
  transition-delay: calc(var(--ah-i, 0) * 60ms);
}
.ah [data-ah-reveal].is-wait { opacity: 0; transform: translateY(12px); filter: blur(6px); }
/* Logolara bulanıklık uygulanmaz; yalnız opaklık ve konum. */
.ah .ah-int-row li[data-ah-reveal] { transition: opacity 420ms var(--ah-ease), transform 520ms var(--ah-ease), background-color 160ms var(--ah-ease); }
.ah .ah-int-row li[data-ah-reveal].is-wait { filter: none; transform: translateY(8px); }
.ah [data-ah-reveal].is-in { transition-delay: 0s; }
/* main.js'in eski giriş sınıfı ana sayfada kullanılmaz. */
html:is([data-page="home"], [data-tasarim="yeni"]) .ah .fade-in-section { opacity: 1; }

/* ---------- Sabitlenen sahneler (yarı hibrit, e-Dönüşüm) ----------
   Sınıfı (.is-pin) yalnız betik verir: yüksek kap + içinde position: sticky tam ekran sahne.
   Sabitleme kapanınca (az hareket, içerik ekrana sığmıyor, betik yok) bölüm bugünkü gibi akar.
   Kaydırma payı --pin-len (ekran yüksekliğinin yüzdesi). --pin-slack: sahnede içeriğin altında
   ve üstünde kalan boşluk (betik yazar); fazlası kenar boşluğundan düşülür ki bölümler arası
   açıklık sabitlemesiz hâlle aynı kalsın. */
.ah-pin-rail { --pin-vh: 1vh; --pin-slack: 0px; --pin-len: 100; }
@supports (height: 1svh) { .ah-pin-rail { --pin-vh: 1svh; } }
.ah-hybrid { --pin-len: 220; --pin-pt: calc(var(--ah-space) + 40px); --pin-pb: var(--ah-space); }
:is(.ah-edevlet, .ah-akis) { --pin-len: 520; --pin-pt: var(--ah-space); --pin-pb: var(--ah-space); }
.ah-pin-rail.is-pin {
  height: calc(var(--pin-vh) * (100 + var(--pin-len)) - var(--ah-header));
  margin-top: calc(-1 * max(0px, var(--pin-slack) - var(--pin-pt)));
  margin-bottom: calc(-1 * max(0px, var(--pin-slack) - var(--pin-pb)));
  padding-block: 0;
  pointer-events: none;
}
.ah .ah-pin-rail.is-pin[id] { scroll-margin-top: var(--ah-header); }
.ah-pin-rail.is-pin .ah-pin {
  position: sticky;
  top: var(--ah-header);
  display: flex;
  align-items: center;
  height: calc(var(--pin-vh) * 100 - var(--ah-header));
}
.ah-pin-rail.is-pin .ah-pin > .ah-wrap { pointer-events: auto; }
/* Yarı hibrit: sayılar çizgiyle yerinde durur, değerleri sırayla gelir. */
.ah-hybrid.is-pin .ah-stats { margin-top: clamp(40px, 9svh, 104px); }
/* Sabit sahnede sayılar cümle bitince gelir (Sphy, 05.12): her sayı çizgisi ve açıklamasıyla birlikte, eşiğine gelince
   sırayla belirir, basamaklar bir kez döner. Sahneden çıkılınca (is-pin kalkınca) hepsi görünür kalır; 02.12'deki
   "yalnız çizgiler kalıyor" sorunu çizgi de sayıyla birlikte geldiği için oluşmaz. */
.ah-hybrid.is-pin .ah-stat { opacity: 0; transform: translateY(16px); transition: opacity 420ms var(--ah-ease), transform 520ms var(--ah-ease); }
.ah-hybrid.is-pin .ah-stat.is-on { opacity: 1; transform: none; }
/* e-Dönüşüm: sol sütun yapışmaz (sahne zaten sabit), iki sütun dikeyde ortalanır. */
:is(.ah-edevlet, .ah-akis).is-pin .ah-split { align-items: center; }
:is(.ah-edevlet, .ah-akis).is-pin .ah-split-side { position: static; }
/* Sabit sahnede yalnız etkin adımın ayrıntısı açıktır; açık ayrıntının yüksekliği en uzun adıma eşitlenir
   (--more-h, betik ölçer) ki adım değişirken sahne oynamasın. */
:is(.ah-edevlet, .ah-akis).is-pin .ah-doc { padding-bottom: clamp(18px, 3.4svh, 34px); }
:is(.ah-edevlet, .ah-akis).is-pin .ah-doc:last-child { padding-bottom: 0; }
:is(.ah-edevlet, .ah-akis).is-pin .ah-doc .ah-doc-more { height: 0; overflow: hidden; opacity: 0; transform: none; filter: none; visibility: hidden; transition: height 520ms var(--ah-ease), opacity 320ms var(--ah-ease), visibility 0s 520ms; }
:is(.ah-edevlet, .ah-akis).is-pin .ah-doc.is-active .ah-doc-more { height: var(--more-h, auto); opacity: 1; visibility: visible; transition-delay: 0s, 120ms, 0s; }

/* Alçak ekranlı dizüstü: ürün penceresi ilk ekranda daha çok görünsün. */
@media (min-width: 1101px) and (max-height: 780px) {
  .ah-hero { padding-top: 40px; }
  .ah-hero-head { padding-bottom: 36px; }
  .ah-hero-head .ah-display { font-size: clamp(40px, 4.6vw, 64px); }
  .ah-stage { padding-top: 28px; }
  .ah .hd-tabs { margin-bottom: 16px; }
}

/* ---------- Geniş olmayan masaüstü ve tablet ---------- */
@media (max-width: 1380px) {
  /* Sağ alttaki yüzen düğme logo satırının üstüne gelmesin. */
  .ah-logos-inner { padding-right: calc(var(--ah-gutter) + 64px); }
}
@media (max-width: 1100px) {
  html:is([data-page="home"], [data-tasarim="yeni"]) { --ah-space: 72px; }
  .ah-hero { padding-top: 56px; }
  .ah-hero-head { padding-bottom: 44px; }
  .ah-head-split { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
  .ah-split { gap: 48px; }
  .ah-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah .okc-brand { padding: 20px 20px 22px 24px; }
  .ah-okc-panel-head { padding: 22px 24px; }
  .ah-int-row { grid-template-columns: 168px minmax(0, 1fr); }
  .ah-int-row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ah-int-row li:nth-child(n + 4) { border-top: 1px solid var(--ah-line); }
  .ah-logos-inner { gap: 24px; }
  .ah-logos-list li + li { padding-left: 20px; }
  .ah-logos-set { gap: 16px; }
  .ah-logos-set img:nth-child(n + 3) { display: none; }
  .ah-eco-side { padding: 28px; }
  html[data-page="home"] .ah .product-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 400px; }
  html[data-page="home"] .ah .product-body { padding: 32px 24px 28px 32px; }
  .ah-cloud-panel { gap: 40px; padding: 40px; }
  .ah-cloud-diff { padding-left: 32px; }
}

/* ---------- Telefon ---------- */
@media (max-width: 768px) {
  html:is([data-page="home"], [data-tasarim="yeni"]) { --ah-space: 48px; --ah-gutter: 20px; }
  .ah-section { padding-block: var(--ah-space); }
  .ah-display { font-size: clamp(34px, 9.6vw, 44px); letter-spacing: -.035em; }
  .ah-title { font-size: 26px; }
  .ah-hero { padding-top: 40px; }
  .ah-hero-head { padding-bottom: 36px; }
  .ah-hero-head .ah-display { font-size: clamp(34px, 10.4vw, 48px); letter-spacing: -.04em; }
  .ah-actions { gap: 8px; }
  /* Satır başına düşen düğmeler aynı genişlikte: tek tür, tek ölçü. */
  .ah-actions .ah-btn { flex: 1 1 auto; }

  /* Telefonda demo yerine durağan çizim gösterilir (hero-demo.js demoyu kapatır). */
  .ah :is(.home-hero-demo, .hero-demo) { display: none !important; }
  .ah .home-hero-static {
    display: block;
    width: 100%;
    padding: 8px;
    background: var(--ah-white);
    border-radius: 16px;
  }
  .ah .home-hero-static img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; background: var(--ah-paper); border-radius: 10px; }
  .ah-stage { --ah-stage-edge: 8px; padding: 20px 0; clip-path: inset(0 calc(var(--ah-stage-edge) + var(--p) * 8px) round 22px); }
  .ah-stage-inner { width: calc(100% - 40px - var(--ah-stage-edge) * 2); }

  /* Telefonda üç tür yan yana ve aynı anda görünür; her türü bir logo temsil eder, hepsi kendi paneline götürür. */
  /* Sağ boşluk: yüzen arama düğmesi üçüncü türün üstüne gelmesin. */
  .ah-logos-inner { display: block; min-height: 0; padding-right: 84px; }
  .ah-logos-label { display: none; }
  .ah-logos-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ah-logos-list li { display: block; }
  .ah-logos-list li + li { padding-left: 14px; }
  .ah-logos-list a { gap: 7px; min-height: 68px; padding-block: 10px; }
  .ah-logos-kind { font-size: 10px; }
  .ah-logos-set img { height: 22px; }
  .ah-logos-set img:nth-child(n + 2),
  .ah-logos-set img:nth-child(n + 3) { display: none; }

  .ah-hybrid { --pin-len: 170; --pin-pt: calc(var(--ah-space) + 16px); padding-top: calc(var(--ah-space) + 16px); }
  .ah-hybrid.is-pin .ah-stats { margin-top: clamp(32px, 6svh, 56px); }
  .ah-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; margin-top: 56px; }

  .ah .products-grid { margin-top: 32px; }
  html[data-page="home"] .ah .product-card {
    position: relative;
    top: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "img" "body";
    min-height: 0;
    margin-bottom: 16px;
    border-radius: 20px;
    transform: none !important;
    will-change: auto;
  }
  html[data-page="home"] .ah .product-card::after { content: none; }
  html[data-page="home"] .ah .product-img { margin: 8px 8px 0; aspect-ratio: 8 / 5; border-radius: 12px; }
  html[data-page="home"] .ah .product-body { padding: 24px 20px 16px; }
  html[data-page="home"] .ah .product-body p { margin-bottom: 20px; }

  .ah-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ah-split-side { position: static; }
  .ah-doc { grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; padding-bottom: 32px; }
  .ah-doc-no { width: 32px; height: 32px; font-size: 12px; }
  .ah-doc::before { left: 15.5px; top: 32px; }
  .ah-doc::after { left: 15px; top: 32px; }
  .ah-doc-head { min-height: 32px; }
  .ah-doc h3 { font-size: 20px; }
  /* e-Dönüşüm çizimi telefonda üstte yapışık kalır; liste altından akarken etkin belge değişir. */
  :is(.ah-edevlet, .ah-akis) .ah-split { gap: 20px; }
  :is(.ah-edevlet, .ah-akis) .ah-split-side { display: contents; }
  .ah-edoc {
    position: sticky;
    top: var(--ah-header);
    z-index: 2;
    max-width: none;
    height: 232px;
    margin: 0 calc(var(--ah-gutter) * -1);
    width: auto;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--ah-paper);
    border-bottom: 1px solid var(--ah-line);
  }
  .ah-edoc-art { inset: 10px var(--ah-gutter) 14px; width: calc(100% - var(--ah-gutter) * 2); height: calc(100% - 24px); }

  .ah-okc-devices { margin-top: 32px; border-radius: 20px; }
  .ah-okc-panel-head { padding: 20px; }
  /* Telefonda iki sütun: bütün markalar kaydırmadan görünür. */
  .ah-okc-devices { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "stage" "name" "models" "rail" "slot"; }
  .ah .okc-brand-img { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--ah-line); }
  .ah .okc-brand .okc-device-brand { padding: 20px 20px 0; font-size: 26px; }
  .ah .okc-brand-models { padding: 12px 20px 20px; }
  .ah .okc-details-slot, .ah .okc-details-slot:has(.okc-details[open]) { padding: 0; }
  .ah .okc-rail { grid-auto-columns: 92px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .ah .okc-pick { scroll-snap-align: start; min-height: 44px; padding: 12px 6px 14px; font-size: 12.5px; }
  html[data-page="home"] .ah .okc-card { min-height: 44px; padding: 0 12px; }
  .ah-okc-rules { margin-top: 48px; }
  .ah-cols, .ah-cols-4 { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .ah-cols-4 { margin-top: 32px; }

  .ah .okc-details {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    margin: 0;
    padding: 28px 24px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-top: 1px solid var(--ah-line);
    border-radius: 24px 24px 0 0;
    transform-origin: bottom;
  }
  .ah .okc-details::backdrop { background: rgba(11, 17, 32, .45); }
  .ah .okc-details-content { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ah .okc-details-visual { display: flex; align-items: center; gap: 16px; padding-right: 36px; }
  .ah .okc-details-visual img { flex: 0 0 108px; width: 108px; padding: 8px; }
  .ah .okc-details-visual figcaption { max-width: 18ch; margin: 0; }
  html:has(.okc-details:modal) { overflow: hidden; }

  .ah-eco { gap: 12px; margin-top: 32px; }
  .ah-eco-row { grid-template-columns: minmax(0, 1fr); border-radius: 20px; overflow: clip; }
  .ah-eco-side { gap: 6px; padding: 22px 20px 0; }
  .ah-eco-side h3 { font-size: 20px; }
  .ah-eco-side p { max-width: none; }
  .ah-eco-tiles { --tile: 68px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; gap: 18px 8px; padding: 20px 16px 22px; }
  .ah-eco-tiles li { width: auto; }
  .ah-eco-pop, .ah-eco-pop.is-at { inset: auto 0 0 0; width: 100%; max-width: none; margin: 0; padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); border-width: 1px 0 0; border-radius: 20px 20px 0 0; }
  .ah-eco-pop.is-at::before { content: none; }
  .ah-eco-pop:popover-open, .ah-eco-pop.is-up:popover-open { animation: ahSheetIn 320ms cubic-bezier(.2, .9, .25, 1); }
  .ah-eco-pop::backdrop { background: rgba(11, 17, 32, .36); }
  .ah-eco-pop-x { width: 44px; height: 44px; margin: -6px -8px -6px 0; }
  .ah-eco-pop-head { grid-template-columns: 44px minmax(0, 1fr) 36px; }
  .ah-int-table { margin-top: 32px; }
  .ah-int-row { grid-template-columns: minmax(0, 1fr); }
  .ah-int-row h3 { padding: 20px 0 12px; }
  .ah-int-row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ah-line); }
  .ah-int-row li:nth-child(n + 4) { border-top: 1px solid var(--ah-line); }
  .ah-int-row li { min-height: 84px; padding: 14px; }
  .ah-int-row li:nth-child(3n + 1) { border-left: 0; }
  .ah-int-row img { max-height: 30px; }
  .ah-int-name { font-size: 17px; }

  .ah-cloud-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 24px; border-radius: 20px; }
  .ah-cloud-diff { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }

  .ah .home-posts-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ah .home-posts-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }

  .ah .faq-question { min-height: 64px; font-size: 17px; }

  .ah-final { padding-block: calc(var(--ah-space) + 24px) calc(var(--ah-space) + 40px); }

  html:is([data-page="home"], [data-tasarim="yeni"]) .footer { padding-top: 56px; }
  html:is([data-page="home"], [data-tasarim="yeni"]) .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 24px; padding-bottom: 40px; }
  html:is([data-page="home"], [data-tasarim="yeni"]) .footer-grid > :is(:first-child, :last-child) { grid-column: 1 / -1; }
  html:is([data-page="home"], [data-tasarim="yeni"]) .footer-bottom .container { align-items: flex-start; text-align: left; }
  .footer-yazi { margin-top: 24px; }
  .ah-final .ah-display { font-size: 34px; }
}

/* ---------- Az hareket: geçiş, döngü ve kaydırmaya bağlı hareket kapanır ---------- */
@media (prefers-reduced-motion: reduce) {
  .ah .okc-brand.is-current > .okc-brand-img img, .ah .okc-brand.is-current > :is(.okc-device-brand, .okc-brand-models) { animation: none; }
  .ah-eco-pop:popover-open, .ah-eco-pop.is-up:popover-open { animation: none; }
  .ah *, .ah *::before, .ah *::after { animation: none !important; transition: none !important; }
  .ah [data-ah-reveal].is-wait { opacity: 1; transform: none; filter: none; }
  .ah-stage { --p: 1 !important; }
  .ah-statement .ah-w { opacity: 1; }
  .ah-int-table.is-wait-line::before,
  .ah-int-table.is-wait-line .ah-int-row::after { transform: none; }
  .ah-cloud-panel::before { transform: none; }
  .ah-doc .ah-doc-more { opacity: 1 !important; transform: none !important; filter: none !important; visibility: visible !important; }
  :is(.ah-edevlet, .ah-akis).is-pin .ah-doc .ah-doc-more { height: auto; }
  .ah-pin-rail.is-pin { height: auto; margin-block: 0; padding-block: var(--ah-space); }
  .ah-pin-rail.is-pin .ah-pin { position: static; display: block; height: auto; }
  .ah-hybrid.is-pin :is(.ah-stat, .ah-stat > *) { opacity: 1; transform: none; }
  html[data-page="home"] .ah .product-card { position: relative; top: auto; transform: none; }
  html[data-page="home"] .ah .product-card::after { content: none; }
  html[data-page="home"] .bubble-nav, html[data-page="home"] .bubble-nav::before, html[data-page="home"] .bubble-nav * { transition: none !important; }
}

/* Metin içi çapraz bağlantı (ör. e-Dönüşüm bölümünden Ticari Entegre Set sayfasına) */
.ah .ah-crosslink { margin-top: 12px; }
.ah .ah-crosslink a { color: var(--ah-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ah-accent); text-underline-offset: 3px; }
