/* ==========================================================
   Nöbetle — tanıtım sitesi (nobetle.com). Uygulama /app/ altında, kendi stiliyle.
   ========================================================== */
:root {
    --bg: #fbf8f3;
    --bg-2: #f3eee5;
    --surface: #ffffff;
    --line: #e4dccf;
    --ink: #1f2933;
    --ink-2: #47525e;
    --muted: #6f7782;
    --brand: #a92a22;
    --brand-hover: #8c211a;
    --trust: #1f3a4d;
    --trust-ink: #f4efe6;
    --trust-ink-2: #c9d3d8;
    --shadow: 0 18px 40px -22px rgba(52, 38, 20, .42), 0 1px 3px rgba(52, 38, 20, .1);
    --radius: 8px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: Georgia, "Noto Serif", "Droid Serif", "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a1815;
        --bg-2: #221f1b;
        --surface: #2a2622;
        --line: #3b362f;
        --ink: #f1ebe0;
        --ink-2: #cfc7b9;
        --muted: #a0978a;
        --brand: #d9574c;
        --brand-hover: #e56e63;
        --trust: #182a37;
        --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .3);
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font: 17px/1.65 var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Üst çubuk */
.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 22px/1 var(--serif); color: var(--ink); text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent;
    font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9bfae; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Giriş bölümü */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: 15px; font-weight: 600; }
h1 { font: 700 clamp(36px, 4.6vw, 54px)/1.14 var(--serif); margin: 0 0 22px; letter-spacing: -.01em; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

.hero-shots { position: relative; padding-bottom: 44px; }
.shot-pc, .shot-phone, .how-shot img { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot-pc { width: 100%; border-radius: var(--radius); }
.shot-phone { position: absolute; right: -14px; bottom: 0; width: 27%; border: 5px solid #24211d; border-radius: 22px; }

/* Bölümler */
section { padding: 88px 0; }
.alt { background: var(--bg-2); }
h2 { font: 700 clamp(28px, 3.2vw, 38px)/1.2 var(--serif); margin: 0 0 14px; }
.sub { color: var(--ink-2); margin: 0; max-width: 34em; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 64px; align-items: start; }
.split-head { position: sticky; top: 108px; }
.rules { margin: 0; border-top: 1px solid var(--line); }
.rules > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rules dt { font-weight: 700; }
.rules dd { margin: 0; color: var(--ink-2); }

.how { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 28px 58px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
    content: counter(step); position: absolute; left: 0; top: -2px;
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid var(--brand); border-radius: 50%; color: var(--brand); font: 700 18px/1 var(--serif);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 1px; background: var(--line); }
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-2); }
.how-shot { margin: 0; max-width: 320px; justify-self: center; }
.how-shot img { border: 6px solid #24211d; border-radius: 26px; }
.how-shot figcaption { margin-top: 14px; font-size: 14.5px; color: var(--muted); text-align: center; }

.paper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 56px; align-items: center; }
.sheet { width: 100%; background: #fff; padding: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }

.trust { background: var(--trust); color: var(--trust-ink); }
.trust .sub { color: var(--trust-ink-2); }
.trust a { color: inherit; }
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.checks li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }

.final { text-align: center; }
.final .sub { margin: 0 auto 28px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
.disclaimer { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; }

/* Yazı sayfası (gizlilik politikası) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }

@media (max-width: 960px) {
    .hero { padding-top: 52px; }
    .hero .wrap, .split, .how, .paper, .privacy { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .split-head { position: static; }
    .shot-phone { right: 0; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .nav-links { display: none; }
    .nav .wrap { height: 60px; }
    .nav .btn { margin-left: auto; }
    .hero { padding: 40px 0 56px; }
    section { padding: 60px 0; }
    .lead { font-size: 17px; }
    .cta .btn { width: 100%; }
    /* Telefonda bilgisayar görüntüsü okunmaz: yalnız telefon ekranı */
    .hero-shots { padding: 0; }
    .shot-pc { display: none; }
    .shot-phone { position: static; width: min(88%, 340px); margin: 0 auto; }
    .rules > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .sheet { padding: 6px; }
    .how-shot { max-width: min(88%, 340px); }
}
