/* ==========================================================================
   BORCU YOKTUR — TANITIM VE YASAL SAYFA STİLİ
   Tema: kök sayfa (yavuzselimkilic.com/index.html) tasarım sistemi
   "Bento Grid Showcase + Swiss Minimalism"
   Jetonlar kök sayfanın :root bloğuyla birebir aynıdır:
   Plus Jakarta Sans · slate nötrleri · #0f172a ink · #2563eb mavi vurgu
   8/12/16/20 px yarıçaplar · bento gölgeleri
   ========================================================================== */

:root {
  /* Nötrler & yüzeyler */
  --page-bg: #f8fafc;
  --card-bg: #ffffff;
  --fg-primary: #0f172a;
  --fg-secondary: #475569;
  --fg-subtle: #64748b;

  /* Çerçeve & ayraç */
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-strong: #cbd5e1;

  /* Marka vurguları */
  --brand-primary: #0f172a;
  --brand-navy: #0f233d;
  --brand-blue: #2563eb;
  --brand-blue-bg: #eff6ff;
  --brand-blue-line: #dbeafe;
  --brand-whatsapp: #15803d;
  --brand-whatsapp-hover: #166534;

  /* Durum renkleri — bilgi taşır, süs değildir */
  --ok: #15803d;
  --ok-bg: #f0fdf4;
  --ok-line: #bbf7d0;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --risk: #b91c1c;
  --risk-bg: #fef2f2;
  --risk-line: #fecaca;

  /* Koyu bento zemini */
  --dark-1: #09131f;
  --dark-2: #0e233f;
  --dark-line: #1e3a5f;
  --dark-fg: #e2e8f0;
  --dark-muted: #94a3b8;

  /* Yarıçap & gölge */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-bento: 0 2px 8px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 14px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);

  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--page-bg);
  color: var(--fg-primary);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

strong {
  font-weight: 700;
  color: var(--fg-primary);
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--border-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.12em 0.42em;
  color: var(--fg-primary);
  word-break: break-word;
}

::selection {
  background: var(--brand-blue);
  color: #fff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   İSKELET — kök sayfadaki .shell-wrap ölçüsü
   -------------------------------------------------------------------------- */

.by-container {
  width: min(100% - 2.5rem, 74rem);
  margin: 0 auto;
}

.by-section {
  padding: 3.5rem 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

.by-section.tint {
  background: var(--page-bg);
}

.by-section.dark {
  background: linear-gradient(145deg, var(--dark-1) 0%, var(--dark-2) 100%);
  border-top: 0;
  color: #ffffff;
}

/* Bölüm başlığı — kök sayfadaki .section-eyebrow-row deseni */
.by-head {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.by-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 0.35rem;
}

.dark .by-eyebrow {
  color: #93c5fd;
}

.by-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--fg-primary);
  text-wrap: balance;
}

.dark .by-head h2 {
  color: #ffffff;
}

.by-head p {
  margin-top: 0.85rem;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 42rem;
}

.dark .by-head p {
  color: var(--dark-muted);
}

/* --------------------------------------------------------------------------
   SAYFA İÇİ ÜST MENÜ
   -------------------------------------------------------------------------- */

.by-subnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.by-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 62px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.by-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.by-brand:hover .by-brand-name {
  color: var(--brand-blue);
}

.by-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.by-brand-name {
  display: block;
  font-size: 0.975rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--fg-primary);
  transition: color var(--transition-fast);
}

.by-brand-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-subtle);
  line-height: 1.3;
}

.by-subnav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.by-subnav-links a,
.by-subnav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.by-subnav-links a:hover,
.by-subnav-dropdown-btn:hover {
  background: #f1f5f9;
  color: var(--brand-blue);
}

.by-subnav-links a[aria-current="page"] {
  color: var(--brand-blue);
  background: var(--brand-blue-bg);
  font-weight: 700;
}

/* Yasal Açılır Menü (Dropdown) */
.by-subnav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.by-subnav-dropdown-btn svg {
  transition: transform var(--transition-fast);
}

.by-subnav-dropdown:hover .by-subnav-dropdown-btn svg,
.by-subnav-dropdown:focus-within .by-subnav-dropdown-btn svg {
  transform: rotate(180deg);
}

.by-subnav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}

.by-subnav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.by-subnav-dropdown:hover .by-subnav-dropdown-menu,
.by-subnav-dropdown:focus-within .by-subnav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.by-subnav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--fg-primary);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.by-subnav-dropdown-menu a:hover {
  background: #f8fafc;
}

.by-subnav-dropdown-menu a strong {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.by-subnav-dropdown-menu a small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fg-subtle);
}

.by-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--fg-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.by-menu-toggle:hover {
  background: var(--page-bg);
  border-color: var(--border-strong);
}

/* --------------------------------------------------------------------------
   DÜĞMELER — kök sayfadaki executive düğme çifti
   -------------------------------------------------------------------------- */

.by-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.85rem 1.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-primary);
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.by-btn:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

.by-btn.ghost {
  background: #ffffff;
  color: var(--fg-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-subtle);
}

.by-btn.ghost:hover {
  background: var(--page-bg);
  border-color: var(--border-strong);
  color: var(--fg-primary);
}

.by-btn.small {
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  font-size: 0.825rem;
  box-shadow: none;
}

.dark .by-btn,
.by-cta .by-btn {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--fg-primary);
  box-shadow: none;
}

.dark .by-btn:hover,
.by-cta .by-btn:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: var(--fg-primary);
}

.dark .by-btn.ghost,
.by-cta .by-btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.dark .by-btn.ghost:hover,
.by-cta .by-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Mağaza rozeti — aktif indirme bağlantısı veya yayın öncesi "yakında" rozeti */
.by-store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--fg-primary);
  box-shadow: var(--shadow-subtle);
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

a.by-store:hover,
.by-store:hover:not(.soon) {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: var(--fg-primary);
  text-decoration: none;
}

a.by-store:hover .by-store-text strong,
.by-store:hover:not(.soon) .by-store-text strong {
  color: var(--brand-blue);
}

.by-store svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.by-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.by-store-text small {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.by-store-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.by-store.soon {
  background: var(--page-bg);
  box-shadow: none;
  cursor: default;
}

.by-store.soon svg {
  opacity: 0.65;
}

.by-store.compact {
  min-height: 38px;
  padding: 0.4rem 0.85rem;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
}

.by-store.compact svg {
  width: 17px;
  height: 17px;
}

.by-store.compact .by-store-text small {
  font-size: 0.6rem;
}

.by-store.compact .by-store-text strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.by-subnav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Üst menü rozetlerinde gereksiz küçük yazıyı gizleyip net, tek satır görünüm sağlar */
.by-subnav-actions .by-store.compact {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  gap: 0.45rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.by-subnav-actions .by-store.compact .by-store-text small {
  display: none;
}

.by-subnav-actions .by-store.compact .by-store-text strong {
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   HERO — kök sayfadaki .hero-studio deseni
   -------------------------------------------------------------------------- */

.by-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--page-bg) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 0 3.25rem;
}

.by-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .by-hero-grid {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 3.5rem;
  }
}

.by-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-blue);
  background: var(--brand-blue-bg);
  border: 1px solid var(--brand-blue-line);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.by-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.by-hero h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--fg-primary);
  text-wrap: balance;
}

.by-hero h1 em {
  font-style: normal;
  color: var(--fg-subtle);
}

.by-hero-lead {
  margin-top: 1rem;
  font-size: 1.025rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 38rem;
}

.by-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Güven metrikleri şeridi */
.by-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 600px) {
  .by-hero-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.by-fact strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--fg-primary);
}

.by-fact span {
  display: block;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--fg-subtle);
  margin-top: 0.2rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   BELGE KARTI — hero görseli (uygulamanın çıktısının temsili)
   -------------------------------------------------------------------------- */

.by-doc {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-bento);
  overflow: hidden;
}

.by-doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--brand-primary);
  color: #ffffff;
}

.by-doc-top strong {
  font-size: 0.925rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.by-doc-top span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
}

.by-doc-body {
  padding: 1.35rem 1.25rem 1.25rem;
}

.by-doc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.by-doc-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.by-doc-row .k {
  color: var(--fg-subtle);
  font-weight: 600;
}

.by-doc-row .v {
  font-weight: 700;
  color: var(--fg-primary);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.by-doc-stamp {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ok-line);
  border-radius: var(--radius-md);
  background: var(--ok-bg);
  color: var(--ok);
}

.by-doc-stamp .mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--ok);
  color: #ffffff;
  font-size: 1rem;
  flex-shrink: 0;
}

.by-doc-stamp strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ok);
}

.by-doc-stamp span {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #166534;
}

.by-barcode {
  height: 44px;
  margin-top: 1.1rem;
  background-color: #ffffff;
  background-image: repeating-linear-gradient(90deg, var(--fg-primary) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, var(--fg-primary) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(90deg, var(--fg-primary) 0 1px, transparent 1px 4px);
}

.by-barcode-no {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  text-align: center;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   BENTO KART IZGARALARI
   -------------------------------------------------------------------------- */

.by-grid-2,
.by-grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .by-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .by-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.by-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-bento);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.by-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.dark .by-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--dark-line);
  box-shadow: none;
}

.dark .by-card:hover {
  border-color: #3b82f6;
  transform: none;
  box-shadow: none;
}

.by-card-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--brand-blue-bg);
  border: 1px solid var(--brand-blue-line);
  color: var(--brand-blue);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.dark .by-card-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #93c5fd;
}

.by-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--fg-primary);
}

.dark .by-card h3 {
  color: #ffffff;
}

.by-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-secondary);
}

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

.by-card-note {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.785rem;
  font-weight: 600;
  color: var(--fg-subtle);
}

.dark .by-card-note {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   ADIMLAR — kök sayfadaki numaralı editoryal kart deseni
   -------------------------------------------------------------------------- */

.by-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .by-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .by-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.by-step {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.by-step:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-bento);
}

.by-step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  margin-bottom: 1.25rem;
}

.by-step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  color: var(--fg-primary);
}

.by-step p {
  font-size: 0.865rem;
  line-height: 1.55;
  color: var(--fg-secondary);
}

/* --------------------------------------------------------------------------
   TABLOLAR
   -------------------------------------------------------------------------- */

.by-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.by-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 34rem;
}

.by-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding: 0.85rem 1.15rem;
  background: var(--page-bg);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.by-table td {
  padding: 0.8rem 1.15rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--fg-secondary);
  vertical-align: top;
  line-height: 1.55;
}

.by-table tr:first-child td {
  border-top: 0;
}

.by-table td strong {
  color: var(--fg-primary);
  font-weight: 700;
}

.by-table .mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-subtle);
  white-space: nowrap;
}

/* Durum çipleri */
.by-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: 1px solid transparent;
}

.by-chip.ok {
  background: var(--ok-bg);
  border-color: var(--ok-line);
  color: var(--ok);
}

.by-chip.warn {
  background: var(--warn-bg);
  border-color: var(--warn-line);
  color: var(--warn);
}

.by-chip.risk {
  background: var(--risk-bg);
  border-color: var(--risk-line);
  color: var(--risk);
}

.by-chip.neutral {
  background: var(--border-subtle);
  border-color: var(--border-color);
  color: var(--fg-secondary);
}

/* --------------------------------------------------------------------------
   BİLGİ / UYARI KUTULARI
   -------------------------------------------------------------------------- */

.by-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--fg-secondary);
}

.by-note i {
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: var(--brand-blue);
}

.by-note strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.by-note.ok {
  background: var(--ok-bg);
  border-color: var(--ok-line);
  color: #14532d;
}

.by-note.ok i,
.by-note.ok strong {
  color: var(--ok);
}

.by-note.warn {
  background: var(--warn-bg);
  border-color: var(--warn-line);
  color: #78350f;
}

.by-note.warn i,
.by-note.warn strong {
  color: var(--warn);
}

.by-note.risk {
  background: var(--risk-bg);
  border-color: var(--risk-line);
  color: #7f1d1d;
}

.by-note.risk i,
.by-note.risk strong {
  color: var(--risk);
}

/* --------------------------------------------------------------------------
   SSS — kök sayfadaki details/summary akordeonu
   -------------------------------------------------------------------------- */

.by-faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.by-faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.by-faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-subtle);
}

.by-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  text-align: left;
}

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

.by-faq-q::after {
  content: "↓";
  font-size: 0.85rem;
  color: var(--fg-subtle);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.by-faq-item[open] .by-faq-q::after {
  transform: rotate(180deg);
  color: var(--fg-primary);
}

.by-faq-a {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.885rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

.by-faq-a p + p {
  margin-top: 0.7rem;
}

/* --------------------------------------------------------------------------
   KAPANIŞ ÇAĞRISI — koyu bento kart
   -------------------------------------------------------------------------- */

.by-cta {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(145deg, var(--dark-1) 0%, var(--dark-2) 100%);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: #ffffff;
}

@media (min-width: 860px) {
  .by-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    padding: 2.5rem;
  }
}

.by-cta h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: #ffffff;
}

.by-cta p {
  margin-top: 0.6rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--dark-muted);
  max-width: 38rem;
}

.by-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   SAYFA ALTI
   -------------------------------------------------------------------------- */

.by-footer {
  background: var(--brand-navy);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}

.by-footer .by-brand-name {
  color: #ffffff;
}

.by-footer .by-brand-sub {
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
}

.by-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 680px) {
  .by-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.by-footer-about {
  margin-top: 0.9rem;
  font-size: 0.865rem;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 28rem;
}

.by-footer h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.by-footer ul {
  display: grid;
  gap: 0.6rem;
}

.by-footer a {
  font-size: 0.865rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.by-footer a:hover {
  color: #ffffff;
}

.by-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-size: 0.775rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   YASAL SAYFA DÜZENİ
   -------------------------------------------------------------------------- */

.by-legal-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--page-bg) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 2.75rem 0 2.5rem;
}

.by-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-subtle);
  margin-bottom: 1.1rem;
}

.by-crumb a:hover {
  color: var(--brand-blue);
}

.by-crumb span {
  color: var(--border-strong);
}

.by-legal-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.14;
  color: var(--fg-primary);
  text-wrap: balance;
}

.by-legal-lead {
  margin-top: 0.9rem;
  font-size: 1.0rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 46rem;
}

.by-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--fg-subtle);
}

.by-legal-meta b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--fg-primary);
}

.by-legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 2.25rem 0 4rem;
}

@media (min-width: 960px) {
  .by-legal-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 2.75rem;
    padding: 2.75rem 0 4.5rem;
  }
}

.by-toc {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 960px) {
  .by-toc {
    position: sticky;
    top: 140px;
  }
}

.by-toc h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 0.75rem;
  padding: 0 0.4rem;
}

.by-toc ol {
  display: grid;
  gap: 0.1rem;
}

@media (min-width: 600px) and (max-width: 959px) {
  .by-toc ol {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.15rem 1rem;
  }
}

.by-toc a {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-secondary);
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.by-toc a:hover {
  background: var(--brand-blue-bg);
  color: var(--brand-blue);
}

.by-legal-body {
  min-width: 0;
}

.by-legal-body section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  padding: 1.85rem;
  margin-bottom: 1rem;
}

.by-legal-body section:last-child {
  margin-bottom: 0;
}

.by-legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--fg-primary);
  margin-bottom: 0.9rem;
}

.by-legal-body h2 .no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.by-legal-body h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin: 1.5rem 0 0.5rem;
}

.by-legal-body p {
  font-size: 0.925rem;
  line-height: 1.72;
  color: var(--fg-secondary);
  margin-bottom: 0.75rem;
  max-width: 46rem;
}

.by-legal-body p:last-child {
  margin-bottom: 0;
}

.by-legal-body a:not(.by-btn) {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.by-legal-body a:not(.by-btn):hover {
  color: #1d4ed8;
}

.by-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
}

.by-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.915rem;
  line-height: 1.68;
  color: var(--fg-secondary);
  max-width: 46rem;
}

.by-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
}

.by-list.check li::before {
  content: "\2713";
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--ok);
  font-size: 0.95rem;
  font-weight: 700;
}

.by-list.cross li::before {
  content: "\2715";
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--risk);
  font-size: 0.9rem;
  font-weight: 700;
}

.by-legal-body .by-note,
.by-legal-body .by-table-wrap,
.by-legal-body .by-def,
.by-legal-body .by-contact-card {
  margin: 1.15rem 0;
}

.by-legal-body .by-table-wrap {
  box-shadow: none;
}

/* Tanım listesi */
.by-def {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 600px) {
  .by-def {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
}

.by-def dt {
  background: var(--page-bg);
  padding: 0.85rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-primary);
  border-top: 1px solid var(--border-subtle);
}

.by-def dd {
  padding: 0.85rem 1.15rem;
  font-size: 0.885rem;
  line-height: 1.6;
  color: var(--fg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.by-def dt:first-of-type,
.by-def dt:first-of-type + dd {
  border-top: 0;
}

/* İletişim / künye kutusu */
.by-contact-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--page-bg);
  gap: 1px;
}

@media (min-width: 600px) {
  .by-contact-card {
    grid-template-columns: repeat(2, 1fr);
  }
}

.by-contact-card > div {
  background: #ffffff;
  padding: 1.1rem 1.25rem;
}

.by-contact-card .k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 0.3rem;
}

.by-contact-card .v {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg-primary);
}

.by-contact-card .v a {
  color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   KÜÇÜK EKRANLAR
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .by-brand-sub {
    display: none;
  }
  .by-subnav-links {
    gap: 0.15rem;
  }
  .by-subnav-links a,
  .by-subnav-dropdown-btn {
    padding: 0.4rem 0.55rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 959px) {
  .by-menu-toggle {
    display: inline-flex;
  }

  .by-subnav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
    margin: 0;
  }

  .by-subnav-links.is-open {
    display: flex;
  }

  .by-subnav-links a,
  .by-subnav-dropdown-btn {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
  }

  .by-subnav-dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .by-subnav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none;
    border: 1px solid var(--border-subtle);
    background: var(--page-bg);
    margin-top: 0.25rem;
    padding: 0.4rem;
  }
}

@media (max-width: 580px) {
  .by-subnav-actions .by-store.compact .by-store-text {
    display: none;
  }
  .by-subnav-actions .by-store.compact {
    padding: 0.45rem 0.55rem;
  }
}

@media (max-width: 700px) {
  .by-section {
    padding: 2.75rem 0;
  }

  .by-hero {
    padding: 2.25rem 0 2.5rem;
  }

  .by-legal-body section {
    padding: 1.35rem 1.15rem;
  }

  .by-card,
  .by-step {
    padding: 1.35rem;
  }

  .by-cta {
    padding: 1.75rem 1.35rem;
  }

  .by-brand-sub {
    display: none;
  }
}

@media (max-width: 639px) {
  .by-subnav {
    top: 56px;
  }

  html {
    scroll-padding-top: 126px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .by-subnav,
  .by-toc,
  .by-cta,
  .by-footer {
    display: none;
  }

  .by-legal-layout {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .by-legal-body section {
    border: 0;
    box-shadow: none;
    padding: 0 0 1rem;
  }

  body {
    background: #fff;
  }
}
