/*
 * Lale AI web sitesi. Renk ve ölçüler uygulamanın temasından (app/lib/theme/tokens.dart,
 * design/stitch/luminous_tulip_flora/DESIGN.md); yeni renk yok. Yön için yalnız mantıksal özellikler (inline / block,
 * start / end): sağdan sola dil geldiğinde düzen kendiliğinden aynalanır.
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  /* LaleColors */
  --rose: #d47a9e;
  --blush: #e8a4bd;
  --wash: #fdf3f7;
  --petal: #fff9fb;
  --contour: #f7e1ec;
  --blue: #a9d6f5;
  --blue-wash: #e1f0fb;
  --on-blue: #1e4d6b;
  --ink: #2d1824;
  --muted: #7f6b76;
  --surface: #fbf9f7;
  --white: #ffffff;
  /* LaleChatColors: beyaz yazı bu derin tonlarda AA geçer */
  --rose-deep: #b9507f;
  --rose-deeper: #8e2f62;
  --plum-soft: #5e4a55;
  /* BrandColors */
  --brand-rose: #e56286;
  --murdum: #721f50;
  --light-pink: #f4b4c5;
  --dark: #4a1435;

  --shadow-1: 0 8px 24px -4px rgba(212, 122, 158, 0.1);
  --shadow-2: 0 14px 36px -6px rgba(212, 122, 158, 0.18);
  --shadow-phone: 0 40px 80px -28px rgba(114, 31, 80, 0.38);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(185, 80, 127, 0.55);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  inset-block-start: 16px;
}

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

.narrow {
  max-width: 860px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

[dir="rtl"] .icon-arrow {
  transform: scaleX(-1);
}

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose-deeper));
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(142, 47, 98, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px -8px rgba(142, 47, 98, 0.55);
}

.btn-light {
  background: var(--white);
  color: var(--murdum);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9375rem;
}

/* ---------- Üst menü ---------- */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(251, 249, 247, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-block-end: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-block-end-color: rgba(247, 225, 236, 0.9);
  box-shadow: 0 6px 24px -18px rgba(114, 31, 80, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
}

.site-header .brand img {
  width: auto;
  height: 54px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-inline-start: auto;
}

.nav-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 9999px;
  color: var(--plum-soft);
  font-weight: 500;
  font-size: 0.9688rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background: var(--wash);
  color: var(--ink);
}

.nav-list a[aria-current="page"] {
  color: var(--rose-deep);
  font-weight: 600;
}

/* Menü düğmesi (dar ekran): yumuşak gül zeminde üç çizgi; açılınca çarpıya döner. */
.nav-toggle {
  display: none;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--wash);
  color: var(--rose-deep);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: var(--contour);
}

.nav-toggle-bars {
  display: grid;
  gap: 5px;
  justify-items: end;
  width: 20px;
}

.nav-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}

.nav-toggle-bars span:nth-child(2) {
  width: 13px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .header-inner {
    gap: 10px;
  }

  .brand {
    margin-inline-end: auto;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset-block-start: calc(var(--header-h) - 4px);
    inset-inline: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--contour);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-2);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list a {
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: 1.0625rem;
  }

  .nav-cta {
    padding-block: 13px;
    font-size: 1rem;
  }
}

/* Dil menüsü */

.lang-switch {
  position: relative;
}

.lang-switch summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--contour);
  border-radius: 9999px;
  background: var(--white);
  color: var(--plum-soft);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch[open] summary .icon-sm {
  transform: rotate(180deg);
}

.lang-switch ul {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--contour);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-2);
  list-style: none;
}

.lang-switch a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--plum-soft);
  text-decoration: none;
}

.lang-switch a:hover {
  background: var(--wash);
}

.lang-switch a[aria-current] {
  color: var(--rose-deep);
  font-weight: 600;
}

/* ---------- Ortak bölüm ---------- */

.section {
  position: relative;
  padding-block: 80px;
}

.section.section--tight {
  padding-block: 0;
}

.section--tight + .section {
  padding-block-start: 64px;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2,
.cta-card h2 {
  margin-block: 16px;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-head .lead {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--contour);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--rose-deep);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lead {
  max-width: 36em;
  color: var(--plum-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}

h1 em,
h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--rose-deep), var(--brand-rose) 55%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-link {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Giriş ---------- */

.hero {
  position: relative;
  padding-block: 48px 72px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 55% at 85% 18%, rgba(232, 164, 189, 0.45), transparent 70%),
    radial-gradient(40% 45% at 5% 85%, rgba(169, 214, 245, 0.35), transparent 70%),
    radial-gradient(50% 40% at 40% 0%, var(--wash), transparent 75%);
}

.hero-glow::after {
  content: "";
  position: absolute;
  inset-block-end: -60px;
  inset-inline-end: -40px;
  width: 420px;
  height: 794px;
  background: url("../img/symbol.svg") no-repeat center / contain;
  opacity: 0.06;
}

/* minmax(0, …): içerik (ör. düğme satırı) sütunu ekrandan geniş itemesin. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-block: 20px;
  font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

/* İki mağaza düğmesi her ekranda yan yana ve yazı uzunluğundan bağımsız eşit boy (owner 02.11, uygulamadaki
   EqualRow); dar ekranda ölçüleri ekranla birlikte küçülür. */
.store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 2.5vw, 12px);
  max-width: 400px;
  margin-top: 32px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.4vw, 12px);
  min-width: 0;
  padding-block: clamp(9px, 2.6vw, 11px);
  padding-inline: clamp(10px, 3.2vw, 16px) clamp(10px, 3.6vw, 20px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s ease;
}

a.store-btn:hover {
  transform: translateY(-1px);
}

.store-btn .icon {
  width: clamp(20px, 5.6vw, 26px);
  height: clamp(20px, 5.6vw, 26px);
  opacity: 0.9;
}

.store-btn > span {
  min-width: 0;
}

.store-btn small {
  display: block;
  font-size: clamp(0.6875rem, 2.9vw, 0.75rem);
  line-height: 1.3;
  opacity: 0.75;
}

.store-btn strong {
  display: block;
  font-size: clamp(0.875rem, 3.9vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

/* En küçük telefonlarda simge yazıya yer bırakır. */
@media (max-width: 359px) {
  .store-btn .icon {
    display: none;
  }

  .cta-card {
    padding-inline: 16px;
  }
}

.store-buttons--light {
  margin-inline: auto;
  text-align: start;
}

.store-buttons--light .store-btn {
  background: var(--white);
  color: var(--ink);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.hero-note .icon {
  color: var(--rose-deep);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 460px;
}

.phone {
  width: min(280px, 62vw);
  margin: 0;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, var(--white), var(--wash));
  box-shadow: var(--shadow-phone), 0 0 0 1px rgba(247, 225, 236, 0.9);
}

.phone img {
  width: 100%;
  border-radius: 38px;
}

.hero-visual .phone {
  grid-area: 1 / 1;
}

.phone--front {
  z-index: 2;
  transform: translateX(-16%) rotate(-4deg);
}

.phone--back {
  transform: translateX(24%) translateY(-5%) rotate(5deg) scale(0.9);
  opacity: 0.96;
}

@media (prefers-reduced-motion: no-preference) {
  .phone--front {
    animation: float 7s ease-in-out infinite;
  }

  .phone--back {
    animation: float 7s ease-in-out -3.5s infinite;
  }
}

@keyframes float {
  50% {
    translate: 0 -10px;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-block: 72px 112px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .phone {
    width: 290px;
  }
}

/* ---------- Özellikler ---------- */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-block-end: 96px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--wash);
  color: var(--rose-deep);
  font-size: 0.875rem;
  font-weight: 600;
}

.showcase h3 {
  margin-block: 18px 14px;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.showcase-copy > p:not(.chip) {
  color: var(--plum-soft);
  font-size: 1.125rem;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks .icon {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  padding: 5px;
  border-radius: 9999px;
  background: var(--rose-deep);
  color: var(--white);
  stroke-width: 2.6;
}

.showcase-visual {
  display: grid;
  place-items: center;
  padding: 40px 16px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 50% at 25% 15%, var(--white), transparent 70%),
    linear-gradient(160deg, var(--petal), var(--contour));
}

.showcase:nth-of-type(2) .showcase-visual {
  background:
    radial-gradient(60% 50% at 75% 15%, var(--white), transparent 70%),
    linear-gradient(160deg, var(--blue-wash), #f3e6f1);
}

.showcase-visual .phone {
  width: min(270px, 64vw);
}

@media (min-width: 960px) {
  .section {
    padding-block: 112px;
  }

  .showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    margin-block-end: 120px;
  }

  .showcase--flip .showcase-visual {
    order: -1;
  }

  .showcase-visual {
    padding: 56px 24px;
  }
}

.feature-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card,
.entry-card {
  padding: 28px;
  border: 1px solid var(--contour);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.feature-card h3,
.privacy-card h3 {
  margin-block: 18px 8px;
  font-size: 1.125rem;
  line-height: 1.35;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9688rem;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--rose-deep);
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
}

.feature-icon--blue {
  background: var(--white);
  color: var(--on-blue);
}

/* ---------- Gizlilik (koyu bölüm) ---------- */

.section--dark {
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(229, 98, 134, 0.3), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(169, 214, 245, 0.14), transparent 70%),
    var(--dark);
  color: var(--wash);
}

.section--dark .eyebrow {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--light-pink);
}

.section--dark h2 {
  color: var(--white);
}

.section--dark h2 em {
  background-image: linear-gradient(120deg, var(--light-pink), var(--white));
}

.section--dark .lead {
  color: rgba(253, 243, 247, 0.8);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.privacy-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.privacy-card .feature-icon {
  background: rgba(244, 180, 197, 0.16);
  color: var(--light-pink);
}

.privacy-card h3 {
  color: var(--white);
}

.privacy-card p {
  color: rgba(253, 243, 247, 0.78);
  font-size: 0.9688rem;
}

/* ---------- Sağlık notu ve indirme ---------- */

.notice-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-block-start: 64px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(169, 214, 245, 0.7);
  border-radius: var(--radius-lg);
  background: var(--blue-wash);
}

.notice-card > div {
  flex: 1 1 280px;
}

.notice-card h2 {
  margin-block-end: 8px;
  font-size: 1.375rem;
  line-height: 1.3;
}

.notice-card p {
  color: var(--plum-soft);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(244, 180, 197, 0.55), transparent 60%),
    linear-gradient(135deg, var(--rose-deep), var(--rose-deeper) 60%, var(--murdum));
  color: var(--white);
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(114, 31, 80, 0.6);
}

.cta-mark {
  width: 52px;
  margin: 0 auto 8px;
}

.cta-card p {
  max-width: 34em;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.125rem;
}

.cta-card .cta-note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- İç sayfalar ---------- */

.page-hero {
  padding-block: 56px 36px;
  background: radial-gradient(60% 100% at 85% 0%, rgba(232, 164, 189, 0.28), transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.page-hero--center {
  padding-block: 96px;
  text-align: center;
}

.page-hero--center .btn {
  margin-top: 28px;
}

.not-found-mark {
  width: 52px;
  margin: 0 auto 20px;
}

.page-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.page-meta a {
  color: var(--rose-deep);
  text-decoration: none;
}

.page-lead {
  margin-top: 14px;
  color: var(--plum-soft);
  font-size: 1.1875rem;
}

.page-lead p + p {
  margin-top: 0.75em;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-block-end: 96px;
}

@media (min-width: 960px) {
  .doc-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .toc {
    position: sticky;
    inset-block-start: calc(var(--header-h) + 24px);
  }
}

.toc details {
  padding: 18px 20px;
  border: 1px solid var(--contour);
  border-radius: var(--radius-md);
  background: var(--petal);
}

.toc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc details[open] summary .icon {
  transform: rotate(180deg);
}

.toc ol {
  margin: 12px 0 0;
  padding-inline-start: 1.2em;
  color: var(--muted);
  font-size: 0.9375rem;
}

.toc li {
  padding-block: 4px;
}

.toc a {
  color: var(--plum-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--rose-deep);
}

.prose {
  padding: clamp(18px, 4.5vw, 56px);
  border: 1px solid var(--contour);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
  line-height: 1.72;
  overflow-wrap: break-word;
}

.prose h2 {
  margin-block: 2.2em 0.6em;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin-block: 1.6em 0.5em;
  font-size: 1.1875rem;
  line-height: 1.35;
}

.prose > :first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose .table-wrap,
.prose .callout {
  margin-block: 0 1em;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.3em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose a {
  color: var(--rose-deep);
  text-underline-offset: 3px;
}

.prose strong {
  font-weight: 600;
}

.callout {
  padding: 16px 20px;
  border-inline-start: 4px solid var(--rose);
  border-radius: var(--radius);
  background: var(--wash);
}

.callout p {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--contour);
  border-radius: var(--radius);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9688rem;
  line-height: 1.55;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  border-block-end: 1px solid var(--contour);
  text-align: start;
  vertical-align: top;
}

.table-wrap th {
  background: var(--petal);
  font-weight: 600;
}

.table-wrap tr:last-child td {
  border-block-end: 0;
}

/* Dar ekranda tablo satırları kart olur: her hücrenin üstünde sütun başlığı. */
@media (max-width: 639px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
  }

  .table-wrap tr {
    margin-block-end: 12px;
    padding-block: 6px;
    border: 1px solid var(--contour);
    border-radius: var(--radius);
    background: var(--petal);
  }

  .table-wrap tr:last-child {
    margin-block-end: 0;
  }

  .table-wrap td,
  .table-wrap tr:last-child td {
    padding: 6px 16px;
    border: 0;
  }

  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
  }
}

/* Destek */

.support {
  padding-block-end: 96px;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--contour);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.contact-card > div {
  flex: 1 1 260px;
}

.contact-card h2 {
  font-size: 1.25rem;
}

.contact-card p {
  color: var(--muted);
}

.faq-title {
  margin-block: 56px 20px;
  font-size: 1.625rem;
}

.faq {
  margin-block-end: 12px;
  border: 1px solid var(--contour);
  border-radius: 20px;
  background: var(--white);
  transition: box-shadow 0.2s ease;
}

.faq[open] {
  box-shadow: var(--shadow-1);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--rose-deep);
  transition: transform 0.2s ease;
}

.faq[open] summary .icon {
  transform: rotate(180deg);
}

.faq-body.prose {
  padding: 0 24px 8px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--plum-soft);
}

/* Portal bölümü */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding-block-end: 96px;
}

.entry-card h2 {
  font-size: 1.25rem;
  line-height: 1.35;
}

.entry-card h2 a {
  text-decoration: none;
}

.entry-card p {
  margin-top: 8px;
  color: var(--muted);
}

/* ---------- Alt bilgi ---------- */

.site-footer {
  padding-block: 64px 32px;
  border-block-start: 1px solid var(--contour);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand img {
  width: auto;
  height: 56px;
}

.footer-brand p {
  max-width: 22em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-col h2 {
  margin-block-end: 12px;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  padding-block: 5px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-col a:hover,
.footer-col a[aria-current="page"] {
  color: var(--rose-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-block-start: 1px solid var(--contour);
  color: var(--muted);
  font-size: 0.8438rem;
}

.footer-note {
  max-width: 62em;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ---------- Kaydırınca beliren öğeler (yalnız JS açıkken, hareket azaltılmamışsa) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}
