/* Oxicart Yardım Merkezi
   Düzen: koyu marka bandı (logo + arama) üstte; altında tek okuma kolonu. Konu ve yazı sayfaları
   solda konu menüsü / sağda içindekiler ile üç sütuna açılır, telefonda tek sütuna iner. */
:root {
  --ink: #022b30; /* marka koyu yeşil: bant, başlık */
  --pop: #54f66f; /* marka açık yeşil: yalnız koyu zeminde */
  --accent: #0b6b44; /* açık zeminde bağlantı ve vurgu */
  --bg: #ffffff;
  --fg: #022b30;
  --muted: #4a6467;
  --soft: #f1f6f4;
  --soft-2: #e3eeea;
  --line: #dbe7e2;
  --band-fg: #eef4f1;
  --band-muted: #a9c6c2;
  --band-field: #0d3a40;
  --band-line: #1d4c52;
  --note: #fff6dc;
  --note-fg: #5a4300;
  --shadow: 0 1px 2px rgba(2, 43, 48, 0.06), 0 8px 24px rgba(2, 43, 48, 0.06);
  --radius: 12px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --w: 1120px;
  --w-read: 720px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #061a1d;
    --fg: #e4efeb;
    --muted: #9db8b4;
    --soft: #0c2629;
    --soft-2: #123236;
    --line: #1c3f44;
    --accent: #54f66f;
    --note: #2e2710;
    --note-fg: #f2dfa6;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #061a1d;
  --fg: #e4efeb;
  --muted: #9db8b4;
  --soft: #0c2629;
  --soft-2: #123236;
  --line: #1c3f44;
  --accent: #54f66f;
  --note: #2e2710;
  --note-fg: #f2dfa6;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- bant ---------- */
.band {
  /* Logodaki sonsuzluk eğrisinden türeyen silik halka arka planın parçası: taşma kesilmeden (arama
     sonuçları bandın dışına açılır) bandı düz renkten ayırır. */
  background:
    radial-gradient(
      circle at calc(100% + 140px) -100px,
      transparent 0 200px,
      rgba(84, 246, 111, 0.06) 201px 258px,
      transparent 259px
    ),
    var(--ink);
  color: var(--band-fg);
  position: relative;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--band-fg);
  text-decoration: none;
}
.brand img {
  display: block;
  height: 26px;
  width: auto;
}
.brand__sep {
  width: 1px;
  height: 22px;
  background: var(--band-line);
}
.brand__label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Dil seçici: açılır menü (details). Bayrak ya da küre ikonu yok, dil adı yazılı. */
.lang {
  position: relative;
}
.lang summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--band-fg);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--band-line);
  border-radius: 999px;
  padding: 7px 12px 7px 16px;
  user-select: none;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary:hover,
.lang[open] summary {
  border-color: var(--pop);
}
.lang__caret {
  width: 12px;
  height: 12px;
  transition: transform 0.15s;
}
.lang[open] .lang__caret {
  transform: rotate(180deg);
}
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 170px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(2, 43, 48, 0.18);
}
.lang__menu a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
}
.lang__menu a:hover {
  background: var(--soft);
}
.lang__menu a[aria-current="true"] {
  font-weight: 500;
  background: var(--soft-2);
}
.lang__code {
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--muted);
  align-self: center;
}
.topbar__link {
  color: var(--band-fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--band-line);
  border-radius: 999px;
  padding: 7px 16px;
  white-space: nowrap;
}
.topbar__link:hover {
  border-color: var(--pop);
  color: var(--pop);
}
.hero {
  padding-block: 40px 64px;
  max-width: 680px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero__hint {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--band-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
}
.hero__hint a {
  color: var(--band-fg);
  text-decoration: underline;
  text-decoration-color: var(--band-line);
  text-underline-offset: 3px;
}
.hero__hint a:hover {
  text-decoration-color: var(--pop);
}
.band--small .search {
  margin-bottom: 28px;
  max-width: 680px;
}

/* ---------- arama ---------- */
.search {
  position: relative;
}
.search input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--band-fg);
  background: var(--band-field);
  border: 1px solid var(--band-line);
  border-radius: 10px;
  padding: 12px 16px 12px 46px;
  outline: none;
}
.search--big input {
  font-size: 17px;
  padding-block: 16px;
  border-radius: 12px;
}
.search input::placeholder {
  color: var(--band-muted);
}
.search input:focus {
  border-color: var(--pop);
  box-shadow: 0 0 0 3px rgba(84, 246, 111, 0.18);
}
.search__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: var(--band-muted);
  pointer-events: none;
}
.search__results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(2, 43, 48, 0.18);
  padding: 6px;
  max-height: min(420px, 60vh);
  overflow-y: auto;
}
.search__results a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
}
.search__results a:hover,
.search__results a[aria-selected="true"] {
  background: var(--soft);
}
.search__results b {
  display: block;
  font-weight: 500;
}
.search__results small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px;
}
.search__results mark {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}
.search__empty {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- ana içerik ---------- */
.main {
  padding-block: 40px 0;
}
.is-home .main {
  padding-top: 0;
}
.popular {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 10px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.popular h2,
.sec-h {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
}
.sec-h {
  margin: 48px 0 16px;
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rows li + li {
  border-top: 1px solid var(--line);
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  color: var(--fg);
  text-decoration: none;
}
.row:hover .row__title {
  color: var(--accent);
}
.row__meta {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.cat {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  text-decoration: none;
  background: var(--bg);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.cat:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.cat__title {
  font-size: 17px;
  font-weight: 500;
}
.cat__desc {
  color: var(--muted);
  font-size: 15px;
}
.cat__count {
  margin-top: 8px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.contact {
  margin: 64px 0 0;
  border-radius: var(--radius);
  background: var(--soft);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
}
.contact h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px;
}
.contact p {
  margin: 0;
  color: var(--muted);
}
.contact__list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.contact__list dt {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact__list dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.copy {
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 8px;
  cursor: pointer;
  margin-left: 4px;
  vertical-align: 1px;
}
.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.footer__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer__in p {
  margin: 0;
}
.footer__logo {
  height: 20px;
  width: auto;
  opacity: 0.85;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer__logo {
    filter: invert(1) hue-rotate(180deg);
  }
}
:root[data-theme="dark"] .footer__logo {
  filter: invert(1) hue-rotate(180deg);
}

/* ---------- konu ve yazı ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--accent);
}
.cols {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}
.side__h,
.toc__h {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 10px;
  font-weight: 500;
}
.side ul,
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
}
.side a span {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.side a:hover {
  background: var(--soft);
}
.side a[aria-current="page"] {
  background: var(--soft-2);
  font-weight: 500;
}
.page-h {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  text-wrap: balance;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 8px;
  max-width: 62ch;
}
.list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.list li {
  border-bottom: 1px solid var(--line);
}
.item {
  display: grid;
  gap: 2px;
  padding: 16px 4px;
  color: var(--fg);
  text-decoration: none;
}
.item__title {
  font-weight: 500;
  font-size: 17px;
}
.item:hover .item__title {
  color: var(--accent);
}
.item__desc {
  color: var(--muted);
  font-size: 15px;
}
.list--tight .item {
  padding: 11px 4px;
}
.list--tight .item__title {
  font-size: 16px;
}

.art-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--w-read)) 220px;
  gap: 64px;
  justify-content: space-between;
}
.art__head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.art__meta {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
.toc {
  position: sticky;
  top: 24px;
  align-self: start;
  font-size: 14px;
}
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--fg);
}
.toc a.is-active {
  color: var(--fg);
  border-left-color: var(--accent);
  font-weight: 500;
}
.related {
  margin-top: 48px;
}
.related h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

/* ---------- yazı gövdesi ---------- */
.prose {
  font-size: 16.5px;
}
.prose > section {
  padding-top: 28px;
}
.prose h2 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.prose h3 {
  font-size: 17.5px;
  font-weight: 500;
  margin: 0 0 6px;
}
.prose p {
  margin: 0 0 12px;
}
.prose ul,
.prose ol {
  margin: 4px 0 14px;
  padding-left: 22px;
}
.prose li {
  margin-bottom: 6px;
}
.prose code,
.ui {
  font-family: var(--font);
  font-size: 0.94em;
  font-weight: 500;
  background: var(--soft-2);
  border-radius: 5px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}
.prose figure {
  margin: 14px 0 18px;
}
.prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.prose figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.table-wrap {
  overflow-x: auto;
  margin: 8px 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose th {
  font-weight: 500;
  background: var(--soft);
}
.prose td:first-child {
  font-weight: 500;
  white-space: nowrap;
}
.note {
  background: var(--note);
  color: var(--note-fg);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 10px 0 16px;
  font-size: 15.5px;
}
.box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px 6px;
  margin: 10px 0 16px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 20px 0 8px;
}
.fact {
  background: var(--soft);
  border-radius: 10px;
  padding: 14px 16px;
}
.fact b {
  display: block;
  font-size: 18px;
  font-weight: 500;
}
.fact span {
  font-size: 14px;
  color: var(--muted);
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  background: var(--soft-2);
  color: var(--accent);
  border-radius: 6px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: 3px;
}
.step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding-top: 22px;
}
.num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--pop);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}
.picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.picker button {
  font: inherit;
  text-align: left;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  display: grid;
  gap: 2px;
}
.picker button b {
  font-weight: 500;
}
.picker button span {
  font-size: 14px;
  color: var(--muted);
}
.picker button:hover {
  border-color: var(--accent);
}
.picker button[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: var(--soft);
}
.pickhint {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 32px 16px 0;
  font-weight: 500;
  font-size: 17px;
  position: relative;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 13px;
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
}
.qa[open] summary::after {
  content: "\2212";
}
.qa > div {
  padding: 0 0 12px;
}
[data-only][hidden],
[hidden] {
  display: none !important;
}

/* ---------- dar ekran ---------- */
@media (max-width: 1000px) {
  .art-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
}
@media (max-width: 860px) {
  .cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .side ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .side a {
    border: 1px solid var(--line);
  }
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .brand__sep,
  .brand__label {
    display: none;
  }
  .hero {
    padding-block: 24px 52px;
  }
  .contact__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .picker {
    grid-template-columns: minmax(0, 1fr);
  }
  .row {
    flex-direction: column;
    gap: 2px;
  }
  .popular {
    padding: 18px 18px 6px;
  }
  .footer__in {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
