/* Tanıtım ve metin sayfaları */

main:focus { outline: none; }
.fine { font-size: 13px; color: var(--text-3); }
.section { padding-top: var(--s8); }
.section-head { display: grid; gap: var(--s2); margin-bottom: var(--s5); max-width: 640px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.section-head p { color: var(--text-2); font-size: 16px; }
@media (min-width: 1024px) { .section { padding-top: var(--s9); } .section-head { margin-bottom: var(--s6); } }

/* ---------------------------------------------------------------- Kahraman */
.hero { padding-top: var(--s6); }
.hero-copy { display: grid; gap: var(--s4); max-width: 640px; }
.hero h1 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.hero-lede { font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin-top: var(--s1); }
.hero-try { min-height: 52px; padding: 0 28px; font-size: 17px; font-weight: 600; border-radius: 8px; }
.hero-try-note { font-size: 14px; color: var(--text-3); }
.hero-search { display: grid; gap: var(--s2); max-width: 520px; }
.hero-search-label { font-size: 14px; color: var(--text-2); font-weight: 500; }
.hero-search-row { position: relative; display: flex; gap: var(--s2); }
.hero-search .search-icon { left: 14px; width: 18px; height: 18px; }
.hero-search .search-input { flex: 1; min-width: 0; height: 48px; padding-left: 42px; font-size: 16px; border-radius: 8px; border-color: var(--border-strong); background: var(--surface); }
.hero-search-btn { flex: none; min-height: 48px; min-width: 64px; padding: 0 18px; font-size: 16px; font-weight: 600; border-radius: 8px; }
.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); font-size: 14px; color: var(--text-3); }
.hero-quick a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s3); border-radius: var(--radius);
  border: 1px solid var(--border); color: var(--text-2); text-decoration: none; font-weight: 500;
}
.hero-quick a:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.hero-shot { margin: var(--s6) 0 0; }
.hero-shot > a { display: block; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--chart-bg); }
.hero-shot a:focus-visible { outline-offset: 3px; }
.hero-shot img { width: 100%; height: auto; }
.hero-shot figcaption, .phone-shot figcaption { margin-top: var(--s2); font-size: 13px; color: var(--text-3); }
.hero-shot figcaption { margin: 0 0 var(--s2); }
.hero-quotes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s2); list-style: none; padding: var(--s2) 0; margin: 0 0 var(--s2);
  border-block: 1px solid var(--border);
}
.hero-quotes a { display: block; color: var(--text); text-decoration: none; }
.hero-quotes a:hover b { text-decoration: underline; }
.hero-quotes small { display: block; color: var(--text-3); }
.hero-quotes [data-price] { white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); flex: none; }
.dot[data-kind='delayed'] { background: var(--warn); }
.dot[data-kind='realtime'] { background: var(--up); }
.dot[data-kind='daily'] { background: var(--accent-text); }
@media (max-width: 600px) {
  .hero-try { flex: 1 1 100%; }
  .hero-try-note { display: none; }
}
@media (min-width: 768px) {
  .hero { padding-top: var(--s8); }
  .hero h1 { font-size: 48px; }
  .hero-lede { font-size: 19px; }
  .hero-shot { margin-top: var(--s7); }
}
@media (min-width: 1100px) { .hero h1 { font-size: 52px; } }

/* ---------------------------------------------------------------- Piyasa kartları */
.market-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .market-card[data-market-block='bist'] { grid-row: span 2; } }
@media (min-width: 1100px) { .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } .market-card[data-market-block='bist'] { grid-row: auto; } }
.market-card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); overflow: hidden; }
.market-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s4) var(--s4) var(--s3); }
.market-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.market-list { list-style: none; margin: 0; padding: 0 0 var(--s2); }
.market-list li + li { border-top: 1px solid var(--border); }
.market-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s4); align-items: center;
  min-height: 64px; padding: var(--s3) var(--s4); color: var(--text); text-decoration: none;
}
.market-list a:hover { background: var(--surface-2); }
.m-sym { display: grid; gap: 2px; min-width: 0; }
.m-sym b { font-size: 15px; font-weight: 600; }
.m-sym small { font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-sym small .dot { display: inline-block; width: 5px; height: 5px; margin: 0 4px 2px 0; vertical-align: middle; }
.m-num { display: grid; justify-items: end; gap: 2px; }
.m-price { font-size: 15px; font-weight: 600; }
.m-chg { font-size: 13px; font-weight: 600; color: var(--text-2); }
.m-chg.up { color: var(--up); }
.m-chg.down { color: var(--down); }
.markets-note { margin-top: var(--s4); font-size: 13px; color: var(--text-3); max-width: 70ch; }

/* ---------------------------------------------------------------- Özellikler */
.features-grid { display: grid; gap: var(--s6); }
.features-title { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.facts { margin: var(--s5) 0 0; border-top: 1px solid var(--border); }
.facts > div { padding: var(--s4) 0; border-bottom: 1px solid var(--border); display: grid; gap: var(--s1); }
.facts dt { font-size: 17px; font-weight: 600; color: var(--text); }
.facts dd { margin: 0; font-size: 15px; color: var(--text-2); max-width: 60ch; }
.features-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.features-cta .btn { flex: 1 1 180px; }
.phone-shot { margin: 0; display: none; }
.phone-shot img { width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: 18px; }
@media (min-width: 900px) {
  .features-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s8); align-items: start; }
  .facts > div { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s4); }
  .features-cta .btn { flex: none; }
  .phone-shot { display: block; }
}

/* ---------------------------------------------------------------- Bekleme listesi (ince satır) */
.waitlist-strip { padding-top: var(--s7); }
.waitlist-row-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s3) var(--s6); }
.waitlist-strip h2 { font-size: 16px; font-weight: 600; }
.waitlist-strip .fine { margin-top: 2px; }
.waitlist-form { display: grid; gap: 6px; flex: 0 1 460px; min-width: 0; }
.waitlist-row { display: flex; gap: var(--s2); }
.waitlist-row .input { flex: 1; min-width: 0; }
.waitlist-row .btn { min-height: 44px; }
.waitlist-row .input { min-height: 44px; }
@media (max-width: 480px) { .waitlist-row { flex-direction: column; } .waitlist-form { flex-basis: 100%; } }

/* Metin sayfaları */
.page-head { padding: var(--s7) 0 var(--s5); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.page-head p { margin-top: var(--s3); color: var(--text-2); max-width: 60ch; font-size: 17px; }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s8); padding-top: var(--s6); }
.page-aside { font-size: 14px; color: var(--text-2); border-left: 1px solid var(--border); padding-left: 24px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.page-aside h2 { font-size: 13px; color: var(--text); margin-bottom: 8px; }
.page-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.page-aside a { color: var(--text-2); text-decoration: none; display: flex; align-items: center; min-height: 40px; }
.page-aside a:hover { color: var(--text); }
.page-aside a[aria-current='page'] { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .page-body { grid-template-columns: 1fr; gap: 40px; } .page-aside { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; } }

.prose { max-width: 70ch; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; color: var(--text); margin-top: var(--s6); }
.prose h3 { font-size: 15.5px; color: var(--text); margin-top: 28px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { font-size: 0.92em; background: var(--surface-2); padding: 1px 5px; border-radius: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.prose blockquote { margin-left: 0; padding-left: 16px; border-left: 3px solid var(--border-strong); }
.todo { display: inline-block; font-family: var(--font-mono); font-size: 12px; padding: 2px 6px; border-radius: 3px; background: var(--surface-2); color: var(--warn); border: 1px dashed var(--border-strong); }

/* SSS akordeon (details) */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; padding: var(--s3) 40px var(--s3) 0; position: relative; color: var(--text); font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; }
.faq details > div > * + * { margin-top: 12px; }

.support-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* İçerik dosyasından gelen ham butonlar (destekçi sayfası) */
.prose button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; margin: 0 8px 8px 0; border-radius: var(--radius); border: 1px solid var(--border-strong); background: transparent; color: var(--text); font-weight: 500; font-size: 14px; }
.prose button[disabled] { opacity: 0.55; cursor: not-allowed; }
.prose p:has(> button) { display: flex; flex-wrap: wrap; gap: 8px; }
.prose p:has(> button) button { margin: 0; }
.prose .btn { text-decoration: none; margin: 0 8px 8px 0; }

/* Hesap sayfaları (giriş, kayıt, şifre, Hesabım) */
.auth-page { padding-top: var(--s7); }
.auth-col { max-width: 420px; margin: 0 auto; }
.auth-col-wide { max-width: 640px; }
.auth-col h1 { font-size: clamp(28px, 6vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.auth-lede { margin-top: var(--s2); color: var(--text-2); font-size: 16px; }
.auth-page .auth-form { margin-top: var(--s5); gap: var(--s4); }
.auth-page .auth-fieldset { gap: var(--s4); }
.auth-page .input { min-height: 48px; font-size: 16px; }
.auth-page .auth-submit { min-height: 48px; font-size: 16px; }
.auth-page .field label { font-size: 14px; }
@media (min-width: 761px) { .auth-page { padding-top: var(--s8); } .auth-col:not(.auth-col-wide) { padding: var(--s6); border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); } .auth-col:not(.auth-col-wide) .input { background: var(--bg); } }
.auth-col .auth-switch { margin-top: 16px; }
.auth-submit { width: 100%; }
.field-opt { font-weight: 400; color: var(--text-3); }
.input[readonly] { background: var(--surface); color: var(--text-2); }
.auth-alt { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.auth-account { font-size: 13.5px; color: var(--text-2); }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account[hidden] { display: none; }

.account { margin-top: 24px; border-top: 1px solid var(--border); }
.account-section { padding: var(--s5) 0; border-bottom: 1px solid var(--border); }
.account-section h2 { font-size: 18px; font-weight: 700; }
.account-section > p { margin-top: 6px; color: var(--text-2); font-size: 14px; max-width: 60ch; }
.account-section .auth-form { margin-top: 14px; }
.account-section .form-actions { margin-top: 10px; }
.hero-shot picture { display: block; }
@media (max-width: 480px) { .hero-quick-label { display: none; } .hero-quick { gap: var(--s2); } .hero-quick a { padding: 0 10px; } }
@media (max-width: 600px) { .hero-shot { max-width: 420px; } }

/* Piyasa kartı kaynak satırı: API'nin döndürdüğü gerçek sağlayıcılar (site.js) */
.market-source { margin: 0; padding: 0 var(--s4) var(--s3); min-height: calc(1.4em + var(--s3)); font-size: 12.5px; line-height: 1.4; color: var(--text-3); }
