/* ===== planlat.com =====
   Renkler app temasından: ThemeVars koyu/açık paleti --t-* olarak basar (tek kaynak
   Nobot.UI/Theme/PlanlatTheme.cs); tema <html data-theme> ile seçilir, varsayılan koyu.
   Yazı: Bricolage Grotesque (başlık) · Onest (metin) · JetBrains Mono (çizelge, sayılar). */

/* Yazı tipleri siteden servis edilir (Google'a istek yok → hız + KVKK). Hepsi SIL Open Font License 1.1. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
    color-scheme: dark;
    --bg: var(--t-bg, #162123);
    --surface: var(--t-surface, #1c2a2c);
    --text: var(--t-text, #e1e8e8);
    --muted: var(--t-muted, #8fb3b5);
    --accent: var(--t-primary, #22bbbb);
    --accent-deep: var(--t-secondary, #07798c);
    --accent-ink: #032a2d;
    --accent-soft: rgba(34, 187, 187, 0.12);
    --bg-deep: #10191b;
    --inset: #172325;
    --inset-2: #1a2729;
    --chrome: #131e20;
    --header-bg: rgba(22, 33, 35, 0.86);
    --line: rgba(143, 179, 181, 0.13);
    --line-2: rgba(143, 179, 181, 0.24);
    --soft: rgba(143, 179, 181, 0.1);
    --grid-line: rgba(143, 179, 181, 0.07);
    --faint: rgba(143, 179, 181, 0.4);
    --gold: #ffd43b;
    --ok: #51cf66;
    --link-hover: #6fd8d8;
    --btn-hover: #4fd0d0;
    --senior-ring: #9be7e7;
    --quote-grad: #1f3538;
    --legal-text: #c3d6d7;
    --phone-bg: #0f1a1c;
    --phone-frame: #2a3a3d;
    --dot: #2f3f42;
    --shadow: rgba(0, 0, 0, 0.5);

    /* Çizelge hücreleri — app'teki ScheduleTable renkleri */
    --c-day: #f1c40f;
    --c-night: #3498db;
    --c-leave: #c0392b;
    --c-sick: #8e44ad;
    --c-annual: #229954;
    --c-locked: #5d6d7e;
    --c-empty: #243336;
    --c-empty-text: #fff;
    --c-weekend: #3a4a4f;
    --c-weekend-head: #202d30;
    --c-holiday: #0d1618;
    --c-border: #142022;

    --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --f-body: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 18px;
    --wrap: 1200px;
    --top-h: 68px;
}

/* Açık tema — değerler app'in açık temasından (app.css [data-theme="light"]). */
:root[data-theme="light"] {
    color-scheme: light;
    --accent-ink: #ffffff;
    --accent-soft: rgba(15, 155, 155, 0.1);
    --bg-deep: #e6eef0;
    --inset: #edf3f4;
    --inset-2: #e8f0f1;
    --chrome: #e3eced;
    --header-bg: rgba(255, 255, 255, 0.9);
    --line: rgba(26, 44, 46, 0.1);
    --line-2: rgba(26, 44, 46, 0.18);
    --soft: rgba(26, 44, 46, 0.06);
    --grid-line: rgba(26, 44, 46, 0.06);
    --faint: rgba(26, 44, 46, 0.3);
    --gold: #b7791f;
    --ok: #2e7d32;
    --link-hover: #057585;
    --btn-hover: #0b8a8a;
    --senior-ring: #057585;
    --quote-grad: #dff0f0;
    --legal-text: #2f4a4c;
    --phone-bg: #ffffff;
    --phone-frame: #c8dde0;
    --dot: #c8dde0;
    --shadow: rgba(26, 44, 46, 0.14);
    --c-empty: #ffffff;
    --c-empty-text: #4a5568;
    --c-weekend: #e2e8f0;
    --c-weekend-head: #e2e8f0;
    --c-holiday: #dce6e8;
    --c-border: #c8dde0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
a, button, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1.0625rem/1.6 var(--f-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap.narrow { max-width: 820px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.kicker { font: 600 0.8rem/1.4 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex-shrink: 0; vertical-align: -0.25em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--text); color: var(--bg); border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: var(--r-md);
    font: 600 0.98rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.92rem; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--btn-hover); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn:active, .theme-toggle:active, .period-option:active { transform: scale(0.98); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* ---------- Header ---------- */
.top {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    background: var(--header-bg); backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
}
/* Telefonda kayarken her karede yeniden bulanıklaştırma takılma yapar: düz zemin. */
@media (max-width: 860px) { .top { backdrop-filter: none; background: var(--bg); } }
.top-inner { height: var(--top-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.28rem/1 var(--f-display); letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 9px; }
.logo-l { display: none; }
:root[data-theme="light"] .logo-d { display: none; }
:root[data-theme="light"] .logo-l { display: inline-block; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 4px; margin-left: 16px; }
.nav-links a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--soft); }
.auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.theme-toggle {
    display: inline-grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
    border-radius: var(--r-md); border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); }
.top-inner .nav { order: 2; }
.top-inner .auth { order: 3; }
.top-inner .lang-menu { order: 4; }
.top-inner .theme-toggle { order: 5; }
.top-inner .burger { order: 6; }
@media (max-width: 960px) {
    .top-inner { gap: 10px; }
    .top-inner .auth { margin-left: auto; }
    .top-inner .burger { margin-left: 0; }
}
@media (max-width: 440px) {
    .brand span { display: none; }
    .auth .btn-sm { height: 36px; padding: 0 12px; font-size: 0.88rem; }
    .theme-toggle { width: 36px; height: 36px; }
}
.theme-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.theme-toggle .i-sun { display: block; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
.burger { display: none; margin-left: auto; padding: 12px 6px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--text); transition: transform .2s; }

@media (max-width: 960px) {
    .burger { display: block; }
    .nav {
        display: none; position: absolute; top: var(--top-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 12px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    }
    .nav-links { flex-direction: column; margin: 0; gap: 0; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
    .nav-links a.active { background: none; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav-toggle:checked + .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .nav-toggle:checked + .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .nav-toggle:focus-visible + .burger { outline: 2px solid var(--accent); border-radius: 4px; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-deep { background: var(--bg-deep); border-block: 1px solid var(--line); }
.section-title { margin-bottom: 48px; max-width: 18ch; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.page-hero { padding-block: clamp(56px, 8vw, 96px) 8px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-hero .kicker { margin-bottom: 18px; }
.page-hero .lead { margin-top: 20px; }
.page-hero-center { text-align: center; }
.page-hero-center h1, .page-hero-center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding-block: clamp(48px, 7vw, 88px) 0;
}
/* Arka plandaki ince ızgara: nöbet çizelgesinin hücreleri, kenarlara doğru kaybolur. */
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 30%, transparent 75%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1; right: -10%; top: 30%; width: 70%; height: 70%;
    background: radial-gradient(closest-side, rgba(34, 187, 187, 0.16), transparent);
}
.hero-top { display: block; }
.hero-copy .kicker { margin-bottom: 22px; }
.hero h1 { max-width: none; }
.hl { color: var(--accent); }
.hero .lead { margin-top: 24px; max-width: 76ch; }
.hero .actions { margin-top: 34px; }
.fineprint { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.hero-shot { position: relative; margin-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }

/* Pencerenin altındaki kanıt şeridi: sayılar demo verisinden hesaplanır. */
/* Kullanım rakamları bandı */
.numbers-band { border-block: 1px solid var(--line); }
.numbers { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.numbers b { display: block; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--f-display); letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.numbers span:not([data-count]) { display: block; margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 640px) { .numbers { grid-template-columns: 1fr; gap: 28px; } }
.proof { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: 0.93rem; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof .ic { color: var(--accent); }
.proof b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
    .proof { justify-content: flex-start; flex-direction: column; }
}

/* ---------- Ürün penceresi ---------- */
.appwin {
    border-radius: var(--r-lg); overflow: hidden;
    background: var(--surface); border: 1px solid var(--line-2);
    box-shadow: 0 40px 100px var(--shadow), 0 0 0 1px rgba(34, 187, 187, 0.06);
}
.appwin-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding-inline: 16px; background: var(--chrome); border-bottom: 1px solid var(--line); }
.appwin-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--dot); }
.appwin-url { margin-inline: auto; padding: 4px 14px; border-radius: 6px; background: var(--inset-2); color: var(--muted); font: 500 0.78rem/1.2 var(--f-mono); }
.appwin-toolbar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tb-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-month { display: inline-flex; align-items: center; gap: 4px; font: 700 1rem/1 var(--f-display); }
.tb-chip { padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; font-weight: 600; }
.tb-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 0.82rem; font-weight: 600; color: var(--text); }
.tb-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.appwin-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
.appwin-body .grid-scroll { border: 0; border-radius: 0; }
/* Ürün penceresi 10 günlük kesit gösterir: günler pencereye eşit yayılır (sabit düzen, isim sütunu 130px). */
.appwin .duty-grid { width: 100%; table-layout: fixed; }
.appwin .duty-grid thead .name-col { width: 130px; }
.appwin .duty-grid-compact td { height: 32px; }
.appwin-side { padding: 16px; border-left: 1px solid var(--line); background: var(--inset-2); }
.side-title { font: 600 0.75rem/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-ok { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; }
.side-ok .ic { color: var(--ok); }

@media (max-width: 960px) {
    .appwin-body { grid-template-columns: 1fr; }
    .appwin-side { display: none; }
    .appwin-toolbar .tb-btn:not(.tb-primary) { display: none; }
}

/* ---------- Çizelge ---------- */
.grid-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.duty-grid { border-collapse: separate; border-spacing: 0; font: 700 12.5px/1 var(--f-mono); }
.duty-grid th, .duty-grid td { border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); text-align: center; }
.duty-grid thead th { background: var(--inset); color: var(--muted); font-weight: 500; padding: 6px 0; min-width: 34px; line-height: 1.2; }
.duty-grid .day-num { display: block; font-size: 12px; color: var(--text); font-weight: 700; }
.duty-grid .day-name { display: block; margin-top: 2px; font: 500 10px/1 var(--f-body); }
.duty-grid .day-flag { display: block; margin-top: 2px; font: 600 9px/1 var(--f-body); color: var(--gold); }
.duty-grid thead th.is-weekend { background: var(--c-weekend-head); }
.duty-grid thead th.is-holiday, .duty-grid thead th.is-halfday { background: var(--c-holiday); }
.duty-grid thead th.is-holiday .day-num, .duty-grid thead th.is-halfday .day-num { color: var(--gold); }
.duty-grid td { width: 34px; min-width: 34px; height: 34px; background: var(--c-empty); color: var(--c-empty-text); }
.duty-grid td.is-weekend { background: var(--c-weekend); }
.duty-grid td.is-holiday { background: var(--c-holiday); }
.duty-grid .name-col {
    position: sticky; left: 0; z-index: 2; min-width: 112px; padding: 0 12px; text-align: left; white-space: nowrap;
    background: var(--surface); color: var(--text); font: 600 13px/1 var(--f-body); box-shadow: 1px 0 0 var(--c-border);
}
.duty-grid thead .name-col { background: var(--inset); z-index: 3; color: var(--muted); font-weight: 500; }
.duty-grid .total-col { min-width: 52px; padding: 0 10px; background: var(--inset); color: var(--accent); }
.duty-grid tbody tr:last-child > * { border-bottom: 0; }
.duty-grid-compact { font-size: 11px; }
.duty-grid-compact thead th { min-width: 24px; padding: 5px 0; }
.duty-grid-compact td { width: 24px; min-width: 24px; height: 26px; }
.duty-grid-compact .name-col { min-width: 88px; font-size: 12px; padding: 0 10px; }
.senior { margin-left: 6px; padding: 2px 5px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font: 600 9.5px/1 var(--f-body); letter-spacing: 0.02em; vertical-align: 1px; }

.c-day, .duty-grid td.c-day { background: var(--c-day); color: #3b2f00; }
.c-night, .duty-grid td.c-night { background: var(--c-night); color: #fff; }
.c-leave, .duty-grid td.c-leave { background: var(--c-leave); color: #fff; }
.c-sick, .duty-grid td.c-sick { background: var(--c-sick); color: #fff; }
.c-annual, .duty-grid td.c-annual { background: var(--c-annual); color: #fff; }
.c-locked, .duty-grid td.c-locked { background: var(--c-locked); color: #fff; }
/* Elle sabitlenen nöbet: app'teki gibi sağ üst köşede küçük 🔒 (çerçeve yok). */
.c-manual, .duty-grid td.c-manual { position: relative; }
.c-manual .lock-icon { position: absolute; top: -1px; right: -1px; font-size: 8px; line-height: 1; color: rgba(0, 0, 0, 0.4); }

.cell { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 5px; color: #fff; font: 700 12px/1 var(--f-mono); }
.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.86rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend .cell { width: 22px; height: 22px; font-size: 11px; }

/* ---------- Faydalar (bölünmüş) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.split-head h2 { max-width: 14ch; }
.split-head .lead { margin-top: 20px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.points li { padding-top: 20px; border-top: 1px solid var(--line-2); }
.points .ic { width: 26px; height: 26px; color: var(--accent); }
.points h3 { margin-top: 14px; }
.points p { margin-top: 8px; color: var(--muted); }

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .points { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Adımlar ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step-rules { flex-direction: column; align-items: stretch; gap: 14px; }
.rule-tags { display: grid; gap: 8px; }
.rule-tags span { padding: 8px 12px; border-radius: var(--r-sm); background: var(--inset); font-size: 0.84rem; font-weight: 600; }
.swatch-row { display: flex; gap: 6px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; } }
.steps li { counter-increment: step; min-width: 0; display: flex; flex-direction: column; }
.steps li .step-visual { order: 3; margin-top: 18px; }
.steps h3 { margin-top: 0; display: flex; align-items: baseline; gap: 10px; }
.steps h3::before { content: counter(step); font: 700 0.85rem/1 var(--f-mono); color: var(--accent); }
.steps p { margin-top: 8px; color: var(--muted); max-width: 36ch; }
.step-visual {
    position: relative; height: 196px; padding: 18px; overflow: hidden;
    border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
}
.step-visual .grid-scroll { overflow: hidden; }
.step-plan { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; }
.mini-roster { width: 100%; display: grid; gap: 8px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--inset); font-size: 0.88rem; font-weight: 600; }
.mini-row em { font-style: normal; font-weight: 500; font-size: 0.78rem; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.export { display: grid; gap: 10px; width: 100%; max-width: 260px; }
.export span { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 600; background: var(--inset); }
.export .ic { color: var(--accent); }
.export-sm { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; margin-top: auto; }
.export-sm span { padding: 8px 12px; font: 600 0.82rem/1 var(--f-mono); }

@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Özellik ızgarası (bento) ---------- */
.bento {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--bg); min-height: 280px; min-width: 0; }
.tile-wide { grid-column: span 2; }
.tile > p { color: var(--muted); font-size: 0.95rem; max-width: 40ch; }
.tile .hours, .tile .minical, .tile .senior-demo { margin-top: auto; }
.leave-list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; font-size: 0.92rem; }
.leave-list li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 12px; }
.leave-list .cell { width: 30px; height: 30px; font-size: 12px; }
.leave-list small { display: block; color: var(--muted); font-size: 0.8rem; }
.senior-demo { display: flex; gap: 8px; }
.senior-demo div { display: grid; gap: 5px; justify-items: center; }
.senior-demo small { font: 500 10px/1 var(--f-mono); color: var(--muted); }
.senior-demo .is-senior { box-shadow: inset 0 0 0 2px var(--senior-ring); }
.pair-list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; }
.pair-list li { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r-md); background: var(--inset); font-size: 0.9rem; font-weight: 600; }
.pair-list em { justify-self: start; font-style: normal; font-size: 0.78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pair-with { background: var(--accent-soft); color: var(--accent); }
.pair-apart { background: rgba(192, 57, 43, 0.14); color: #e06a5d; }
:root[data-theme="light"] .pair-apart { color: #b03a2e; }
.tile-intake { flex-direction: row; align-items: center; gap: 28px; }
.tile-intake > div:first-child { display: grid; gap: 10px; }
.tile-intake > div:first-child p { color: var(--muted); font-size: 0.95rem; }
.mini-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 1060px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .tile-wide { grid-column: auto; }
    .tile { min-height: 0; }
    .tile-intake { flex-direction: column; align-items: stretch; }
}

/* Saat çubukları */
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 0.85rem; }
.hours li { display: grid; grid-template-columns: 84px minmax(0, 1fr) 36px; align-items: center; gap: 10px; }
.hours-name { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hours-track { height: 8px; overflow: hidden; }
.hours-fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }
.hours-val { font: 700 0.8rem/1 var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
.hours-compact { gap: 8px; font-size: 0.8rem; }
.hours-compact li { grid-template-columns: 70px minmax(0, 1fr) 30px; gap: 8px; }

/* Mini takvim */
.minical { width: 100%; max-width: 260px; }
.minical-head { font: 700 0.85rem/1 var(--f-display); margin-bottom: 10px; }
.minical-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font: 500 11px/1 var(--f-mono); text-align: center; }
.minical-grid span { padding: 6px 0; border-radius: 4px; }
.minical-dn { color: var(--muted); font-family: var(--f-body); font-size: 10px; }
.minical-grid .is-weekend { background: var(--soft); color: var(--muted); }
.minical-grid .is-holiday { background: #ffd43b; color: #3b2f00; font-weight: 700; }
.minical-grid .is-halfday { background: rgba(255, 212, 59, 0.22); color: var(--gold); font-weight: 700; }
.minical-note { display: grid; gap: 4px; margin-top: 10px; font-size: 0.78rem; color: var(--muted); }
.minical-note b { color: var(--gold); font-weight: 600; margin-right: 4px; }

/* Telefon (Talep Toplama) */
.phone {
    flex-shrink: 0; width: 220px; padding: 18px 16px; display: grid; gap: 10px;
    border-radius: 24px; background: var(--phone-bg); border: 6px solid var(--phone-frame);
    box-shadow: 0 20px 50px var(--shadow);
}
.phone-title { font: 700 0.95rem/1.2 var(--f-display); }
.phone-field { display: grid; gap: 4px; padding: 9px 11px; border-radius: 8px; background: var(--inset-2); font-size: 0.88rem; font-weight: 600; }
.phone-field small { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.phone-btn { display: block; margin-top: 4px; padding: 10px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 0.88rem; font-weight: 700; }
@media (max-width: 640px) { .phone { width: 100%; max-width: 260px; margin-inline: auto; } }

/* ---------- Yorumlar ---------- */
/* İlk yorum öne çıkar (iki satır boyu), kalan dördü 2×2 — 5 yorum boşluksuz dizilir. */
.quotes { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.quote {
    display: flex; flex-direction: column; margin: 0; padding: 26px;
    border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.quote figcaption { margin-top: auto; padding-top: 20px; }
.quote:first-child { grid-row: span 2; padding: 34px; background: linear-gradient(160deg, var(--quote-grad), var(--surface) 60%); }
.quote:first-child blockquote { font: 600 1.35rem/1.45 var(--f-display); letter-spacing: -0.01em; }
@media (max-width: 1060px) {
    .quotes { grid-template-columns: 1fr 1fr; }
    .quote:first-child { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .quotes { grid-template-columns: 1fr; }
}
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.65; }
.quote blockquote::before { content: "“"; display: block; height: 30px; font: 800 3rem/1 var(--f-display); color: var(--accent); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.avatar { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 0.85rem/1 var(--f-display); }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(64px, 9vw, 104px); background: linear-gradient(135deg, #0d3336 0%, #07798c 110%); color: #eef6f6; }
.cta-inner { display: grid; justify-items: start; gap: 18px; }
.cta h2 { max-width: 16ch; }
.cta p { color: rgba(225, 232, 232, 0.8); max-width: 52ch; }
.cta .actions { margin-top: 12px; }
.cta .btn-primary { background: #e1f7f7; color: #032a2d; }
.cta .btn-primary:hover { background: #fff; }
.cta .btn-ghost { border-color: rgba(225, 232, 232, 0.4); color: #eef6f6; }

/* ---------- Footer ---------- */
.foot { padding-block: 64px 28px; background: var(--bg-deep); border-top: 1px solid var(--line); font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.4fr; gap: 32px; }
.foot-grid:has(> nav:nth-of-type(4)) { grid-template-columns: 1.2fr repeat(4, 1fr) 1.3fr; gap: 28px; }
.foot-brand p { margin-top: 10px; color: var(--muted); }
.foot h2 { font: 600 0.75rem/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot nav, .foot-contact { display: grid; align-content: start; gap: 10px; font-style: normal; }
.foot nav a, .foot-contact a { color: var(--text); text-decoration: none; }
.foot nav a:hover, .foot-contact a:hover { color: var(--accent); }
.foot-contact span { color: var(--muted); line-height: 1.5; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

@media (max-width: 960px) {
    .foot-grid, .foot-grid:has(> nav:nth-of-type(4)) { grid-template-columns: 1fr 1fr; }
    .foot-brand, .foot-contact { grid-column: 1 / -1; }
}

/* ---------- Özellikler sayfası ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.showcase-rev .showcase-copy { order: 2; }
.showcase-visual { min-width: 0; }
.showcase-copy h2 { max-width: 15ch; }
.showcase-copy > p { margin-top: 16px; color: var(--muted); max-width: 48ch; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322bbbb'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.chip { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 0.72rem; font-weight: 600; vertical-align: 2px; }
.panel { display: grid; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.panel-pad { padding: 28px; }
.panel-center { justify-items: center; }

@media (max-width: 960px) {
    .showcase { grid-template-columns: 1fr; }
    .showcase-rev .showcase-copy { order: 0; }
}

/* ---------- Fiyatlar (CSS ile dönem seçimi) ---------- */
.period-radio { position: absolute; opacity: 0; pointer-events: none; }
.period { display: grid; justify-items: center; gap: 16px; margin-bottom: 48px; }
.period-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.step-dot { display: inline-grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 0.78rem/1 var(--f-mono); }
.period-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 520px; }
.period-option {
    display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-lg); cursor: pointer;
    background: var(--surface); border: 1.5px solid var(--line-2); transition: border-color .15s, background-color .15s;
    animation: period-pulse 2s ease-in-out infinite;
}
.period-option:hover { border-color: var(--accent); }
.period-option b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 700 1.15rem/1.2 var(--f-display); }
.period-option small { color: var(--muted); font-size: 0.86rem; }
.save { padding: 3px 8px; border-radius: 999px; background: rgba(255, 212, 59, 0.16); color: var(--gold); font: 600 0.72rem/1 var(--f-body); }
.period-hint { color: var(--muted); font-size: 0.92rem; }
/* Seçim bekleniyor: iki seçenek de hafifçe nabız atar */
@keyframes period-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 187, 187, 0); }
    50% { box-shadow: 0 0 0 5px rgba(34, 187, 187, 0.14); }
}

.plans, .only-m, .only-y { display: none; }
#period-monthly:checked ~ .period .period-option,
#period-yearly:checked ~ .period .period-option { animation: none; }
#period-monthly:checked ~ .period .opt-monthly,
#period-yearly:checked ~ .period .opt-yearly { border-color: var(--accent); background: rgba(34, 187, 187, 0.08); }
#period-monthly:checked ~ .period .period-hint,
#period-yearly:checked ~ .period .period-hint { display: none; }
#period-monthly:focus-visible ~ .period .opt-monthly,
#period-yearly:focus-visible ~ .period .opt-yearly { outline: 2px solid var(--accent); outline-offset: 3px; }
#period-monthly:checked ~ .plans,
#period-yearly:checked ~ .plans { display: block; }
#period-monthly:checked ~ .plans .only-m,
#period-yearly:checked ~ .plans .only-y { display: block; }
#period-monthly:checked ~ .plans .pop-monthly,
#period-yearly:checked ~ .plans .pop-yearly { border-color: var(--accent); background: linear-gradient(180deg, rgba(34, 187, 187, 0.08), var(--surface) 40%); }

.plans > .period-label { display: flex; justify-content: center; margin-bottom: 24px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line); }
.plan-badge { align-self: start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.74rem; font-weight: 700; }
.plan-badge.is-off { visibility: hidden; }
.plan h2 { font-size: 1.5rem; }
.plan-desc { margin-top: 4px; color: var(--muted); font-size: 0.93rem; }
.price { margin-block: 24px 20px; min-height: 96px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price-num { font: 800 2.9rem/1 var(--f-display); letter-spacing: -0.03em; }
.price-num small { margin-left: 4px; font: 500 1rem/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.price-sub { margin-top: 8px; font-size: 0.86rem; color: var(--muted); }
.price-sub s { opacity: 0.7; }
.plan-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.plan-list .ic { color: var(--accent); margin-top: 2px; }
.plan-includes.is-off { visibility: hidden; }
.plan-includes { margin: 0 0 12px; font-size: 0.86rem; font-weight: 600; color: var(--accent); }
.plan-note { margin-top: 20px; text-align: center; color: var(--muted); font-size: 0.88rem; }

.compare { margin-top: 56px; }
.compare summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 700 1.3rem/1.2 var(--f-display); margin-bottom: 20px; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; color: var(--accent); }
.compare[open] summary::after { content: "−"; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.93rem; }
.compare-table th, .compare-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table thead th { background: var(--surface); font: 700 1rem/1.2 var(--f-display); }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--muted); }
.compare-table td { font-variant-numeric: tabular-nums; font-weight: 600; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.mark-yes .ic { color: var(--accent); }
.mark-no { color: var(--faint); }
.pricing-foot { display: block; margin-top: 48px; color: var(--muted); font-size: 0.93rem; text-align: center; }

@media (max-width: 900px) {
    .plan-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .price { min-height: 0; }
}
@media (max-width: 480px) {
    .period-options { grid-template-columns: 1fr; }
    .hero .actions .btn, .cta .actions .btn { flex: 1 1 100%; }
}

/* ---------- İngilizce sürüm notu ---------- */
.lang-note { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
.price-table td, .price-table th { text-align: left; }

/* ---------- Kimler için (ana sayfa) ---------- */
.who { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who li { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.who svg { width: 28px; height: 28px; color: var(--accent); fill: currentColor; }
.who b { font: 700 1.08rem/1.3 var(--f-display); }
.who span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }

/* ---------- Hemşire nöbet listesi (arama sayfası) ---------- */
.nurse-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: ns; }
.nurse-steps li { counter-increment: ns; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.nurse-steps li::before { content: counter(ns); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 0.95rem/1 var(--f-mono); }
.nurse-steps b { font: 700 1.08rem/1.3 var(--f-display); }
.nurse-steps span { color: var(--muted); font-size: 0.95rem; }
.page-hero .actions { margin-top: 28px; }
@media (max-width: 900px) { .nurse-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nurse-steps { grid-template-columns: 1fr; } }

/* ---------- Hakkımızda / İletişim ---------- */
.about-hero .lead { max-width: 64ch; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.mv > div { padding-top: 24px; border-top: 1px solid var(--line-2); }
.mv-text { margin-top: 16px; font: 600 clamp(1.2rem, 2vw, 1.5rem)/1.4 var(--f-display); letter-spacing: -0.01em; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-item {
    display: grid; align-content: start; gap: 6px; padding: 26px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none;
}
a.contact-item:hover { border-color: var(--accent); color: var(--text); }
.contact-item .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: 10px; }
.contact-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-value { font: 600 1.12rem/1.45 var(--f-display); overflow-wrap: anywhere; }
.contact-more { margin-top: 28px; color: var(--muted); }
.contact-more b { color: var(--text); font-weight: 600; margin-right: 8px; }

@media (max-width: 860px) {
    .mv, .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- SSS ---------- */
.faq-list { display: grid; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 1.1rem/1.35 var(--f-display); letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 40px 24px 0; color: var(--muted); max-width: 70ch; display: grid; gap: 10px; }
.faq-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Yasal ---------- */
.legal { color: var(--legal-text); font-size: 1rem; }
.legal > * + * { margin-top: 14px; }
.legal h2 { margin-top: 40px; font: 700 1.05rem/1.3 var(--f-display); letter-spacing: 0.01em; color: var(--text); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal ul ul { margin-top: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal-meta { color: var(--muted); font-size: 0.9rem; }

/* ---------- WhatsApp (her sayfada sabit) ---------- */
.wa-float {
    position: fixed; z-index: 1000; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
    background: #25d366; color: #073b1f; text-decoration: none; font-weight: 700;
    box-shadow: 0 12px 30px var(--shadow); transition: transform .15s;
}
.wa-float:hover { color: #073b1f; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
@media (max-width: 640px) {
    .wa-float { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
    .wa-label { display: none; }
}

/* "Hareketi azalt" tercihi: kayma, büyüme, sürekli döngü ve hover yükselmesi yok. Belirme (opacity) kalır;
   ayrıntısı aşağıda .calm bloğunda. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .anim .hero::after, .period-option { animation: none; }
    .quote:hover, .plan:hover, a.contact-item:hover, .step-visual:hover, .wa-float:hover { transform: none; }
}

/* ---------- Hareket (<html class="anim">; "calm" = hareketi azalt: yalnız yavaş belirme) ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(32px); }
.anim [data-reveal="zoom"] { transform: translateY(40px) scale(.94); }
.anim [data-reveal="pop"] { transform: scale(.82); }
.anim [data-reveal="left"] { transform: translateX(-56px); }
.anim [data-reveal="right"] { transform: translateX(56px) scale(.97); }
.anim [data-reveal].in {
    opacity: 1; transform: none;
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
}
.anim [data-reveal="pop"].in { transition-timing-function: cubic-bezier(.3, 1.4, .5, 1); }
/* Hero: çizelge boş başlar, "Planlat"a basılır, hücreler gün gün dolar. */
.anim .duty-grid td:is(.c-day, .c-night, .c-leave, .c-sick, .c-annual, .c-locked) { opacity: 0; transform: scale(.4); }
.anim .in .duty-grid td:is(.c-day, .c-night, .c-leave, .c-sick, .c-annual, .c-locked) {
    animation: cell-pop .38s cubic-bezier(.2, .9, .3, 1.2) both;
    animation-delay: calc(var(--grid-base, 150ms) + var(--d, 0) * var(--grid-step, 28ms));
}
.hero-shot { --grid-base: 650ms; --grid-step: 45ms; --bar-base: 1900ms; }
.steps li { --grid-base: 300ms; --grid-step: 60ms; }
@keyframes cell-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.anim .hero-shot.in .appwin .tb-primary { animation: press .7s .35s both; }
.anim .steps li.in .step-plan .tb-primary { animation: press .7s .1s both; }
@keyframes press {
    0% { transform: none; box-shadow: 0 0 0 0 rgba(34, 187, 187, .55); }
    35% { transform: scale(.9); }
    70% { transform: none; box-shadow: 0 0 0 12px rgba(34, 187, 187, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 187, 187, 0); }
}
/* Saat çubukları uzar */
.anim .hours-fill { transform: scaleX(0); transform-origin: left center; }
.anim .in .hours-fill { transform: none; transition: transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--bar-base, 250ms) + var(--n, 0) * 70ms); }
.anim .side-ok { opacity: 0; }
.anim .hero-shot.in .side-ok { opacity: 1; transition: opacity .5s 2.4s; }
/* Hero arka plan ışığı yavaşça süzülür */
.anim .hero::after { animation: glow-drift 14s ease-in-out infinite alternate; will-change: transform; }
@keyframes glow-drift { from { transform: translate(0, 0); } to { transform: translate(-8%, 6%); } }
/* Kart üzerine gelince hafif yükselme */
.quote, .plan, .contact-item, .step-visual { transition: transform .25s ease, border-color .2s; }
.quote:hover, .plan:hover, a.contact-item:hover, .step-visual:hover { transform: translateY(-4px); }

/* Sakin sürüm (hareketi azalt): hiçbir şey kaymaz ya da büyümez; içerik ve hücreler yavaşça belirir. */
.anim.calm [data-reveal] { transform: none; }
.anim.calm [data-reveal].in { transition: opacity 1.4s ease; transition-delay: calc(var(--i, 0) * 140ms); }
.anim.calm .duty-grid td:is(.c-day, .c-night, .c-leave, .c-sick, .c-annual, .c-locked) { transform: none; }
.anim.calm .in .duty-grid td:is(.c-day, .c-night, .c-leave, .c-sick, .c-annual, .c-locked) {
    animation: cell-fade .9s ease both;
    animation-delay: calc(var(--grid-base, 150ms) + var(--d, 0) * var(--grid-step, 28ms) * 2);
}
@keyframes cell-fade { from { opacity: 0; } to { opacity: 1; } }
.anim.calm .hero-shot.in .appwin .tb-primary, .anim.calm .steps li.in .step-plan .tb-primary { animation: none; }
.anim.calm .hours-fill { transform: none; opacity: 0; }
.anim.calm .in .hours-fill { opacity: 1; transition: opacity 1.2s ease; transition-delay: calc(var(--bar-base, 250ms) + var(--n, 0) * 120ms); }

/* İlgili sayfalar (arama niyeti sayfaları arası iç bağlantı) */
.related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.related li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.related span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 700px) { .related { grid-template-columns: 1fr; } }

/* Dil seçici (bayraklı açılır menü) */
.lang-menu { position: relative; flex-shrink: 0; }
.lang-menu summary {
    list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px 0 10px;
    border-radius: var(--r-md); border: 1px solid var(--line-2); color: var(--text); font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--accent); }
.lang-menu img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.lang-menu .chev { width: 16px; height: 16px; fill: currentColor; color: var(--muted); transition: transform .15s; }
.lang-menu[open] .chev { transform: rotate(180deg); }
.lang-menu ul {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 150px; margin: 0; padding: 6px; list-style: none;
    border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.lang-menu li a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.lang-menu li a span { color: var(--muted); font-weight: 400; }
.lang-menu li a:hover { background: var(--soft); }
.lang-menu li a[aria-current] { background: var(--soft); }
@media (max-width: 440px) {
    .lang-menu summary { height: 36px; padding: 0 4px 0 7px; gap: 3px; }
    .lang-menu .lang-code { display: none; }
}
