/* Keep GO genel sayfalar (ana sayfa, destek, yasal metinler, davet) ve müşteri panelinin
   başlık/alt bilgisi. Tasarım dili KeepGo.WebSite ile aynıdır. CSP font-src 'self' olduğu
   için web yazı tipi yüklenmez; Manrope/DM Sans kurulu değilse sistem yazı tipi kullanılır. */

:root {
  --ink: #242b29; --muted: #5e6862; --red: #c92532; --red-d: #aa1c27;
  --paper: #f8f8f5; --paper-2: #eeefe9; --line: #daddd6;
  --gutter: clamp(24px, 4vw, 96px);
  --font: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: Manrope, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---- Ortak: başlık, marka, alt bilgi (panel de kullanır) ---- */
.wrap { width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.navigation { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); font-family: var(--font); font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.8px; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; border-radius: 11px; }
.brand small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.3px; margin-top: 8px; }
.outline-link { display: inline-flex; align-items: center; border: 1px solid #aeb6ad; padding: 13px 20px; border-radius: 6px; color: var(--ink); font-size: 16px; font-weight: 550; white-space: nowrap; text-decoration: none; background: transparent; font-family: inherit; line-height: 1.2; cursor: pointer; }
.outline-link:hover { color: var(--red); }
.outline-link span { margin-left: 16px; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding-block: 26px 32px; }
.site-footer img { display: block; width: 100px; height: auto; }
.site-footer p { margin: 0; font-size: 14px; color: #5e6a5c; }

/* ---- Genel sayfalar ---- */
body.site { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 18px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
.site main { flex: 1; }
.site a { color: inherit; text-decoration: none; }
.site a:focus-visible, .site button:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.site h1, .site h2, .site h3 { font-family: var(--font-head); text-wrap: balance; color: var(--ink); }
.site p { color: var(--muted); }

.eyebrow { font-size: 13px; line-height: 1.6; font-weight: 650; letter-spacing: 1.5px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

.button { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 24px; border-radius: 6px; background: var(--red); color: #fff !important; font-size: 17px; font-weight: 600; line-height: 1.35; transition: background .2s; }
.button:hover { background: var(--red-d); }
.button small { font-size: 11px; font-weight: 650; letter-spacing: 1.2px; opacity: .85; }
.text-link { font-size: 16px; font-weight: 600; padding-block: 10px; }
.text-link:hover { color: var(--red); }
.text-link span { margin-left: 9px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }

/* Ana sayfa */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 4vw, 90px); padding-block: clamp(48px, 5vw, 100px); }
.hero h1 { font-size: clamp(44px, 4.15vw, 84px); font-weight: 600; line-height: 1.12; letter-spacing: -.045em; margin: 25px 0; }
.hero h1 > span { color: var(--red); }
.hero-copy > p { margin: 0; font-size: clamp(19px, 1.25vw, 23px); max-width: 52ch; line-height: 1.75; }
.hero-art { margin: 0; min-width: 0; }
.hero-art > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%; border-radius: 10px; background: #deded6; }

/* Ana sayfa: cihaz, montaj, uygulama */
.system { padding-block: clamp(16px, 2vw, 32px) clamp(56px, 6vw, 110px); }
.system h2 { font-size: clamp(28px, 2.4vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; margin: 14px 0 32px; max-width: 26ch; }
.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.system-card { margin: 0; }
.system-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #deded6; }
.system-card figcaption { padding-top: 16px; }
.system-card strong { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.system-card span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Metin sayfaları (destek, gizlilik, hesap silme, davet, hata) */
.page { padding-block: clamp(40px, 5vw, 96px); }
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(34px, 3.2vw, 54px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; margin: 20px 0 18px; }
.prose .lead { font-size: clamp(18px, 1.2vw, 21px); margin: 0 0 8px; }
.prose .meta { font-size: 14px; color: #657067; margin: 0 0 8px; }
.prose h2 { font-size: clamp(22px, 1.6vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; margin: 44px 0 12px; padding-top: 30px; border-top: 1px solid var(--line); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.25em; color: var(--muted); }
.prose li { margin: 6px 0; padding-left: 4px; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a:not(.button):not(.text-link):not(.contact-card) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.prose code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 15px; background: var(--paper-2); padding: 2px 6px; border-radius: 4px; }
.notice { margin: 36px 0 0; padding: 18px 22px; border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; background: var(--paper-2); color: var(--ink) !important; font-size: 17px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 14px; }
.contact-card { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; transition: border-color .2s; }
.contact-card:hover { border-color: var(--red); }
.contact-card span { display: block; font-size: 12px; font-weight: 650; letter-spacing: 1.2px; color: #657067; }
.contact-card strong { display: block; margin-top: 4px; font-size: 19px; overflow-wrap: anywhere; }

/* Çerez onayı (yalnız Analytics:MeasurementId ayarlıysa) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin-inline: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px #00000014; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.55; }
.consent a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 12px; }
.consent .button { min-height: 44px; padding: 8px 22px; font-size: 15px; }
.consent .outline-link { padding: 10px 18px; font-size: 15px; }
button.button, button.text-link { border: 0; font-family: inherit; cursor: pointer; }
button.text-link { background: none; color: var(--ink); padding-inline: 0; }

@media (max-width: 850px) {
  :root { --gutter: 24px; }
  .navigation { min-height: 96px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .hero h1 { font-size: clamp(40px, 7.5vw, 64px); }
  .contact-grid { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .navigation { gap: 12px; }
  .brand { font-size: 25px; }
  .brand small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .outline-link { padding: 10px 12px; font-size: 15px; }
  .outline-link span { margin-left: 8px; }
  .hero h1 { font-size: 39px; }
  .hero-copy > p { font-size: 18px; }
  .site-footer img { width: 88px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
