/* =========================================================
   Tavsancik Sorgu Paneli - website
   Tema: KREM/EDITORYAL - Fraunces (serif) + Public Sans
   Vurgu: terracotta + koyu yesil
   ========================================================= */

:root {
    --paper: #faf8f4;
    --paper-2: #f2efe8;
    --surface: #ffffff;
    --ink: #1c1917;
    --ink-2: #44403c;
    --muted: #78716c;
    --line: #e7e2d8;
    --line-2: #d6cfc2;
    --clay: #c2410c;
    --clay-d: #9a3412;
    --clay-w: #fdf3ec;
    --moss: #166534;
    --moss-w: #eef6f0;
    --radius: 6px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, .05);
    --shadow: 0 10px 30px -12px rgba(28, 25, 23, .18);
    --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --sans: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
    --max: 1140px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.015em;
    color: var(--ink);
}

a { text-decoration: none; color: inherit; transition: color .16s ease, background .16s ease, border-color .16s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------------- HEADER ---------------- */
.masthead {
    position: sticky; top: 0; z-index: 900;
    background: rgba(250, 248, 244, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-2);
}
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 74px; }

.wordmark { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.wordmark .glyph {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--clay); color: #fff;
    display: grid; place-items: center;
    font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.wordmark small {
    display: block; font-family: var(--sans); font-size: .68rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.menu { display: flex; align-items: center; gap: 3px; }
.menu a {
    font-size: .89rem; font-weight: 600; color: var(--ink-2);
    padding: 8px 13px; border-radius: var(--radius);
}
.menu a:hover { color: var(--clay); background: var(--clay-w); }
.menu a[aria-current="page"] { color: var(--clay); background: var(--clay-w); }

.head-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); margin: 4px auto; }

/* ---------------- BUTTONS ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: .9rem; padding: 11px 22px;
    border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 8px 20px -10px rgba(194, 65, 12, .8); }
.btn-primary:hover { background: var(--clay-d); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--clay); color: var(--clay); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 15px 32px; font-size: .98rem; }

/* ---------------- HERO ---------------- */
.hero { padding: 74px 0 66px; position: relative; overflow: hidden; }
.hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--line) 1px, transparent 1px);
    background-size: 100% 44px; opacity: .5;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
    mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero > .container { position: relative; z-index: 1; }

.kicker {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: .74rem; font-weight: 800; letter-spacing: .18em;
    text-transform: uppercase; color: var(--clay);
    border-top: 2px solid var(--clay); padding-top: 9px; margin-bottom: 26px;
}

.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); max-width: 15ch; margin-bottom: 22px; }
.hero h1 .thin { font-weight: 400; font-style: italic; color: var(--ink-2); }
.hero p.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.hero-meta div { min-width: 120px; }
.hero-meta b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--clay); line-height: 1.1; }
.hero-meta span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------------- LEDGER (modul listesi) ---------------- */
.ledger { border-top: 2px solid var(--ink); }
.ledger-item {
    display: grid; grid-template-columns: 68px 1fr auto; gap: 24px; align-items: start;
    padding: 26px 4px; border-bottom: 1px solid var(--line);
}
.ledger-item:hover { background: rgba(194, 65, 12, .035); }
.ledger-no {
    font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
    color: var(--line-2); line-height: 1;
}
.ledger-body h3 { font-size: 1.32rem; margin-bottom: 7px; }
.ledger-body p { font-size: .97rem; color: var(--muted); max-width: 68ch; }
.ledger-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.ledger-tags span {
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--moss); background: var(--moss-w); padding: 4px 10px; border-radius: 3px;
}
.ledger-link { font-size: .87rem; font-weight: 800; color: var(--clay); white-space: nowrap; padding-top: 6px; }
.ledger-link:hover { color: var(--clay-d); }

/* ---------------- SECTION ---------------- */
.section { padding: 72px 0; }
.section.tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section.dark { background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink); }
.section.dark h2, .section.dark h3 { color: var(--paper); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-num {
    font-family: var(--serif); font-size: .86rem; font-weight: 700;
    color: var(--clay); display: block; margin-bottom: 10px; letter-spacing: .1em;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.03rem; }
.section.dark .section-head p { color: #a8a29e; }

/* ---------------- GRID KARTLARI ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 26px;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card .num {
    font-family: var(--serif); font-size: .8rem; font-weight: 700;
    color: var(--clay); letter-spacing: .1em; display: block; margin-bottom: 12px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.card p { font-size: .94rem; color: var(--muted); }

/* ---------------- STEPS ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { border-top: 2px solid var(--clay); padding-top: 18px; }
.step .n { font-family: var(--serif); font-size: 2.4rem; color: var(--line-2); line-height: 1; display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------------- FIYAT ---------------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 26px 22px; text-align: left;
}
.plan.feature { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.plan.feature h3, .plan.feature .amt { color: var(--paper); }
.plan h3 { font-size: 1.02rem; margin-bottom: 12px; font-family: var(--sans); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.plan .amt { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1; margin-bottom: 4px; }
.plan .per { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.plan.feature .per { color: #a8a29e; }
.plan ul { display: grid; gap: 7px; font-size: .9rem; }
.plan ul li::before { content: '—'; color: var(--clay); margin-right: 8px; }
.plan.feature ul li::before { color: #fb923c; }

/* ---------------- LISTE (checks) ---------------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.55rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.18rem; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); margin-bottom: 15px; }
.prose .lede { font-size: 1.08rem; color: var(--ink); }
.prose ul.checks { display: grid; gap: 10px; margin: 18px 0 24px; }
.prose ul.checks li { position: relative; padding-left: 32px; font-size: .97rem; }
.prose ul.checks li::before {
    content: '✓'; position: absolute; left: 0; top: 2px;
    width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
    background: var(--moss-w); color: var(--moss); font-size: .7rem; font-weight: 800;
}
.note {
    background: var(--clay-w); border-left: 3px solid var(--clay);
    padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0;
}
.note p { margin: 0; font-size: .95rem; color: var(--ink); }

/* ---------------- SAYFA BASI ---------------- */
.pagehead { background: var(--surface); border-bottom: 1px solid var(--line); padding: 58px 0 46px; position: relative; overflow: hidden; }
.pagehead::before {
    content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
    border: 1px solid var(--line-2); border-radius: 50%;
}
.pagehead::after {
    content: ''; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px;
    border: 1px solid var(--clay); border-radius: 50%; opacity: .35;
}
.crumbs { position: relative; font-size: .79rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--clay); }
.crumbs i { font-style: normal; margin: 0 8px; color: var(--line-2); }
.pagehead h1 { position: relative; font-size: clamp(1.95rem, 4.4vw, 3rem); max-width: 18ch; margin-bottom: 16px; }
.pagehead .lead { position: relative; color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; margin-bottom: 22px; }
.pagehead .pill {
    position: relative; display: inline-flex; align-items: center; gap: 9px;
    font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--moss); background: var(--moss-w); border: 1px solid #cfe6d6;
    padding: 7px 15px; border-radius: 999px;
}
.pagehead-actions { position: relative; display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }

/* ---------------- SSS ---------------- */
.faq { display: grid; gap: 11px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.faq details[open] { border-color: var(--clay); }
.faq summary {
    list-style: none; cursor: pointer; padding: 19px 24px;
    font-family: var(--serif); font-size: 1.04rem; font-weight: 600;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--clay); font-size: 1.5rem; font-family: var(--sans); font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--muted); font-size: .96rem; }

/* ---------------- CTA ---------------- */
.cta-band { background: var(--ink); color: var(--paper); padding: 62px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 16ch; margin-bottom: 10px; }
.cta-inner p { color: #a8a29e; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- FOOTER ---------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line-2); padding: 54px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 36px; }
.foot-brand p { font-size: .92rem; color: var(--muted); max-width: 340px; margin-top: 14px; }
.foot-col h4 { font-family: var(--sans); font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 15px; }
.foot-col ul { display: grid; gap: 8px; }
.foot-col a { font-size: .91rem; color: var(--muted); }
.foot-col a:hover { color: var(--clay); }
.foot-bottom {
    border-top: 1px solid var(--line); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    font-size: .84rem; color: var(--muted);
}
.foot-bottom a { color: var(--clay); font-weight: 700; }

/* ---------------- SEO FOOTER ---------------- */
.seo-footer { text-align: center; padding: 28px 16px; background: var(--paper-2); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.seo-footer p { margin-bottom: 12px; font-size: 13px; }
.seo-footer .prov { color: var(--ink); font-weight: 700; }
.seo-footer .prov a { color: var(--clay); font-weight: 800; }
.seo-footer .kw-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-bottom: 12px; }
.seo-footer .kw-row a {
    font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
    background: var(--clay-w); color: var(--clay); border: 1px solid #f4ddd0;
}
.seo-footer .kw-row a:nth-child(2n) { background: var(--moss-w); color: var(--moss); border-color: #d3e8da; }
.seo-footer .thin { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 11px; }
.seo-footer .thin a { color: var(--muted); }
.seo-footer .thin span { color: var(--line-2); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1000px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    body { font-size: 16px; }
    .menu {
        position: absolute; top: 74px; left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--line-2);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 10px 20px 18px; display: none; box-shadow: var(--shadow);
    }
    .menu.open { display: flex; }
    .menu a { padding: 12px 14px; font-size: 1rem; border-bottom: 1px solid var(--line); }
    .burger { display: block; }
    .head-actions .btn-outline { display: none; }
    .hero { padding: 50px 0 44px; }
    .section { padding: 52px 0; }
    .ledger-item { grid-template-columns: 44px 1fr; }
    .ledger-link { grid-column: 2; padding-top: 4px; }
    .cards, .steps, .pricing, .foot-grid { grid-template-columns: 1fr; }
    .hero-meta { gap: 20px; }
    .hero-meta div { min-width: 44%; }
}
