/* courino.com/yardim ve /en/help: derlemede yazılardan üretilen sayfalar (src/help/site.tsx). */
:root {
  color-scheme: light;
  --brand: #8C57FF; --brand-2: #A379FF; --brand-ink: #6E3FE0; --ink: #2E263D; --muted: #6D6777;
  --bg: #F4F5FA; --card: #fff; --line: #ECEAF2; --tint: #EDE5FF;
  --info-bg: #E3F5FF; --info: #0E6FA3; --warn-bg: #FFF4DE; --warn: #8A5A00;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
[id] { scroll-margin-top: 84px; }

header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 12px; height: 68px; }
.logo img { height: 40px; display: block; }
.links { display: flex; gap: 22px; margin-left: 28px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.links a:hover, .links a[aria-current] { color: var(--brand); }
.actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.btn.primary { color: #fff; background: var(--brand); box-shadow: 0 10px 22px -12px var(--brand); }
.btn.primary:hover { background: #7C45F5; }
.btn.lang { height: 36px; padding: 0 10px; font-size: 13px; border: 1px solid var(--line); color: var(--muted); }
.btn.lg { height: 50px; padding: 0 20px; font-size: 15px; border-radius: 14px; }

.help { padding-top: 22px; padding-bottom: 56px; }
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.crumbs a { color: var(--brand-ink); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 10px 0 14px; }
.help > h2, .help section > h2 { font-size: 22px; letter-spacing: -.015em; margin: 36px 0 14px; }
.help section > h2 a:hover { color: var(--brand); }
.lead { font-size: 17.5px; color: var(--muted); max-width: 760px; }

.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.role { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, transform .15s; }
.role:hover { border-color: var(--brand); transform: translateY(-2px); }
.role b { font-size: 18px; }
.role span { color: var(--muted); font-size: 14.5px; }
.role small { margin-top: 6px; font-weight: 700; color: var(--brand-ink); font-size: 13px; }

.list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.list a { display: flex; flex-direction: column; gap: 2px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .15s; }
.list a:hover { border-color: var(--brand); }
.list b { font-size: 15.5px; }
.list span { color: var(--muted); font-size: 14px; }

.doc { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px clamp(20px, 4vw, 48px); max-width: 880px; }
.doc .lead { margin-bottom: 18px; }
.doc h2 { font-size: 22px; letter-spacing: -.015em; margin: 30px 0 10px; }
.doc h3 { font-size: 17.5px; margin: 22px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.doc code { background: var(--tint); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
.doc .alert { border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; background: var(--info-bg); color: var(--info); }
.doc .alert-warning { background: var(--warn-bg); color: var(--warn); }
.doc .table-responsive { overflow-x: auto; margin-bottom: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg); }
.related { max-width: 880px; }

.cta { margin-top: 44px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, #8C57FF, #6E3FE0); color: #fff; border-radius: 22px; padding: 26px 30px; }
.cta b { font-size: 20px; }
.cta p { opacity: .9; margin-top: 4px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn.primary { background: #fff; color: var(--brand-ink); box-shadow: none; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a:hover { color: var(--brand); }

@media (max-width: 960px) { .links { display: none; } .roles { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .actions .ghost { display: none; }
  .list { grid-template-columns: 1fr; }
  .doc { padding: 24px 18px; border-radius: 18px; }
  .cta { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .role { transition: none; } }
