/*
 * LandLayers tanitim sitesi.
 *
 * Renkler uygulamanin src/theme.ts dosyasindan: acik bolumler "paper",
 * acilis ve kapanis "night" paleti. Katman renkleri (taskin/toprak/sulak alan)
 * renk korlugu dahil tum ikili kombinasyonlarda dogrulanmis bir setten; her
 * katman ayrica metinle etiketlenir, anlam yalnizca renge kalmaz.
 *
 * Tek font ailesi Inter, yerelde barinir. Satir ici stil yok (CSP).
 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* paper */
  --paper: #FBFAF6;
  --surface: #FFFFFF;
  --ground: #F4F7F4;
  --ink: #0F1F19;
  --ink-muted: rgba(15, 31, 25, 0.64);
  --ink-faint: rgba(15, 31, 25, 0.40);
  --line: rgba(15, 31, 25, 0.10);
  --line-strong: #D2DED6;
  --green: #1A3C2E;
  --green-soft: #DFF0E4;
  --brass: #8F6210;
  --brass-soft: #F4E9D2;

  /* night */
  --night: #09110D;
  --night-2: #0F1914;
  --night-card: #131F19;
  --night-line: rgba(243, 239, 230, 0.10);
  --cream: #F3EFE6;
  --cream-muted: rgba(243, 239, 230, 0.68);
  --cream-faint: rgba(243, 239, 230, 0.44);
  --brass-light: #D6A95C;

  /* katmanlar */
  --flood: #2a78d6;
  --soil: #eb6834;
  --wetland: #1baf7a;
  --draw: #FFC61A;

  --radius: 12px;
  --gutter: 28px;
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

.num {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ================================================================ Baslik */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  border-bottom: 1px solid var(--night-line);
  color: var(--cream);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  color: var(--cream-muted);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: var(--cream);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Dil secici: acilir liste, secili dilin yaninda tik. JS olmadan da calisir */
.lang {
  position: relative;
}
.lang summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary:hover,
.lang[open] summary {
  border-color: rgba(243, 239, 230, 0.28);
  background: rgba(243, 239, 230, 0.06);
}
.lang summary .globe {
  width: 16px;
  height: 16px;
  color: var(--cream-muted);
}
.lang summary .chev {
  width: 10px;
  height: 10px;
  color: var(--cream-muted);
  transition: transform 0.2s ease;
}
.lang[open] summary .chev {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(15, 31, 25, 0.08), 0 18px 44px rgba(0, 0, 0, 0.32);
}
.lang-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.lang-menu a:hover {
  background: var(--ground);
}
.lang-menu a[aria-current="page"] {
  color: var(--green);
}
.lang-menu .check {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.lang-menu a:not([aria-current]) .check {
  visibility: hidden;
}

/*
 * Dar ekran menusu: ust menu 1180px altinda gizlenir, yerine bu acilir liste
 * gelir. Dil seciciyle ayni <details> deseni; JS olmadan da acilip kapanir.
 */
.menu {
  position: relative;
  display: none;
}
.menu summary {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary:hover,
.menu[open] summary {
  border-color: rgba(243, 239, 230, 0.28);
  background: rgba(243, 239, 230, 0.06);
}
.menu summary svg {
  width: 18px;
  height: 18px;
}
.menu .icon-close,
.menu[open] .icon-open {
  display: none;
}
.menu[open] .icon-close {
  display: block;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: grid;
  min-width: 220px;
  padding: 6px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(15, 31, 25, 0.08), 0 18px 44px rgba(0, 0, 0, 0.32);
}
.menu-panel a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.menu-panel a:hover {
  background: var(--ground);
}

[hidden] {
  display: none !important;
}

/* Dil degisimi yenilemesiz: yeni metin yerine konunca kisa bir solma */
.lang-swapped {
  animation: lang-in 0.24s ease-out;
}
@keyframes lang-in {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.availability::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

/* =================================================================== Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--cream);
  padding-block: 72px 88px;
}

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

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--brass);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero .eyebrow,
.closing .eyebrow {
  color: var(--brass-light);
}

.hero h1 {
  font-size: clamp(46px, 6.6vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.038em;
}
.hero h1 .line,
.hero h1 .accent {
  display: block;
}
.hero h1 .accent {
  color: var(--brass-light);
}

/*
 * Hero metinleri ekranin solundan kayarak gelir. Baslik satirlari daha uzun
 * yol alir, kucuk ogeler daha kisa: katmanli, derinlikli bir giris. Sag
 * taraftaki harita animasyonu (0.45 sn) metinler yerine otururken baslar.
 */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow,
  .hero h1 .line,
  .hero h1 .accent,
  .hero-lede,
  .hero-actions {
    animation: from-left 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-copy > .eyebrow {
    --from: -64px;
    animation-delay: 0.05s;
  }
  .hero h1 .line {
    --from: -140px;
    animation-delay: 0.14s;
  }
  .hero h1 .accent {
    --from: -140px;
    animation-delay: 0.26s;
  }
  .hero-lede {
    --from: -90px;
    animation-delay: 0.42s;
  }
  .hero-actions {
    --from: -64px;
    animation-delay: 0.56s;
  }
}

@keyframes from-left {
  from {
    opacity: 0;
    transform: translateX(var(--from, -80px));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-lede {
  max-width: 30ch;
  margin-top: 28px;
  color: var(--cream-muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.2s ease;
}
.button:hover {
  background: #fff;
  transform: translateY(-1px);
}
.button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.button:hover svg {
  transform: translateY(2px);
}

.hero-free {
  max-width: 28ch;
  color: var(--cream-faint);
  font-size: 14.5px;
  line-height: 1.45;
}

/* Hava fotografi + parsel siniri + bulgu kartlari */

.hero-visual {
  perspective: 1600px;
}

.hero-map {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  aspect-ratio: 1080 / 1300;
  overflow: hidden;
  border-radius: 18px;
  background: #3b4a33;
  box-shadow:
    0 0 0 1px rgba(243, 239, 230, 0.10),
    0 40px 90px rgba(0, 0, 0, 0.55);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
}

.hero-map > svg {
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

.hero-photo {
  animation: photo-in 1.8s var(--ease) both;
  transform-origin: 540px 700px;
}

.parcel-contour {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 11;
  stroke-linejoin: round;
}
.parcel-line {
  fill: rgba(255, 198, 26, 0.16);
  stroke: var(--draw);
  stroke-width: 5.5;
  stroke-linejoin: round;
}
.parcel-vertex {
  fill: var(--draw);
  stroke: #fff;
  stroke-width: 3.5;
}
.map-label {
  fill: #fff;
  font-family: var(--font);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.05em;
  paint-order: stroke;
  stroke: rgba(9, 17, 13, 0.6);
  stroke-width: 6px;
  stroke-linejoin: round;
}

.map-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(9, 17, 13, 0.66);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.map-north {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(9, 17, 13, 0.66);
}
.map-north svg {
  width: 14px;
  height: 14px;
}

/* Kartlar: dis kutu konumlar, ic kart animasyon alir */
.callout {
  position: absolute;
  pointer-events: none;
}
.callout .pin {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--draw);
  box-shadow: 0 0 0 3px #fff, 0 2px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: pop-in 0.4s var(--ease) forwards;
}
.callout .card {
  position: absolute;
  width: max-content;
  max-width: 200px;
  padding: 10px 13px 11px;
  border-radius: 10px;
  background: rgba(251, 250, 246, 0.97);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: card-in 0.6s var(--ease) forwards;
}
.callout .card span {
  display: block;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.callout .card strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* Iglenen noktalar gorselin viewBox'undan (0 120 1080 1300) yuzde olarak */
.co-frontage { left: 37.6%; top: 28%; }
.co-frontage .card { right: 14px; bottom: 14px; }
.co-flood { left: 54%; top: 50%; }
.co-flood .card { left: 16px; top: -24px; }
.co-hospital { left: 6%; bottom: 7%; }
.co-hospital .card { left: 0; bottom: 0; }

.co-frontage .pin { animation-delay: 2.05s; }
.co-frontage .card { animation-delay: 2.15s; }
.co-flood .pin { animation-delay: 2.35s; }
.co-flood .card { animation-delay: 2.45s; }
.co-hospital .card { animation-delay: 2.75s; }

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
  margin: 16px 0 0 auto;
  color: var(--cream-faint);
  font-size: 12.5px;
}

@media (prefers-reduced-motion: no-preference) {
  .parcel-contour,
  .parcel-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards;
  }
  .parcel-line {
    fill-opacity: 0;
    animation:
      draw 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards,
      fill-in 0.6s ease 1.8s forwards;
  }
  .parcel-vertex {
    opacity: 0;
    animation: fade 0.4s ease 1.75s forwards;
  }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes fill-in {
  to { fill-opacity: 1; }
}
@keyframes fade {
  to { opacity: 1; }
}
@keyframes photo-in {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================ Kaynak dizini (koyu) */

/*
 * Koyu acilisin devami: arka plan hero'nun bittigi renkle ayni, aradaki tek
 * ayrac ince bir cizgi. Her kurum ne sagladigiyla birlikte bir hucrede;
 * duz bir isim satiri "logo seridi" gibi durup bir sey anlatmiyordu.
 */
.sources {
  background: var(--night-2);
  color: var(--cream);
  padding-bottom: 104px;
}
.sources-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 32px;
  margin-bottom: 26px;
  padding-top: 44px;
  border-top: 1px solid var(--night-line);
}
.sources-lead {
  color: var(--brass-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sources-note {
  max-width: 64ch;
  color: var(--cream-faint);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Hucreler arasi 1px cizgi: izgara boslugundan zemin rengi gorunur */
.source-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--night-line);
  box-shadow: 0 0 0 1px var(--night-line);
}
.source-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 124px;
  padding: 22px 22px 20px;
  background: var(--night-2);
  transition: background-color 0.3s ease;
}
.source-cell:hover {
  background: #15221B;
}
.source-cell dt {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.source-cell abbr {
  text-decoration: none;
  cursor: help;
  transition: color 0.3s ease;
}
.source-cell:hover abbr {
  color: var(--brass-light);
}
.source-cell dd {
  margin: auto 0 0;
  color: var(--cream-muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Hucreler gorununce sirayla belirir (izgaranin kendisi yerinde durur) */
@media (prefers-reduced-motion: no-preference) {
  .js .source-grid[data-reveal] {
    opacity: 1;
    transform: none;
  }
  .js .source-grid[data-reveal] .source-cell {
    --d: 0ms;
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.8s var(--ease) var(--d),
      transform 0.8s var(--ease) var(--d),
      background-color 0.3s ease;
  }
  .js .source-grid.is-visible .source-cell {
    opacity: 1;
    transform: none;
  }
  .source-cell:nth-child(2) { --d: 55ms; }
  .source-cell:nth-child(3) { --d: 110ms; }
  .source-cell:nth-child(4) { --d: 165ms; }
  .source-cell:nth-child(5) { --d: 220ms; }
  .source-cell:nth-child(6) { --d: 275ms; }
  .source-cell:nth-child(7) { --d: 330ms; }
  .source-cell:nth-child(8) { --d: 385ms; }
  .source-cell:nth-child(9) { --d: 440ms; }
  .source-cell:nth-child(10) { --d: 495ms; }
}

/* ================================================= Ortak bolum dili */

.section {
  padding-block: 128px;
}
.section + .section {
  border-top: 1px solid var(--line);
}

.headline {
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.034em;
}
.headline .accent {
  display: block;
  color: var(--brass);
}

.lede {
  max-width: 54ch;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: clamp(17.5px, 1.4vw, 20px);
  line-height: 1.55;
}

.section-head {
  max-width: 760px;
  margin-bottom: 72px;
}

/* ============================================================ Ucretsiz */

.free-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 72px;
}

/* Cetvel olculu parsel: kenar uzunluklari ornek raporun kroki olculeri */
.measure-map {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: #3b4a33;
  box-shadow: 0 0 0 1px rgba(15, 31, 25, 0.12), 0 30px 70px rgba(15, 31, 25, 0.18);
}
.measure-map > svg {
  width: 100%;
  height: 100%;
}
.measure-fill {
  fill: rgba(255, 198, 26, 0.14);
  stroke: var(--draw);
  stroke-width: 6;
  stroke-linejoin: round;
}
.measure-vertex {
  fill: #fff;
  stroke: var(--draw);
  stroke-width: 4;
}
/* Uygulamanin cetvel etiketi: koyu mavi zemin, beyaz yazi */
.edge-label {
  fill: #fff;
  font-family: var(--font);
  font-size: 25px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  paint-order: stroke;
  stroke: #0A6A9E;
  stroke-width: 15px;
  stroke-linejoin: round;
}
.measure-readout {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.measure-readout div {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.measure-readout dt {
  color: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.measure-readout dd {
  margin: 1px 0 0;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.measure-tools {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 5px;
  list-style: none;
  border-radius: 12px;
  background: rgba(9, 17, 13, 0.72);
}
.measure-tools li {
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--cream-muted);
  font-size: 12px;
  font-weight: 600;
}
.measure-tools li.on {
  background: var(--cream);
  color: var(--ink);
}

.preview-card {
  margin-top: 40px;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.preview-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 19px;
  letter-spacing: -0.012em;
}
.preview-card h3 span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.preview-card p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 15.5px;
}
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.checklist svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--green);
}

.tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 32px 0 0;
}
/* Genis ekranda metin sutunu uzun: olculu harita kaydirirken yaninda kalir */
@media (min-width: 961px) {
  .free-grid .measure-map {
    position: sticky;
    top: 96px;
  }
  /* Katman listesi de uzun: yigin, uzerine gelinen katmanla birlikte gorunur kalir */
  .layers-grid {
    align-items: start;
  }
  .layers-grid .stack-scene {
    position: sticky;
    top: 110px;
  }
}

/* "Her yerde ucretsiz" / "ABD'de ayrica" ara basliklari */
.tools-title {
  margin: 36px 0 0;
  color: var(--ink-muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tools-title + .tools {
  margin-top: 10px;
}
.tools-title + .tools div:nth-child(-n + 2) {
  border-top-color: var(--ink);
}
.tools div {
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
}
.tools dt {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.008em;
}
.tools dd {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.45;
}

/* Yayin oncesi doldurulacak yer tutucu - yasal sayfalardaki ile ayni */
mark.todo {
  padding: 0 4px;
  border-radius: 4px;
  background: #FFE58A;
  color: #3d2e00;
}

/* ===================================================== Katman yigini */

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

.stack-scene {
  --S: min(340px, 64vw);
  --gap: calc(var(--S) * 0.13);
  position: relative;
  height: calc(var(--S) * 1.42);
  perspective: 1700px;
}

.stack {
  position: absolute;
  left: 50%;
  top: calc(var(--S) * 0.47);
  width: var(--S);
  height: var(--S);
  margin-left: calc(var(--S) / -2);
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(-40deg);
}

.plane {
  --lift: 0px;
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(251, 250, 246, 0.58);
  box-shadow: inset 0 0 0 1px rgba(15, 31, 25, 0.16);
  transform: translateZ(calc(var(--i) * var(--gap) + var(--lift)));
  transition:
    transform 0.9s var(--ease) calc(var(--i) * 60ms),
    opacity 0.35s ease,
    background-color 0.35s ease;
}
.plane svg {
  width: 100%;
  height: 100%;
  border-radius: 14px;
}
.plane.base {
  background: #3b4a33;
  box-shadow: inset 0 0 0 1px rgba(15, 31, 25, 0.2), 0 30px 60px rgba(15, 31, 25, 0.25);
}

.p0 { --i: 0; }
.p1 { --i: 1; }
.p2 { --i: 2; }
.p3 { --i: 3; }
.p4 { --i: 4; }
.p5 { --i: 5; }

/* JS varsa yigin toplu baslar, gorununce ayrisir; JS yoksa hep ayrik */
.js .stack:not(.is-visible) .plane {
  --gap: 2px;
}

.stack[data-active] .plane:not(.base) {
  opacity: 0.32;
}
.stack[data-active="flood"] .plane.l-flood,
.stack[data-active="water"] .plane.l-water,
.stack[data-active="soil"] .plane.l-soil,
.stack[data-active="access"] .plane.l-access,
.stack[data-active="around"] .plane.l-around {
  --lift: calc(var(--S) * 0.08);
  opacity: 1;
  background: rgba(251, 250, 246, 0.9);
}

.shape-flood { fill: rgba(42, 120, 214, 0.34); stroke: var(--flood); }
.shape-water { fill: rgba(27, 175, 122, 0.30); stroke: var(--wetland); }
.shape-soil { fill: rgba(235, 104, 52, 0.30); stroke: var(--soil); }
.shape-access { fill: rgba(15, 31, 25, 0.05); stroke: var(--ink); }
.shape-around { fill: rgba(15, 31, 25, 0.04); stroke: var(--ink); }
.shape-flood,
.shape-water,
.shape-soil,
.shape-access,
.shape-around {
  stroke-width: 7;
  stroke-linejoin: round;
}
.frontage-edge {
  fill: none;
  stroke: var(--draw);
  stroke-width: 22;
  stroke-linecap: round;
}
.ring {
  fill: none;
  stroke: rgba(15, 31, 25, 0.45);
  stroke-width: 3;
  stroke-dasharray: 10 12;
}
.dot {
  fill: var(--ink);
}

/* Katman listesi (yiginin lejanti) */

.layer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: layer;
}
.layer-list li {
  border-top: 1px solid var(--line-strong);
}
.layer-list li:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.layer-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 20px 4px;
  border-radius: 8px;
  outline-offset: -2px;
  cursor: default;
  transition: background-color 0.25s ease;
}
.layer-item:hover,
.layer-item:focus-visible {
  background: var(--surface);
}
.layer-item .n {
  counter-increment: layer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.layer-item .n::before {
  content: counter(layer, decimal-leading-zero);
}
.layer-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  letter-spacing: -0.012em;
}
.swatch {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.sw-flood { background: var(--flood); }
.sw-water { background: var(--wetland); }
.sw-soil { background: var(--soil); }
.sw-access { background: var(--draw); box-shadow: inset 0 0 0 1px rgba(15, 31, 25, 0.25); }
.sw-around { background: var(--ink); }

.layer-item p {
  grid-column: 2 / -1;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.layer-item .sample {
  grid-column: 3;
  grid-row: 1;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ground);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Her katmanda raporun hangi alanlari doldurdugu */
.layer-fields {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.layer-fields li {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
}
.layer-item:hover .layer-fields li,
.layer-item:focus-visible .layer-fields li {
  background: var(--ground);
}

.layer-base {
  margin-top: 18px;
  padding-left: 54px;
  color: var(--ink-faint);
  font-size: 13.5px;
}

/* ======================================================== Nasil calisir */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  height: 1px;
  background: var(--line-strong);
}
.steps li {
  position: relative;
  padding-top: 44px;
  counter-increment: step;
}
.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.steps li:first-child::before {
  background: var(--ink);
}
.steps .step-n {
  display: block;
  margin-bottom: 14px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.steps .step-n::before {
  content: counter(step, decimal-leading-zero);
}
.steps h3 {
  font-size: 24px;
  letter-spacing: -0.018em;
}
.steps p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 16px;
}

/* ================================================================ Rapor */

.report-section {
  background: var(--ground);
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.report-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 44px 0 0;
  border-top: 1px solid var(--line-strong);
}
.report-stats div {
  padding: 20px 0 0;
}
.report-stats dt {
  order: 2;
  color: var(--ink-muted);
  font-size: 14px;
}
.report-stats dd {
  margin: 0 0 2px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.report-stats div {
  display: flex;
  flex-direction: column;
}

.doc-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.doc {
  aspect-ratio: 8.5 / 11;
  border-radius: 6px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(15, 31, 25, 0.08),
    0 30px 70px rgba(15, 31, 25, 0.16);
}
.doc-back {
  position: absolute;
  inset: 0;
  transform: translate(26px, 18px) rotate(4deg);
  padding: 40px 34px;
}
.doc-back i {
  display: block;
  height: 9px;
  margin-bottom: 14px;
  border-radius: 5px;
  background: var(--ground);
}
.doc-back i:nth-child(1) { width: 46%; height: 12px; background: var(--green-soft); }
.doc-back i:nth-child(3n) { width: 82%; }
.doc-back i:nth-child(4n) { width: 64%; }
.doc-front {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.doc-stack:hover .doc-front {
  transform: translateY(-6px) rotate(-0.6deg);
}

.doc-head {
  padding: 26px 26px 22px;
  background: var(--green);
  color: var(--cream);
}
.doc-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doc-brand .badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(243, 239, 230, 0.14);
  font-size: 10.5px;
}
.doc-title {
  margin-top: 16px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.doc-place {
  margin-top: 4px;
  color: var(--cream-muted);
  font-size: 13px;
}

.doc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
  margin: 0;
  padding: 8px 26px 0;
}
.doc-facts div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.doc-facts div:nth-child(odd) {
  padding-right: 14px;
}
.doc-facts div:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.doc-facts dt {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.doc-facts dd {
  margin: 3px 0 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.doc-facts dd small {
  display: block;
  margin-top: 1px;
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
}
.doc-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 26px 18px;
  color: var(--ink-faint);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

/*
 * Sayac: gorunmez kopya (ghost) son degerin genisligini ayirir, canli deger
 * ayni hucreye saga yasli biner. Sayarken yanindaki birim ("kWh/kW") kaymaz.
 */
.count {
  display: inline-grid;
  font-variant-numeric: tabular-nums;
}
.count > span {
  grid-area: 1 / 1;
}
.count-ghost {
  visibility: hidden;
}
.count-live {
  justify-self: end;
}

/* ============================================ Sayfa sayfa rapor onizlemesi */

.pages-section {
  overflow: hidden;
  background: var(--ground);
}
.pages-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 48px;
  margin-bottom: 48px;
}
.pages-head > div:first-child {
  max-width: 720px;
}
.pages-controls {
  display: grid;
  justify-items: end;
  gap: 14px;
}
.pages-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-muted);
  font-size: 13px;
}
.pages-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lg-shown::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
}
.pages-nav {
  display: none;
  gap: 8px;
}
.js .pages-nav {
  display: flex;
}
.pages-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-strong);
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.pages-btn:hover:not(:disabled) {
  background: var(--ink);
  color: var(--cream);
}
.pages-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.pages-btn svg {
  width: 16px;
  height: 16px;
}

/* Yatay kayan sayfa seridi; ilk sayfa icerik sutunuyla hizali baslar */
.pages-track {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(440px, 86vw);
  align-items: stretch;
  gap: 24px;
  padding: 6px var(--edge) 44px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
}
.pages-track:focus-visible {
  outline-offset: -4px;
}

/*
 * PDF SAYFASI: backend'in urettigi raporun gorunumu (Letter, 8.5 x 11).
 * Renkler ve duzen PdfReportService ile ayni: koyu yesil bolum bantlari,
 * acik yesil etiket sutunu, "Kayit mevcut" icin amber etiket.
 */
.pp {
  display: flex;
  flex-direction: column;
  min-width: 0;
  aspect-ratio: 8.5 / 11;
  border-top: 4px solid var(--green);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.4;
  box-shadow: 0 0 0 1px rgba(15, 31, 25, 0.07), 0 24px 54px rgba(15, 31, 25, 0.14);
  scroll-snap-align: start;
}
.pp-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 6px;
  color: var(--ink-muted);
  font-size: 8.5px;
  font-weight: 700;
}
.pp-head span:last-child {
  font-weight: 400;
}
.pp-body {
  flex: 1;
  padding: 2px 18px 10px;
}
.pp-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 18px;
  padding: 7px 0 10px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 7.5px;
}
.pp-foot span:first-child {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pp-foot span:last-child {
  flex: none;
}

.pp-band {
  margin: 6px 0 10px;
  padding: 8px 10px;
  border-radius: 2px;
  background: var(--green);
  color: var(--cream);
}
.pp-band strong {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pp-band span {
  display: block;
  margin-top: 2px;
  color: var(--cream-muted);
  font-size: 8.5px;
  line-height: 1.35;
}
.pp-sec {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 7px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pp-band + .pp-sec {
  margin-top: 4px;
}
.pp-sec span {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
}
.pp-sec-plain {
  margin-top: 6px;
}
.pp-sub {
  margin: 10px 0 5px;
  font-size: 10.5px;
  font-weight: 700;
}
.pp-note {
  color: var(--ink-muted);
  font-size: 8.5px;
}

/* Tablolar */
.pt {
  width: 100%;
  margin: 0 0 6px;
  border-collapse: collapse;
  font-size: 9.5px;
  line-height: 1.3;
}
.pt th,
.pt td {
  padding: 4px 6px;
  border: 1px solid #DCE6DF;
  text-align: left;
  vertical-align: middle;
}
.pt tbody th {
  width: 44%;
  background: #EEF4EF;
  font-weight: 600;
}
.pt-grid thead th {
  background: #DDEBE1;
  color: var(--green);
  font-weight: 700;
}
.pt-grid tbody th {
  width: auto;
}
.pt-summary tbody th {
  width: 36%;
}
.pt-soil,
.pt-roads {
  font-size: 8.5px;
}
.pt-daily tbody th {
  width: 40%;
}
.chip {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}
.chip-present {
  background: #FBF1D9;
  color: #8F6210;
}
.chip-info {
  color: var(--ink-faint);
  font-weight: 400;
}
.rate {
  font-weight: 600;
}
.rate-some {
  color: #A8650E;
}
.rate-very {
  color: #B42318;
  font-weight: 700;
}

/* Kilitli deger: gercek deger sayfada yok; kilit ve bulanik bir serit */
.lk {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}
.lk svg {
  flex: none;
  width: 9px;
  height: 9px;
  color: var(--brass);
}
.lk i {
  display: block;
  width: 54px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(15, 31, 25, 0.16), rgba(15, 31, 25, 0.06));
  filter: blur(0.5px);
}
.lk-lg i {
  width: 72px;
}
.lk-xl i {
  width: min(150px, 100%);
}
.pt tr:nth-child(3n) .lk i { width: 40px; }
.pt tr:nth-child(4n) .lk i { width: 66px; }
.lg-locked svg {
  width: 12px;
  height: 12px;
  color: var(--brass);
}

/* Parsel tablosu + olcekli kroki yan yana */
.pp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: start;
  gap: 8px;
}
.pp-sketch {
  margin: 0;
}
.pp-sketch svg {
  width: 100%;
  height: auto;
}
.pp-sketch text {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 34px;
  font-weight: 700;
}
.pp-photo {
  overflow: hidden;
  margin: 8px 0;
  border-radius: 2px;
  aspect-ratio: 920 / 560;
  background: #3b4a33;
}
.pp-photo svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Kapak */
.cv-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.cv-title p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cv-title span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
}
.cv-title em {
  flex: none;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--green);
  color: var(--cream);
  font-size: 7.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cv-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}
.cv-meta dt {
  color: var(--ink-muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cv-meta dd {
  margin: 1px 0 0;
  font-size: 9px;
}
.cv-notice {
  display: -webkit-box;
  overflow: hidden;
  padding: 6px 8px;
  border-radius: 2px;
  background: #F2F4F2;
  color: var(--ink-muted);
  font-size: 7.5px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.cv-notice strong {
  color: var(--ink);
}
.cv-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.cv-tiles div {
  min-width: 0;
  padding: 6px 7px;
  border-radius: 2px;
  background: #F2F6F3;
}
.cv-tiles span {
  display: block;
  color: var(--ink-muted);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cv-tiles b {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.cv-tiles b.risk {
  color: #B42318;
}
.cv-tiles small {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 7px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cv-tiles .lk {
  margin-top: 5px;
}
.cv-facts {
  margin-top: 8px;
  padding: 6px 9px;
  border-left: 3px solid var(--green);
  background: #EEF4EF;
}
.cv-facts p {
  font-size: 10.5px;
  font-weight: 700;
}
.cv-facts ul {
  display: grid;
  gap: 3px;
  margin: 3px 0 0;
  padding-left: 13px;
}
.cv-facts li {
  font-size: 8.5px;
}
.cv-facts li.risk {
  color: #B42318;
  font-weight: 600;
}
.cv-toc {
  margin-top: 8px;
}
.cv-toc p {
  font-size: 10px;
  font-weight: 700;
}
.cv-toc ol {
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 14px;
}
.cv-toc li {
  display: flex;
  gap: 4px;
  padding: 1.5px 0;
  border-bottom: 1px dotted rgba(15, 31, 25, 0.16);
  font-size: 7.5px;
  break-inside: avoid;
}
.cv-toc li em {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cv-toc li b {
  flex: none;
  font-weight: 600;
}
.cv-toc li.toc-part {
  display: block;
  margin-top: 3px;
  border: 0;
  color: var(--ink-muted);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Son sayfa */
.pp-records {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 16px;
  font-size: 9.5px;
}
.pp-records strong {
  display: block;
  margin-bottom: 2px;
}
.pp-box {
  margin-top: 10px;
  padding: 7px 9px;
  border-radius: 2px;
  background: #F2F4F2;
  color: var(--ink-muted);
  font-size: 7.5px;
  line-height: 1.45;
}
.pp-box strong {
  color: var(--ink);
}
.pp-legal {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
}

/* "Rapor" bolumu: gercek kapak, arkasinda yelpaze gibi acilan sayfalar */
.doc-fan {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  padding: 10px 0 30px;
}
.fan-back {
  position: absolute;
  inset: 10px 0 30px;
  overflow: hidden;
  padding: 16px 18px;
  border-top: 4px solid var(--green);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 31, 25, 0.07), 0 20px 46px rgba(15, 31, 25, 0.12);
  transition: transform 0.6s var(--ease);
}
.fan-1 {
  transform: translate(20px, 12px) rotate(3deg);
}
.fan-2 {
  transform: translate(38px, 24px) rotate(6deg);
}
.doc-fan:hover .fan-1 {
  transform: translate(30px, 14px) rotate(4.5deg);
}
.doc-fan:hover .fan-2 {
  transform: translate(56px, 28px) rotate(8.5deg);
}
.fan-back i {
  display: block;
  height: 9px;
  margin: 0 0 11px;
  border-radius: 3px;
  background: #EEF4EF;
}
.fan-back i:nth-of-type(3n) { width: 70%; }
.fan-back i:nth-of-type(4n) { width: 86%; }
.pp-front {
  position: relative;
  transition: transform 0.5s var(--ease);
}
.doc-fan:hover .pp-front {
  transform: translateY(-4px);
}

/* ================================================= Raporun icinde (koyu) */

/*
 * Raporun en guclu satirlari, ornek raporun gercek degerleriyle. Koyu zemin
 * sayfanin ortasinda bir "vitrin" acar; kartlar farkli genisliklerde (bento).
 */
.inside {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}
.inside::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(214, 169, 92, 0.10), transparent);
  pointer-events: none;
}
.section.inside + .section {
  border-top: 0;
}
.inside .eyebrow {
  color: var(--brass-light);
}
.inside .headline .accent {
  color: var(--brass-light);
}
.inside .lede {
  color: var(--cream-muted);
}

.bento {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  --glow: rgba(243, 239, 230, 0.06);
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 24px 24px 22px;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 100% 0%, var(--glow), transparent 60%),
    var(--night-card);
  box-shadow: inset 0 0 0 1px var(--night-line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(243, 239, 230, 0.2), 0 24px 50px rgba(0, 0, 0, 0.35);
}
.tile-wide {
  grid-column: span 3;
}
.tile-flood { --glow: rgba(42, 120, 214, 0.22); }
.tile-soil { --glow: rgba(235, 104, 52, 0.20); }
.tile-water { --glow: rgba(27, 175, 122, 0.20); }
.tile-access { --glow: rgba(255, 198, 26, 0.16); }
.tile-solar { --glow: rgba(255, 198, 26, 0.18); }

.tile-k {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sw-util { background: #9DB4FF; }
.sw-sun { background: var(--draw); }
.sw-env { background: #B48CF2; }
.sw-area { background: var(--cream); }
.inside .sw-around { background: var(--cream-muted); }

.tile-big {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.tile-big small {
  display: block;
  margin-top: 10px;
  color: var(--cream-muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}
.tile-note {
  margin-top: auto;
  color: var(--cream-faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.tile-chip {
  align-self: flex-start;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(235, 104, 52, 0.16);
  color: #F7B394;
  font-size: 13px;
  font-weight: 600;
}

.tile-rows {
  display: grid;
  margin: 0;
}
.tile-rows div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--night-line);
}
.tile-rows dt {
  min-width: 0;
  color: var(--cream-muted);
  font-size: 14.5px;
}
.tile-rows dd {
  margin: 0;
  flex: none;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Taskin payi: tek serit, iki bolge */
.split {
  display: flex;
  height: 10px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(243, 239, 230, 0.08);
}
.split i {
  display: block;
  height: 100%;
}
.seg-ae { background: var(--flood); }
.seg-x { background: rgba(42, 120, 214, 0.38); }

/* Yatay cubuklu satirlar (toprak birimleri, surus sureleri) */
.tile-bars {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile-bars li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
}
.tb-label {
  font-size: 14.5px;
  font-weight: 600;
}
.tb-label small {
  display: block;
  color: var(--cream-faint);
  font-size: 12.5px;
  font-weight: 400;
}
.tb-value {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tb-track {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(243, 239, 230, 0.08);
}
.tb-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--cream-muted);
}
.tile-soil .tb-track i { background: var(--soil); }
.tile-soil .tb-track i.p424 { background: #F08A5D; }
.tile-daily .tb-track i { background: var(--brass-light); }

.p618 { width: 61.8%; }
.p243 { width: 24.3%; }
.p573 { width: 57.3%; }
.p424 { width: 42.4%; }
.p244 { width: 24.4%; }
.p220 { width: 22%; }
.p1000 { width: 100%; }

/* Aylik gunes uretimi: 12 kucuk sutun */
.spark {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  height: 92px;
}
.spark span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
}
.spark i {
  display: block;
  width: 100%;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--draw), rgba(255, 198, 26, 0.35));
}
.spark b {
  color: var(--cream-faint);
  font-size: 10.5px;
  font-weight: 600;
}
.h71 { height: 71%; }
.h79 { height: 79%; }
.h80 { height: 80%; }
.h82 { height: 82%; }
.h89 { height: 89%; }
.h91 { height: 91%; }
.h93 { height: 93%; }
.h97 { height: 97%; }
.h100 { height: 100%; }

/* Gorunur olunca cubuklar ve sutunlar soldan/alttan dolar */
@media (prefers-reduced-motion: no-preference) {
  .js .tile[data-reveal] .split i,
  .js .tile[data-reveal] .tb-track i {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s var(--ease) 0.25s;
  }
  .js .tile[data-reveal] .spark i {
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.9s var(--ease);
  }
  .js .tile.is-visible .split i,
  .js .tile.is-visible .tb-track i,
  .js .tile.is-visible .spark i {
    transform: none;
  }
  .spark span:nth-child(2) i { transition-delay: 40ms; }
  .spark span:nth-child(3) i { transition-delay: 80ms; }
  .spark span:nth-child(4) i { transition-delay: 120ms; }
  .spark span:nth-child(5) i { transition-delay: 160ms; }
  .spark span:nth-child(6) i { transition-delay: 200ms; }
  .spark span:nth-child(7) i { transition-delay: 240ms; }
  .spark span:nth-child(8) i { transition-delay: 280ms; }
  .spark span:nth-child(9) i { transition-delay: 320ms; }
  .spark span:nth-child(10) i { transition-delay: 360ms; }
  .spark span:nth-child(11) i { transition-delay: 400ms; }
  .spark span:nth-child(12) i { transition-delay: 440ms; }
}

.inside-foot {
  max-width: 70ch;
  margin-top: 28px;
  color: var(--cream-faint);
  font-size: 14px;
}

/* ===================================================== Kurumsal kimlik */

.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}
.brand-demo {
  display: grid;
  justify-items: center;
  gap: 22px;
}
/* Ac/kapa yalnizca JS varken; JS yoksa markali kapak dogrudan gorunur */
.brand-toggle {
  display: none;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.js .brand-toggle {
  display: inline-flex;
}
.brand-toggle button {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  font: 600 14px/1 var(--font);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.brand-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}

.brand-docs {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.doc-page2 {
  position: absolute;
  inset: 0;
  padding: 18px 30px;
  transform: translate(24px, 18px) rotate(3.5deg);
}
.page2-head {
  display: block;
  margin-bottom: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
}
.doc-page2 i {
  display: block;
  height: 8px;
  margin-bottom: 13px;
  border-radius: 5px;
  background: var(--ground);
}
.doc-page2 i:nth-child(3n) { width: 78%; }
.doc-page2 i:nth-child(4n) { width: 60%; }

.doc-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.letterhead {
  display: flex;
  align-items: center;
  gap: 14px;
  max-height: 120px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
  transition: max-height 0.6s var(--ease), padding 0.6s var(--ease), opacity 0.4s ease, transform 0.6s var(--ease);
}
.lh-logo svg {
  width: 46px;
  height: 46px;
}
.lh-text {
  display: grid;
  gap: 1px;
  min-width: 0;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.35;
}
.lh-text strong {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.01em;
}
.lh-kicker {
  color: var(--brass);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cover-head {
  padding: 18px 24px 14px;
}
.cover-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover-product .badge {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  font-size: 10px;
}
.cover-head .doc-title {
  margin-top: 8px;
  color: var(--ink);
}
.cover-head .doc-place {
  color: var(--ink-muted);
}
.cover-photo {
  margin: 0 24px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 790 / 520;
  background: #3b4a33;
}
.cover-photo svg {
  width: 100%;
  height: 100%;
}
.cover-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px 24px 22px;
}
.cover-facts dt {
  color: var(--green);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cover-facts dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  font-weight: 700;
}

/* Markali / sade gecisi */
.ph-brand,
.cp-plain {
  transition: opacity 0.35s ease;
}
.brand-demo:not(.is-branded) .letterhead {
  max-height: 0;
  padding-block: 0;
  border-bottom-color: transparent;
  opacity: 0;
  transform: translateY(-12px);
}
.brand-demo.is-branded .cp-plain,
.brand-demo:not(.is-branded) .ph-brand {
  display: none;
}
.brand-demo.is-branded .ph-plain {
  display: none;
}
.brand-caption {
  color: var(--ink-faint);
  font-size: 12.5px;
  text-align: center;
}

.brand-points {
  margin-top: 30px;
}
.brand-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  line-height: 1.5;
}

/* ========================================================= Uygulamada */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-grid li {
  padding: 28px 0 30px;
  border-top: 1px solid var(--line-strong);
}
.feature-grid svg {
  width: 30px;
  height: 30px;
  color: var(--green);
}
.feature-grid h3 {
  margin-top: 16px;
  font-size: 19px;
  letter-spacing: -0.012em;
}
.feature-grid p {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ======================================================= Ne oldugu */

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: end;
}
.statement .lede {
  max-width: 48ch;
}
.not-label {
  margin-bottom: 14px;
  color: var(--ink-muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: rgba(143, 98, 16, 0.55);
  text-decoration-thickness: 1.5px;
}

/* =============================================================== Kapsam */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 2px solid var(--ink);
}
.facts div {
  padding: 26px 32px 0 0;
}
.facts div + div {
  padding-left: 32px;
  border-left: 1px solid var(--line-strong);
}
.facts dt {
  color: var(--ink-muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.facts dd {
  margin: 12px 0 0;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ================================================================= Fiyat */

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}

.from-price {
  margin-top: 44px;
}
.from-price strong {
  display: block;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.from-price span {
  display: block;
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 16px;
}

.coverage-note {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-size: 14.5px;
  line-height: 1.5;
}
.coverage-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.plans {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong), 0 24px 60px rgba(15, 31, 25, 0.06);
}
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  padding: 22px 26px;
}
.plan + .plan {
  border-top: 1px solid var(--line);
}
.plan-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.plan-name .tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brass-soft);
  color: #6f4b08;
  font-size: 11.5px;
  font-weight: 700;
  vertical-align: 2px;
}
.plan-detail {
  grid-column: 1;
  color: var(--ink-muted);
  font-size: 14px;
}
.plan-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
}
.plan-price strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.plan-price span {
  display: block;
  color: var(--ink-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
/* Rapor basi fiyat merdiveni: cubuk uzunlugu rapor basi fiyatla orantili */
.ladder {
  grid-column: 1 / -1;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: var(--ground);
  overflow: hidden;
}
.ladder i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--green);
}
.lad-100 { width: 100%; }
.lad-85 { width: 85.1%; }
.lad-70 { width: 70.1%; }
.lad-55 { width: 55.1%; }
.lad-35 { width: 35%; }
.plan.pro {
  background: linear-gradient(180deg, #FDFBF5, var(--surface));
  border-radius: 0 0 16px 16px;
}
.plan.free .plan-price strong {
  color: var(--green);
}
.plan.pro .ladder i {
  background: var(--brass);
}

.price-foot {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 13.5px;
}

/* =================================================================== SSS */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq details:first-child {
  border-top: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}
.faq .answer {
  max-width: 64ch;
  padding-bottom: 24px;
  color: var(--ink-muted);
}
.faq .answer p + p {
  margin-top: 12px;
}
.faq .answer a {
  color: var(--green);
}

/* ============================================== Kapanis + alt bilgi (koyu) */

.closing {
  background: var(--night);
  color: var(--cream);
  padding-block: 128px 96px;
}
.closing .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.closing .headline {
  font-size: clamp(40px, 5.6vw, 80px);
}
.closing .headline .accent {
  color: var(--brass-light);
}
.closing p {
  max-width: 40ch;
  margin-top: 22px;
  color: var(--cream-muted);
  font-size: 18px;
}

.site-footer {
  background: var(--night);
  color: var(--cream-muted);
  font-size: 14px;
  line-height: 1.55;
}
.site-footer .wrap {
  padding-block: 56px 48px;
  border-top: 1px solid var(--night-line);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.footer-col p {
  margin-top: 0;
}
.footer-col .support-note {
  margin-top: 10px;
  color: var(--cream-faint);
  font-size: 13px;
}
.site-footer mark.todo {
  background: #FFE58A;
  color: #3d2e00;
}
.footer-top .brand {
  color: var(--cream);
}
.footer-top p {
  max-width: 34ch;
  margin-top: 14px;
}
.footer-col h2 {
  margin-bottom: 14px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col li + li {
  margin-top: 8px;
}
.footer-col a {
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--cream);
}
.footer-col .alt {
  margin-top: 16px;
  color: var(--cream-faint);
  font-size: 13px;
}
.footer-col .alt a {
  color: var(--cream-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.attribution {
  display: grid;
  gap: 8px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--night-line);
  color: var(--cream-faint);
  font-size: 12.5px;
}
.attribution a {
  color: var(--cream-muted);
}

/* Tam genislik alt serit: sosyal medya paneli solundaki bos yere oturur */
.footer-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 78px;
  padding-inline: var(--gutter);
  border-top: 1px solid var(--night-line);
  color: var(--cream-faint);
  font-size: 12.5px;
}

/*
 * Sosyal medya paneli - sayfanin son ogesi, position: sticky.
 * Dogal yeri alt seridin solundadir (negatif ust bosluk onu seride ceker).
 * O yer ekranin altinda kaldikca "bottom" onu ekranin sol altinda tutar;
 * sayfa sonuna gelinince kendi yerine oturur. Olculer:
 *   serit 78px, panel 46px -> ustte/altta 16px; margin-top = -(46 + 16)
 */
.socials {
  --knock: #131F19;
  position: sticky;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  height: 46px;
  margin: -62px 0 0 var(--gutter);
  padding: 5px 5px 5px 14px;
  border-radius: 999px;
  background: #131F19;
  box-shadow: 0 0 0 1px rgba(243, 239, 230, 0.12), 0 12px 32px rgba(0, 0, 0, 0.3);
  color: var(--cream);
}
.socials-label {
  margin-right: 6px;
  color: var(--cream-faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--cream-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.socials a:hover {
  --knock: #282F2A;
  background: rgba(243, 239, 230, 0.1);
  color: var(--cream);
}
.socials svg {
  width: 18px;
  height: 18px;
}
.socials .knock {
  fill: var(--knock);
}

/* ======================================================= Gorunur olunca */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================= 404 */

.page-404 {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background: var(--night);
  color: var(--cream);
}
.page-404 .headline .accent {
  color: var(--brass-light);
}
.page-404 .lede {
  color: var(--cream-muted);
}
.page-404 .button {
  margin-top: 36px;
}
.page-404 .alt {
  margin-top: 22px;
  color: var(--cream-faint);
  font-size: 14px;
}
.page-404 .alt a {
  color: var(--cream-muted);
}

/* ======================================================= Duyarli duzen */

/* Menu + dil secici + uygunluk etiketi bu genislige sigmiyor (ozellikle ES) */
@media (max-width: 1240px) {
  .site-nav {
    display: none;
  }
  .header-end {
    margin-left: auto;
    gap: 10px;
  }
  .menu {
    display: block;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 20px;
  }
  .hero-grid,
  .free-grid,
  .layers-grid,
  .report-grid,
  .pricing-grid,
  .faq-grid {
    gap: 48px;
  }
  .statement {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }
  .header-end {
    margin-left: auto;
  }
  .hero {
    padding-block: 48px 88px;
  }
  .hero-grid,
  .free-grid,
  .layers-grid,
  .report-grid,
  .pricing-grid,
  .faq-grid,
  .brand-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile {
    grid-column: span 1;
  }
  .tile-wide {
    grid-column: span 2;
  }
  .hero-map,
  .hero-caption,
  .measure-map {
    max-width: 560px;
    margin-left: 0;
  }
  .hero-lede {
    max-width: 40ch;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .steps::before {
    left: 6px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 1px;
    height: auto;
  }
  .steps li {
    padding: 0 0 0 40px;
  }
  .report-grid .doc-fan {
    order: 2;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts div,
  .facts div + div {
    padding: 22px 0;
    border-left: 0;
  }
  .facts div + div {
    border-top: 1px solid var(--line-strong);
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-top > :first-child {
    grid-column: 1 / -1;
  }
}

/* Kaynak dizini: 5 sutun burada sikisir, 2 sutuna iner (10 hucre = 5 satir) */
@media (max-width: 760px) {
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }
  .sources {
    padding-bottom: 80px;
  }
  .sources-head {
    padding-top: 32px;
  }
  .source-cell {
    min-height: 104px;
    padding: 16px 16px 15px;
  }
  .source-cell dt {
    font-size: 19px;
  }
  .source-cell dd {
    font-size: 13px;
  }
  body {
    font-size: 16px;
  }
  .section {
    padding-block: 88px;
  }
  .section-head {
    margin-bottom: 48px;
  }
  .availability {
    display: none;
  }
  .hero .availability-inline {
    display: inline-flex;
  }
  .callout .card {
    max-width: 160px;
    padding: 8px 10px 9px;
  }
  .callout .card strong {
    font-size: 14px;
  }
  /* Dar ekranda kartlar pinin sigdigi tarafina gecer */
  .co-frontage .card {
    right: auto;
    bottom: auto;
    left: 12px;
    top: 12px;
  }
  .co-flood .card {
    left: auto;
    right: 16px;
    top: 14px;
  }
  .layer-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .layer-item .sample {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-top: 6px;
  }
  .layer-base {
    padding-left: 32px;
  }
  .report-stats dd {
    font-size: 36px;
  }
  .doc-head {
    padding: 20px 18px 18px;
  }
  .doc-facts {
    padding: 4px 18px 0;
  }
  .doc-facts dd {
    font-size: 14px;
  }
  .doc-foot {
    padding: 12px 18px 14px;
  }
  .doc-back {
    transform: translate(12px, 10px) rotate(3deg);
  }
  .plan {
    padding: 18px 18px;
  }
  .checklist,
  .tools {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .report-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pages-controls {
    justify-items: start;
  }
  .tile,
  .tile-wide {
    grid-column: auto;
    padding: 20px 18px;
  }
  .cover-head,
  .letterhead {
    padding-inline: 18px;
  }
  .cover-photo {
    margin-inline: 18px;
  }
  .cover-facts {
    padding-inline: 18px;
  }
  .doc-page2 {
    transform: translate(12px, 10px) rotate(3deg);
  }
  /* Tek sutunda yalnizca ilk satirin cizgisi koyu kalir */
  .tools-title + .tools div:nth-child(2) {
    border-top-color: var(--line-strong);
  }
  .preview-card {
    padding: 20px 18px;
  }
  .measure-tools li {
    padding: 4px 8px;
    font-size: 11px;
  }
  /* Telefonda yuzen panel icerigi az kapatsin: etiket yok, simgeler kucuk */
  .socials {
    height: 40px;
    margin-top: -59px;
    padding: 4px;
  }
  .socials-label {
    display: none;
  }
  .socials a {
    width: 32px;
    height: 32px;
  }
  .socials svg {
    width: 16px;
    height: 16px;
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cok dar telefonlarda dil dugmesinde yalnizca kure simgesi kalir */
@media (max-width: 400px) {
  .lang summary span {
    display: none;
  }
  .lang summary {
    padding: 7px 10px;
  }
}

/* Yalnizca dar ekranda gorunen, hero icindeki uygunluk etiketi */
.availability-inline {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

@media print {
  .socials {
    display: none;
  }
  .site-header {
    position: static;
  }
  .hero,
  .closing,
  .site-footer {
    background: none;
    color: var(--ink);
  }
}
