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

main:focus { outline: none; }

/* Kahraman */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -0.025em; max-width: 14ch; }
.hero-lede { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--text-3); max-width: 46ch; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
}
@media (max-width: 430px) {
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Canlı mini grafik kartı */
.chart-card {
  border: 1px solid var(--border); border-radius: 8px; background: var(--chart-bg); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
}
.chart-card-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface);
}
.chart-tabs { display: flex; gap: 2px; padding: 2px; border-radius: var(--radius); background: var(--surface-2); }
.chart-tabs button {
  min-height: 32px; min-width: 44px; padding: 0 10px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-2); font-size: 13px; font-weight: 500; font-family: var(--font-mono);
}
.chart-tabs button:hover { color: var(--text); }
.chart-tabs button[aria-selected='true'] { background: var(--bg); color: var(--text); box-shadow: 0 0 0 1px var(--border); }
.chart-quote { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.chart-quote .price { font-size: 17px; font-weight: 500; color: var(--text); }
.chart-quote .chg { font-size: 13px; }
.chart-card-head .badge { margin-left: auto; }
.chart-card-body { position: relative; height: clamp(280px, 38vw, 420px); }
.chart-card-body .chart-el { position: absolute; inset: 0; }
.chart-card-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 14px;
  border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3); background: var(--surface);
}
.chart-card-foot a { font-weight: 500; font-size: 13px; }
.chart-message {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center; color: var(--text-2); font-size: 14px; background: var(--chart-bg);
}
.chart-message[hidden] { display: none; }
.chart-message p { max-width: 40ch; }

/* Bölümler */
.section { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--border); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; margin-bottom: 40px; align-items: end; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.02em; max-width: 20ch; }
.section-head p { color: var(--text-2); max-width: 56ch; font-size: 17px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feature { padding: 28px 28px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature svg { width: 24px; height: 24px; color: var(--accent-text); margin-bottom: 18px; }
.feature h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.feature .badge { font-weight: 500; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } .feature { padding: 24px 20px; } }

/* Veri tablosu */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table thead th { font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); }
.data-table tbody tr:last-child td, .data-table tbody tr:last-child th { border-bottom: 0; }
.data-table tbody th { font-weight: 500; }
.data-table td { color: var(--text-2); }
.data-notes { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; color: var(--text-2); font-size: 15px; }
@media (max-width: 720px) { .data-notes { grid-template-columns: 1fr; } }

/* Söz */
.promise { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; }
.promise h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.02em; }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--border); }
.promise li { padding: 16px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 28px 1fr; gap: 8px; color: var(--text-2); }
.promise li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--up); }
.promise li strong { color: var(--text); font-weight: 500; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

/* Bekleme listesi */
.waitlist { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; }
.waitlist h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.02em; }
.waitlist p.lede { margin-top: 12px; color: var(--text-2); max-width: 44ch; }
.waitlist-form { display: grid; gap: 10px; padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.waitlist-row { display: flex; gap: 10px; }
.waitlist-row .input { flex: 1; }
.waitlist-form .fine { font-size: 13px; color: var(--text-3); }
@media (max-width: 860px) { .waitlist { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .waitlist-row { flex-direction: column; } .waitlist-form { padding: 18px; } }

/* Destekçi teaser */
.support-teaser { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: 28px; border: 1px solid var(--border); border-radius: 8px; }
.support-teaser h2 { font-size: 22px; }
.support-teaser p { margin-top: 6px; color: var(--text-2); max-width: 60ch; }

/* Metin sayfaları */
.page-head { padding: clamp(40px, 6vw, 72px) 0 32px; border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.page-head p { margin-top: 12px; color: var(--text-2); max-width: 60ch; font-size: 17px; }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; padding-top: 40px; }
.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: block; padding: 4px 0; }
.page-aside a:hover, .page-aside a[aria-current='page'] { color: var(--text); }
@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: 16.5px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 22px; color: var(--text); margin-top: 40px; }
.prose h3 { font-size: 18px; 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; padding: 18px 36px 18px 0; position: relative; color: var(--text); font-weight: 500; font-size: 17px; }
.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: 44px; padding: 0 18px; 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: 15px; }
.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) */
.btn[hidden] { display: none; }
.auth-page { padding-top: clamp(40px, 7vw, 80px); }
.auth-col { max-width: 420px; margin: 0 auto; }
.auth-col-wide { max-width: 600px; }
.auth-col h1 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; }
.auth-lede { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.auth-form { margin-top: 28px; display: grid; gap: 14px; }
.auth-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.auth-fieldset[disabled] { opacity: 0.6; }
.auth-form[hidden], .account[hidden] { display: none; }
.auth-submit { width: 100%; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-link { font-size: 13.5px; }
.field-opt { font-weight: 400; color: var(--text-3); }
.field-hint { font-size: 13px; color: var(--text-3); }
.input[readonly] { background: var(--surface); color: var(--text-2); }
.input[aria-invalid='true'] { border-color: var(--down); }
.auth-hint { font-size: 13.5px; color: var(--text-3); }
.auth-sep { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-3); }
.auth-sep::before, .auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--text-2); }
.auth-account { font-size: 14px; color: var(--text-2); }
.auth-notice {
  margin-top: 24px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--surface); font-size: 14.5px; color: var(--text-2); display: grid; gap: 12px;
}
.auth-notice[hidden] { display: none; }
.auth-notice[data-state='error'] { border-color: color-mix(in srgb, var(--down) 55%, var(--border)); }
.auth-notice-links { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-notice-links .btn { text-decoration: none; }
.auth-mock {
  margin-top: 16px; padding: 8px 12px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--warn); font-family: var(--font-mono);
}
.auth-mock[hidden] { display: none; }
.form-status:empty { min-height: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.account { margin-top: 28px; border-top: 1px solid var(--border); }
.account-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.account-section h2 { font-size: 17px; }
.account-section > p { margin-top: 8px; color: var(--text-2); font-size: 15px; max-width: 60ch; }
.account-section .auth-form { margin-top: 16px; }
.account-section .form-actions { margin-top: 12px; }

/* Başlıktaki hesap bağlantısı */
.header-auth { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 34px; }
.site-nav .nav-auth { display: none; }
@media (max-width: 860px) { .site-nav .nav-auth { display: flex; } }
