/*
 * Apple Human Interface Guidelines'a göre web tasarım sistemi.
 *  - Yazı: sistem yazı tipi (Apple cihazlarda SF Pro / SF Mono). SF lisansı web'e gömmeye izin vermez.
 *  - Ölçek: Apple metin stilleri (Large Title 34, Title 1 28, Title 2 22, Title 3 20, Headline 17,
 *    Body 17, Callout 16, Subheadline 15, Footnote 13, Caption 12). En küçük 11.
 *  - Renk: Apple sistem renkleri, tek vurgu (sistem mavisi), açık ve koyu mod.
 *  - Aralık: 8'in katları. Dokunma alanı en az 44 px.
 */
:root {
    color-scheme: light dark;

    --bg: #ffffff;                 /* systemBackground */
    --bg-secondary: #f5f5f7;       /* bölüm / gruplanmış zemin */
    --bg-grouped-row: #ffffff;
    --fill: #e8e8ed;               /* segment ve pasif dolgular */
    --label: #1d1d1f;
    --label-secondary: #6e6e73;    /* AA kontrastlı ikincil metin */
    --label-tertiary: #86868b;
    --separator: #d2d2d7;
    --accent: #0071e3;             /* sistem mavisi: düğmeler (beyaz yazıyla AA) */
    --accent-hover: #0077ed;
    --link: #0066cc;               /* bağlantı metni (beyaz zeminde AA) */
    --red: #ff3b30;
    --red-text: #d70015;
    --green: #34c759;
    --green-text: #248a3d;
    --orange-text: #c93400;
    --warn-bg: #fff4e5;
    --info-bg: #eef5ff;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

    /* harita gösterimi (giriş bölümü) */
    --map-land: #f2f1ec;
    --map-water: #cfe5fa;
    --map-water-edge: #6aa9e9;
    --map-grid: #d2d2d7;

    --grouped-page: #f2f2f7;
    --grouped-row: #ffffff;

    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
    --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

    font: 400 17px/1.47 var(--font);
    letter-spacing: -0.022em;
    color: var(--label);
    -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --bg-secondary: #1c1c1e;
        --bg-grouped-row: #2c2c2e;
        --fill: #3a3a3c;
        --label: #f5f5f7;
        --label-secondary: #a1a1a6;
        --label-tertiary: #8e8e93;
        --separator: #38383a;
        --accent: #0a84ff;
        --accent-hover: #409cff;
        --link: #2997ff;
        --red: #ff453a;
        --red-text: #ff6961;
        --green: #30d158;
        --green-text: #30d158;
        --orange-text: #ffb340;
        --warn-bg: #3a2a12;
        --info-bg: #0f2540;
        --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
        --map-land: #2c2c2e;
        --map-water: #17324d;
        --map-water-edge: #3d7fc4;
        --map-grid: #48484a;
        --grouped-page: #000000;
        --grouped-row: #1c1c1e;
    }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* Metin stilleri */
.large-title, h1 { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: 0.011em; margin: 0 0 16px; }
.title1, h2 { font-size: 28px; line-height: 1.21; font-weight: 700; letter-spacing: 0.013em; margin: 0 0 16px; }
.title2 { font-size: 22px; line-height: 1.27; font-weight: 700; letter-spacing: 0.016em; }
.title3, h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: 0.019em; margin: 0 0 8px; }
.headline { font-size: 17px; font-weight: 600; }
.callout { font-size: 16px; line-height: 1.31; }
.subheadline, .small { font-size: 15px; line-height: 1.33; }
.footnote { font-size: 13px; line-height: 1.38; letter-spacing: -0.006em; }
.caption { font-size: 12px; line-height: 1.33; letter-spacing: 0; }
p { margin: 0 0 16px; }
.muted { color: var(--label-secondary); }
.lead { font-size: 21px; line-height: 1.38; letter-spacing: 0.011em; color: var(--label-secondary); max-width: 40em; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.main { padding-top: 40px; padding-bottom: 64px; min-height: calc(100vh - 240px); }
.main-full { padding: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--label); color: var(--bg); padding: 8px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Üst menü: yarı saydam, bulanık (Apple gezinme çubuğu) */
.topnav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 80%, transparent);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--separator); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--label); font-size: 17px; font-weight: 600; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 24px; height: 24px; color: var(--accent); }
.links { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.links a { color: var(--label); opacity: 0.85; min-height: 44px; display: inline-flex; align-items: center; }
.links a:hover, .links a.active { opacity: 1; color: var(--accent); text-decoration: none; }
.links-sep { width: 1px; height: 16px; background: var(--separator); }
.inline { display: inline; margin: 0; }
.linklike { border: 0; background: none; color: var(--label); opacity: 0.85; cursor: pointer; font: inherit; padding: 0; min-height: 44px; }
.subnav { display: none; }

/* Düğmeler (44 px yükseklik) */
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
    border: 0; border-radius: 980px; cursor: pointer; font: 400 17px/1 var(--font); letter-spacing: -0.022em;
    background: var(--accent); color: #fff; text-align: center;
}
.btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn-ghost:hover { background: var(--link); color: #fff; }
.btn-light { background: #fff; color: #1d1d1f; }
.btn-light:hover { background: #f5f5f7; color: #1d1d1f; }
.btn-small { min-height: 32px; padding: 0 14px; font-size: 13px; }
.btn.block { display: flex; width: 100%; }
.links .btn-small { min-height: 32px; position: relative; opacity: 1; color: #fff; }
.links .btn-small::after { content: ""; position: absolute; inset: -6px 0; } /* dokunma alanı 44 px */
.chevron-link { font-size: 17px; }
.chevron-link::after { content: " ›"; }

.flash { background: var(--info-bg); color: var(--label); border-radius: 12px; padding: 16px; margin: 0 0 24px; font-size: 15px; }
.flash.warn { background: var(--warn-bg); }
.main-full > .flash { max-width: 976px; margin: 24px auto; }
.error { color: var(--red-text); font-size: 13px; margin: -8px 0 0; }

/* ---------- Giriş ---------- */
.hero { padding: 72px 0 80px; text-align: center; }
.hero-title { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.009em; max-width: 16em; margin: 0 auto 16px; }
.hero .lead { margin: 0 auto 32px; }
.cta { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }

.demo { margin: 0 auto; max-width: 1080px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    background: var(--bg-secondary); border-radius: 28px; overflow: hidden; text-align: left; }
.telex { margin: 0; padding: 32px; font: 400 13px/1.85 var(--mono); letter-spacing: 0; color: var(--label); white-space: pre-wrap; word-break: break-all; }
.telex b { font-weight: 600; font-size: 15px; }
.co { border-radius: 4px; animation: mark 0.5s ease-out forwards; animation-delay: calc(var(--i) * 0.6s + 0.5s); }
@keyframes mark { to { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red-text); box-shadow: 0 0 0 2px color-mix(in srgb, var(--red) 18%, transparent); } }
.demo figcaption { grid-column: 1 / -1; padding: 16px 32px 24px; font-size: 13px; color: var(--label-secondary); text-align: center; }

.chart { display: block; width: 100%; height: auto; }
.chart .land { fill: var(--map-land); }
.chart .graticule line { stroke: var(--map-grid); stroke-width: 1; }
.chart .graticule text { font: 400 12px var(--font); fill: var(--label-secondary); }
.chart .lake { fill: var(--map-water); stroke: var(--map-water-edge); stroke-width: 1; }
.chart .lake-label { font: italic 400 15px var(--font); fill: var(--map-water-edge); }
.chart .towns circle { fill: var(--bg); stroke: var(--label); stroke-width: 1.5; }
.chart .towns text { font: 600 13px var(--font); fill: var(--label); }
.chart .hatch-line { stroke: var(--red); stroke-width: 1.4; opacity: 0.5; }
.chart .area-fill { fill: url(#hatch); opacity: 0; animation: appear 0.8s ease-out 3.6s forwards; }
.chart .area-edges line { stroke: var(--red); stroke-width: 3; stroke-linecap: butt; stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
    animation: draw 0.55s ease-out forwards; animation-delay: calc(var(--i) * 0.6s + 0.5s); }
.chart .vertices circle { fill: var(--bg); stroke: var(--red); stroke-width: 2.4; opacity: 0; animation: appear 0.25s ease-out forwards; animation-delay: calc(var(--i) * 0.6s + 0.5s); }
.chart .area-label { opacity: 0; animation: appear 0.6s ease-out 4s forwards; }
.chart .area-label rect { fill: var(--bg); stroke: var(--red); stroke-width: 1.5; }
.chart .area-label text { font: 500 13px var(--mono); fill: var(--label); }
.chart .area-label .al-id { font-weight: 600; fill: var(--red-text); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .co, .chart .area-fill, .chart .area-edges line, .chart .vertices circle, .chart .area-label { animation: none; }
    .co { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red-text); }
    .chart .area-fill, .chart .vertices circle, .chart .area-label { opacity: 1; }
    .chart .area-edges line { stroke-dashoffset: 0; }
}

/* ---------- Bölümler ---------- */
.band { padding: 96px 0; }
.band-quiet { background: var(--bg-secondary); }
.band-ink { background: #000; color: #f5f5f7; }
.band-ink p { color: #a1a1a6; }
.band-ink h2 { color: #f5f5f7; }
.section-title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.003em; text-align: center; margin: 0 auto 16px; max-width: 18em; }
.section-lead { color: var(--label-secondary); font-size: 21px; line-height: 1.38; text-align: center; max-width: 36em; margin: 0 auto 48px; }

.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; margin: 0 auto 96px; }
.feature:last-of-type { margin-bottom: 0; }
.feature-flip .feature-text { order: 2; }
.feature-text h3 { font-size: 28px; line-height: 1.14; font-weight: 700; letter-spacing: 0.007em; margin-bottom: 16px; }
.feature-text p { color: var(--label-secondary); }
.shot { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--separator); }
.shot img { display: block; width: 100%; height: auto; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; font-size: 15px; }
.ticks li { position: relative; padding: 8px 0 8px 32px; border-top: 1px solid var(--separator); }
.ticks li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--accent); font-weight: 600; }

.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 96px 0 0; }
.caps > div { background: var(--bg-secondary); border-radius: 18px; padding: 24px; }
.caps dt { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.caps dd { margin: 0; color: var(--label-secondary); font-size: 15px; line-height: 1.4; }

/* Gruplanmış liste (Apple inset grouped) */
.grouped { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; background: var(--bg-grouped-row); border-radius: 12px; overflow: hidden; }
.band-quiet .grouped { background: var(--bg); }
.grouped > li { padding: 16px 20px; min-height: 44px; position: relative; }
.grouped > li + li::before { content: ""; position: absolute; top: 0; left: 20px; right: 0; border-top: 1px solid var(--separator); }
.grouped h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.022em; margin: 0 0 4px; }
.grouped p { font-size: 15px; color: var(--label-secondary); margin: 0; }

.steps-row { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps-row li { counter-increment: step; background: var(--bg-secondary); border-radius: 18px; padding: 32px 24px; }
.steps-row li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.steps-row p { color: var(--label-secondary); font-size: 15px; margin: 0; }

.corporate { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.corporate h2 { margin-bottom: 8px; }
.corporate p { margin: 0; }

.faq { max-width: 760px; margin: 0 auto; background: var(--bg-grouped-row); border-radius: 12px; overflow: hidden; }
.band:not(.band-quiet) .faq { background: var(--bg-secondary); }
.faq details { position: relative; }
.faq details + details::before { content: ""; position: absolute; top: 0; left: 20px; right: 0; border-top: 1px solid var(--separator); }
.faq summary { cursor: pointer; padding: 12px 48px 12px 20px; min-height: 44px; display: flex; align-items: center; font-size: 17px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "›"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%) rotate(90deg); color: var(--label-tertiary); font-size: 22px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.faq details p { color: var(--label-secondary); font-size: 15px; padding: 0 20px 16px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- Paketler ---------- */
.plans { margin: 0 auto; text-align: center; }
.interval-toggle { display: inline-flex; background: var(--fill); border-radius: 10px; padding: 3px; margin-bottom: 32px; }
.interval-toggle button { border: 0; background: transparent; min-height: 38px; padding: 0 20px; border-radius: 8px; cursor: pointer;
    font: 500 15px var(--font); letter-spacing: -0.01em; color: var(--label); }
.interval-toggle button.on { background: var(--bg); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); font-weight: 600; }
.save { color: var(--green-text); font-size: 13px; font-weight: 600; margin-left: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto; text-align: left; }
.plan { background: var(--bg); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--separator); }
.band-quiet .plan { border-color: transparent; }
.plan h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.plan > p.muted { font-size: 15px; }
.plan-featured { box-shadow: 0 0 0 2px var(--accent); border-color: transparent; }
.price { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; margin: 16px 0 8px; }
.price .per { font-size: 17px; font-weight: 400; color: var(--label-secondary); }
.price .sub { display: block; font-size: 13px; font-weight: 400; color: var(--label-secondary); margin-top: 4px; letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; font-size: 15px; }
.checks li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--separator); }
.checks li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--accent); font-weight: 600; }
.checks li.off { color: var(--label-tertiary); }
.checks li.off::before { content: "–"; color: var(--label-tertiary); }

/* ---------- Formlar ve hesap sayfaları ---------- */
.card-box { background: var(--bg-secondary); border-radius: 18px; padding: 32px; margin-bottom: 24px; }
.card-box.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.card-box h2 { font-size: 22px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--label-secondary); letter-spacing: -0.006em; }
.form input:not([type=checkbox]), .form textarea {
    font: 400 17px var(--font); letter-spacing: -0.022em; min-height: 44px; padding: 10px 16px; border: 1px solid var(--separator); border-radius: 12px;
    background: var(--bg); color: var(--label);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--label); }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.auth-card { max-width: 440px; margin: 16px auto; background: var(--bg-secondary); border-radius: 18px; padding: 40px 32px; }
.auth-card h1 { font-size: 28px; text-align: center; }
.auth-card > p.muted { text-align: center; }
.auth-card > form + p { margin: 24px 0 0; text-align: center; }

.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { font-size: 13px; color: var(--label-secondary); margin: 0 0 4px; }
.facts { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 24px 0; font-size: 15px; }
.facts dt { color: var(--label-secondary); }
.facts dd { margin: 0; }
.actions-row { display: flex; gap: 16px; flex-wrap: wrap; }
.grid2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--separator); vertical-align: top; }
.table th { color: var(--label-secondary); font-weight: 400; font-size: 13px; }
.pill-status { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 980px; background: var(--fill); }
.s-succeeded { color: var(--green-text); background: color-mix(in srgb, var(--green) 16%, transparent); }
.s-failed { color: var(--red-text); background: color-mix(in srgb, var(--red) 14%, transparent); }
.s-pending { color: var(--orange-text); background: var(--warn-bg); }

.steps { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; flex-wrap: wrap; justify-content: center; }
.steps li { counter-increment: s; color: var(--label-secondary); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fill); font-size: 13px; font-weight: 600; color: var(--label); }
.steps li.on { color: var(--label); font-weight: 600; }
.steps li.on::before { background: var(--accent); color: #fff; }
.steps li.done::before { content: "✓"; background: var(--green); color: #fff; }

.prose { max-width: 720px; }

/* Alt bilgi (Apple tarzı, Caption 12) */
.footer { background: var(--bg-secondary); color: var(--label-secondary); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.footer-inner { padding: 24px 24px 32px; }
.footer-warning { color: var(--label-secondary); padding-bottom: 16px; border-bottom: 1px solid var(--separator); max-width: none; }
.footer-links { display: flex; gap: 8px 24px; flex-wrap: wrap; margin: 0; }
.footer a { color: var(--label); }

/* ---------- Alt sayfalar ---------- */
.page-hero { padding: 80px 0 16px; text-align: center; }
.page-hero .section-lead { margin-bottom: 0; }
.band-tight { padding-top: 48px; }
.cta-band { border-top: 1px solid var(--separator); }
.cta-band .cta { margin-bottom: 0; }
.title1 { font-size: 28px; line-height: 1.21; font-weight: 700; letter-spacing: 0.013em; text-align: center; margin: 0 0 24px; }

.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.teaser { display: flex; flex-direction: column; gap: 8px; background: var(--bg-secondary); border-radius: 18px; padding: 32px; color: var(--label); }
.teaser:hover { text-decoration: none; background: var(--fill); }
.teaser h3 { font-size: 24px; font-weight: 700; margin: 0; }
.teaser p { color: var(--label-secondary); font-size: 17px; margin: 0; flex: 1; }
.teaser .chevron-link { color: var(--link); margin-top: 8px; }

.steps-detail { list-style: none; counter-reset: step; padding: 0; margin: 0 auto; max-width: 760px; }
.steps-detail > li { counter-increment: step; position: relative; padding: 0 0 48px 64px; }
.steps-detail > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 600; }
.steps-detail > li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 48px; bottom: 8px; width: 2px; background: var(--separator); }
.steps-detail h2 { margin: 6px 0 8px; }
.steps-detail p { color: var(--label-secondary); }

/* ---------- iOS Ayarlar düzeni: gruplanmış sayfalar ---------- */
body.grouped-bg { background: var(--grouped-page); }
body.grouped-bg .topnav { background: color-mix(in srgb, var(--grouped-page) 80%, transparent); }
body.grouped-bg .footer { background: var(--grouped-page); border-top: 1px solid var(--separator); }
body.grouped-bg .flash { max-width: 680px; margin-left: auto; margin-right: auto; }
.page { max-width: 680px; margin: 0 auto; }
.page-wide { max-width: 1024px; margin: 0 auto; }
.page-title { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: 0.011em; margin: 0 0 8px; }
.page-lead { font-size: 17px; color: var(--label-secondary); margin: 0 0 8px; }
.page-center { text-align: center; }
.page-center .page-lead { max-width: 36em; margin-left: auto; margin-right: auto; }

.group-header { font-size: 13px; font-weight: 400; line-height: 1.38; letter-spacing: -0.006em; color: var(--label-secondary); margin: 32px 16px 8px; }
.group-footer { font-size: 13px; line-height: 1.38; letter-spacing: -0.006em; color: var(--label-secondary); margin: 8px 16px 0; }
.group-footer.error { color: var(--red-text); }

.list { background: var(--grouped-row); border-radius: 12px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 11px 16px;
    position: relative; font-size: 17px; color: var(--label); background: none; }
.row + .row::before, .field + .field::before, .row + .field::before, .field + .row::before, form.inline-row + .row::before, .row + form.inline-row::before, form.inline-row + form.inline-row::before {
    content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--separator); }
form.inline-row { margin: 0; position: relative; }
.row-value { color: var(--label-secondary); text-align: right; }
.row-sub { display: block; font-size: 13px; color: var(--label-secondary); margin-top: 2px; }
.row-main { min-width: 0; }
a.row { color: var(--link); }
a.row:hover { text-decoration: none; background: var(--fill); }
a.row::after { content: "›"; color: var(--label-tertiary); font-size: 22px; line-height: 1; }
a.row .row-value { margin-left: auto; }
.row-button { width: 100%; border: 0; cursor: pointer; font: 400 17px/1.29 var(--font); letter-spacing: -0.022em; color: var(--link); text-align: left; justify-content: flex-start; }
.row-button:hover { background: var(--fill); }
.row-button.destructive { color: var(--red-text); }
a.row.row-destructive { color: var(--red-text); }
.btn-destructive { background: var(--red); }
.btn-destructive:hover { background: color-mix(in srgb, var(--red) 88%, #000); }
.linklike.link { color: var(--link); opacity: 1; min-height: 0; text-decoration: underline; }
.bullets { margin: 0; padding: 12px 16px 12px 36px; font-size: 15px; line-height: 1.47; }
.bullets li + li { margin-top: 4px; }
.row-button.prominent { justify-content: center; font-weight: 600; }

.field { display: flex; flex-direction: column; gap: 2px; padding: 8px 16px; position: relative; }
.field > span { font-size: 13px; color: var(--label-secondary); letter-spacing: -0.006em; }
.field input, .field textarea { border: 0; background: transparent; padding: 2px 0; min-height: 30px; width: 100%;
    font: 400 17px/1.29 var(--font); letter-spacing: -0.022em; color: var(--label); }
.field textarea { resize: vertical; min-height: 60px; }
.field input::placeholder, .field textarea::placeholder { color: var(--label-tertiary); }
.field input:focus, .field textarea:focus { outline: none; }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.field:focus-within > span { color: var(--accent); }
.field-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; }
.field-row2 .field + .field::before { top: 8px; bottom: 8px; left: 0; right: auto; border-top: 0; border-left: 1px solid var(--separator); }
.field select { border: 0; background: transparent; padding: 2px 0; min-height: 30px; width: 100%; font: 400 17px/1.29 var(--font); color: var(--label); -webkit-appearance: none; appearance: none; }
.field select:focus { outline: none; }
.segmented-block { display: flex; }
.segmented-block label { flex: 1; justify-content: center; min-height: 38px; padding: 0 18px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; cursor: pointer; }
.segmented-block label.on { background: var(--bg); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); font-weight: 600; }
.segmented-block input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-block label:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.field-row3 .field + .field::before { top: 8px; bottom: 8px; left: 0; right: auto; border-top: 0; border-left: 1px solid var(--separator); }

.check-row { display: flex; gap: 12px; align-items: flex-start; margin: 24px 16px 0; font-size: 15px; line-height: 1.4; cursor: pointer; }
.check-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex: none; }
.btn-large { min-height: 50px; border-radius: 12px; font-size: 17px; font-weight: 600; }
.form-actions { margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Giriş, üyelik ve şifre sayfaları (Apple hesap sayfaları düzeni) ---------- */
:root { --field-bg: #ffffff; --field-border: #86868b; }
@media (prefers-color-scheme: dark) { :root { --field-bg: #1c1c1e; --field-border: #6e6e73; } }

.auth-body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.auth-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.auth-top-link { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.auth-main { flex: 1; padding: 48px 24px 72px; }
.auth { max-width: 400px; margin: 0 auto; }
.auth-icon { display: block; width: 64px; height: 64px; border-radius: 14px; margin: 0 auto 24px; box-shadow: 0 4px 16px rgba(0, 88, 214, 0.22); }
.auth h1 { font-size: 28px; line-height: 1.14; letter-spacing: 0.007em; text-align: center; margin: 0 0 8px; }
.auth-lead { font-size: 17px; line-height: 1.41; color: var(--label-secondary); text-align: center; margin: 0 0 32px; }
.auth .banner { margin: 0 0 24px; }
.auth-gap { margin-top: 16px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 24px; font-size: 15px; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.auth-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.auth-terms { font-size: 13px; line-height: 1.38; color: var(--label-secondary); margin: 24px 0 16px; text-align: center; }
.auth-switch { text-align: center; font-size: 15px; color: var(--label-secondary); margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--separator); }
.auth-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 24px; font-size: 12px; border-top: 1px solid var(--separator); }
.auth-foot a { color: var(--label-secondary); }

/* Metin alanı: etiket kutunun içinde; boşken ortada, yazınca küçülüp yukarı çıkar */
.tf-group { display: flex; flex-direction: column; }
.tf { position: relative; }
.tf input { display: block; width: 100%; height: 56px; margin: 0; padding: 24px 16px 6px; border: 1px solid var(--field-border); border-radius: 12px;
    background: var(--field-bg); color: var(--label); font: 400 17px/22px var(--font); letter-spacing: -0.022em; -webkit-appearance: none; appearance: none; }
.tf label { position: absolute; left: 17px; top: 17px; z-index: 2; font-size: 17px; line-height: 22px; color: var(--label-secondary);
    pointer-events: none; transform-origin: left top; transition: transform 0.15s ease, color 0.15s ease; }
.tf input:focus + label, .tf input:not(:placeholder-shown) + label, .tf input:-webkit-autofill + label { transform: translateY(-10px) scale(0.706); }
.tf input:focus { outline: none; position: relative; z-index: 1; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.tf input:focus + label { color: var(--accent); }
.tf-group .tf + .tf { margin-top: -1px; }
.tf-group .tf:not(:first-child) input { border-top-left-radius: 0; border-top-right-radius: 0; }
.tf-group .tf:not(:last-child) input { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.tf-has-reveal input { padding-right: 80px; }
.tf-reveal { position: absolute; right: 4px; top: 6px; z-index: 2; min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 8px;
    background: none; color: var(--link); font: 400 15px var(--font); cursor: pointer; }
.tf-reveal:hover { background: var(--fill); }
.tf-invalid input { position: relative; z-index: 1; border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, var(--field-bg)); }
.tf-invalid label { color: var(--red-text); }
.tf-error { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.38; color: var(--red-text); margin: 8px 4px 0; }
.tf-error::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center;
    background: var(--red); color: #fff; font-size: 11px; font-weight: 700; }
.tf-hint { font-size: 13px; line-height: 1.38; color: var(--label-secondary); margin: 8px 4px 0; }
@media (prefers-reduced-motion: reduce) { .tf label { transition: none; } }

/* Üye ol: masaüstünde yanda ne alacağınız */
.auth-split { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 440px); justify-content: center; gap: 80px; align-items: start; }
.auth-split .auth { margin: 0; }
.auth-aside { background: var(--bg-secondary); border-radius: 28px; padding: 40px 40px 0; overflow: hidden; margin-top: 88px; }
.auth-aside h2 { font-size: 17px; line-height: 1.29; font-weight: 600; letter-spacing: -0.022em; margin: 0 0 8px; }
.auth-ticks { list-style: none; padding: 0; margin: 0 0 24px; font-size: 15px; line-height: 1.4; }
.auth-ticks li { position: relative; padding: 6px 0 6px 28px; }
.auth-ticks li::before { content: "✓"; position: absolute; left: 2px; top: 6px; color: var(--accent); font-weight: 600; }
.auth-aside-link { font-size: 15px; }
.auth-device { width: 240px; height: 248px; margin: 32px auto 0; padding: 9px 9px 0; background: #1d1d1f; border-radius: 40px 40px 0 0; overflow: hidden;
    box-shadow: inset 0 0 0 1.5px #3a3a3c; }
.auth-device img { display: block; width: 100%; height: auto; border-radius: 31px 31px 0 0; }
.page .steps { margin-bottom: 32px; }

/* Segment kontrol (bağlantılarla) */
.segmented { display: inline-flex; background: var(--fill); border-radius: 10px; padding: 3px; }
.segmented a, .segmented span { min-height: 38px; padding: 0 18px; border-radius: 8px; display: inline-flex; align-items: center;
    color: var(--label); font-size: 15px; font-weight: 500; }
.segmented a:hover { text-decoration: none; background: color-mix(in srgb, var(--bg) 50%, transparent); }
.segmented .on { background: var(--bg); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); font-weight: 600; }

/* Durum ekranı (ödeme sonucu) */
.status-screen { text-align: center; padding: 48px 24px; }
.status-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 34px; color: #fff; margin-bottom: 16px; }
.status-icon.ok { background: var(--green); }
.status-icon.fail { background: var(--red); }
.status-icon.wait { background: var(--fill); color: var(--label-secondary); }
.status-icon.wait::before { content: ""; width: 28px; height: 28px; border: 3px solid var(--label-tertiary); border-top-color: transparent; border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .status-icon.wait::before { animation: none; } }
.status-screen .btn { margin-top: 16px; }

.banner { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 1.4; margin: 16px 0 0; }
.banner.warn { background: var(--warn-bg); color: var(--label); }
.banner.info { background: var(--info-bg); color: var(--label); }
.banner::before { content: "!"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--orange-text); }
.banner.info::before { content: "i"; background: var(--accent); }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 960px) {
    .demo { grid-template-columns: 1fr; border-radius: 18px; }
    .telex { padding: 24px; font-size: 12px; }
    .feature { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
    .feature-flip .feature-text { order: 0; }
    .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps-row { grid-template-columns: 1fr; }
    .teasers { grid-template-columns: 1fr; }
}
@media (max-width: 734px) {
    .links > a:not(.btn), .links-sep, .links .inline { display: none; }
    /* Hamburger menü yok: bölümler yatay kaydırılabilir satırda */
    .subnav { display: flex; gap: 24px; overflow-x: auto; padding: 0 24px; border-top: 1px solid var(--separator); font-size: 13px; scrollbar-width: none; }
    .subnav::-webkit-scrollbar { display: none; }
    .subnav a { color: var(--label); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
    .hero { padding: 48px 0 56px; }
    .page-hero { padding-top: 48px; }
    .steps-detail > li { padding-left: 56px; }
    .telex { font-size: 11px; padding: 20px 16px; word-break: normal; overflow-x: auto; } /* 11 px: Apple'ın en küçük metin boyutu */
    .lead, .section-lead { font-size: 19px; }
    .band { padding: 64px 0; }
    .caps { grid-template-columns: 1fr; margin-top: 64px; }
    .facts { grid-template-columns: 1fr; }
    .card-box, .auth-card { padding: 24px; }
    .auth-main { padding: 24px 16px 48px; }
    .auth h1 { font-size: 28px; }
    .auth-lead { margin-bottom: 24px; }
}
@media (max-width: 900px) {
    .auth-split { grid-template-columns: minmax(0, 400px); gap: 40px; }
    .auth-aside { margin-top: 0; padding: 32px 24px 0; border-radius: 18px; }
}

/* Çerez onayı: sayfayı kapatmayan alt kart. "Reddet" ve "Kabul et" aynı görünür (KVKK çerez rehberi). */
.consent {
    position: fixed; z-index: 30; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    max-width: 680px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 20px;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--separator); border-radius: 18px; box-shadow: var(--shadow);
}
.consent[hidden] { display: none; }
.consent-text { margin: 0; font-size: 14px; line-height: 1.43; letter-spacing: -0.01em; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent-btn { min-width: 104px; background: var(--fill); color: var(--label); font-weight: 600; }
.consent-btn:hover { background: color-mix(in srgb, var(--fill) 82%, var(--label)); color: var(--label); }
@media (max-width: 640px) {
    .consent { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
    .consent-btn { flex: 1; }
}
.footer-button { min-height: 0; font-size: inherit; text-decoration: none; }
.footer-button:hover { text-decoration: underline; }
.auth-foot .footer-button { color: var(--label-secondary); opacity: 1; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.table code { font: 13px var(--mono); }
.page > .banner + .prose { margin-top: 24px; }
.table code { white-space: nowrap; }
