/*
 * KlinikAI marketing page.
 * Palette: pastel orange + warm white. Logo keeps its navy/teal.
 * Fonts are self-hosted (CSP: no CDN).
 */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-latin-soft.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: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext-soft.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: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-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: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-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: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-latin-400.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: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-latin-ext-400.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: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-latin-500.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: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-latin-ext-500.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: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-latin-600.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: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-latin-ext-600.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;
}

:root {
  --paper: #FFFBF7;
  --paper-deep: #FDE8D8;
  --surface: #FFFFFF;
  --ink: #2A241F;
  --ink-soft: #6B6158;
  --whisper: #C4B8AE;
  --line: #F0E4D8;
  --peach: #FDE8D8;
  --orange: #F4A574;
  --orange-deep: #E8925C;
  --orange-soft: #FFF1E6;
  --brand-navy: #1B2F52;
  --brand-teal: #2BB3A3;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px -28px rgba(42, 36, 31, 0.35);
  --ring: 0 0 0 2px var(--surface), 0 0 0 4px rgba(244, 165, 116, 0.7);

  --header-h: 68px;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(253, 232, 216, 0.95), transparent 60%),
    radial-gradient(900px 480px at -5% 18%, rgba(255, 241, 230, 0.9), transparent 55%),
    var(--paper);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: rgba(244, 165, 116, 0.35); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Yapılandırma uyarısı ──
 * Sadece landing.js · CONTACT boşken çıkar. Kapatılamıyor ve yapışkan:
 * formun hiçbir yere gitmediği bir sayfanın yayında olduğu fark edilmeli.
 * Bandın altında başlığın da yapışması iki katmanlı bir şerit yaratıyordu;
 * uyarı varken başlık akışta kalıyor.
 */
.config-warning {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 10px clamp(16px, 4vw, 40px);
  background: #B4342A;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
body.has-config-warning .site-header { position: static; }

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 251, 247, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 228, 216, 0.7);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-ai {
  color: var(--orange-deep);
  font-style: normal;
}

.site-nav {
  display: none;
  gap: 22px;
  margin-left: 8px;
}
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--ink); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  min-width: 36px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
}
.lang-btn.is-active {
  background: var(--orange-soft);
  color: var(--ink);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--orange);
  color: #3A2414;
}
.btn.primary:hover { background: var(--orange-deep); }
.btn.soft {
  background: var(--orange-soft);
  color: var(--ink);
  border-color: var(--line);
}
.btn.soft:hover { background: var(--peach); }
.btn.ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn.ghost:hover { color: var(--ink); background: var(--surface); }
.btn.lg { min-height: 48px; padding: 0 22px; font-size: 15px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Hero ── */

.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 7vh, 72px) clamp(16px, 4vw, 40px) 64px;
}

.hero-copy {
  max-width: 34rem;
}

/* Pilot rozeti. Sayfanın ilk okunan şeyi bu: ziyaretçi daha başlığa
   gelmeden "bu ürün pilot arıyor, ücretsiz" bilgisini alıyor. */
.pilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(232, 146, 92, 0.35);
  border-radius: 999px;
  background: var(--orange-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #8A4A1E;
}
.pilot-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-teal);
  flex: 0 0 auto;
}
body.is-ready .pilot-badge .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* Başlık tek cümle ve sayfanın en büyük şeyi. Altında rekabet eden bir
   logo kilidi yok — marka zaten üstteki başlıkta duruyor. */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--whisper);
}

/* Signature: WA ↔ calendar */

.hero-signature {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  margin-inline: auto;
}

.sig-chat,
.sig-day {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sig-chat-head,
.sig-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  background: var(--orange-soft);
}

.sig-staff {
  text-transform: none;
  letter-spacing: 0;
  color: var(--brand-navy);
  background: #E8F7F4;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}

.bubble {
  margin: 12px 14px;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
}
.bubble.in {
  background: #F3F6F8;
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.bubble.out {
  margin-left: auto;
  background: #DCF8C6;
  color: #1B2F1F;
  border-bottom-right-radius: 4px;
}

.sig-bridge {
  height: 28px;
  margin: 0 auto;
  width: 2px;
  background: linear-gradient(var(--orange), var(--brand-teal));
  border-radius: 2px;
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: top;
}

.sig-grid {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px 10px;
  padding: 14px;
  align-items: stretch;
}

.sig-hour {
  font-size: 12px;
  color: var(--whisper);
  font-variant-numeric: tabular-nums;
  padding-top: 8px;
}

.sig-slot {
  min-height: 28px;
  border-radius: 8px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(244, 165, 116, 0.12) 4px,
    rgba(244, 165, 116, 0.12) 8px
  );
}

.sig-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFE4CC, #FFD4B0);
  border: 1px solid rgba(232, 146, 92, 0.35);
  opacity: 0;
  transform: translateX(10px);
}
.sig-block strong { font-size: 14px; }
.sig-block span { font-size: 12px; color: var(--ink-soft); }

body.is-ready .bubble,
body.is-ready .sig-bridge,
body.is-ready .sig-block {
  animation: rise .55s ease forwards;
}
body.is-ready .bubble.in { animation-delay: .15s; }
body.is-ready .bubble.out { animation-delay: .4s; }
body.is-ready .sig-bridge { animation: bridge .45s ease .55s forwards; }
body.is-ready .sig-block { animation: settle .55s ease .85s forwards; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes bridge {
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  body.is-ready .bubble,
  body.is-ready .sig-bridge,
  body.is-ready .sig-block {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Sections ── */

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  margin-bottom: 12px;
  text-wrap: balance;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 46ch;
  font-size: 1.02rem;
}

.section-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--whisper);
  max-width: 52ch;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* Onay listesi. İşaret ::before ile geliyor — liste imi yerine, çünkü
   rengi ve hizası metne göre ayarlanabiliyor. */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  max-width: 56ch;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  font-weight: 700;
  color: var(--brand-teal);
}
/* Karşılık listesi: aynı ritim, farklı işaret — "biz veriyoruz" ile
   "sizden istiyoruz" görsel olarak karışmasın. */
.check-list.plain li::before {
  content: "→";
  color: var(--orange-deep);
  font-weight: 600;
}

/* Tek cümlelik şerit. Başlık + alt başlık + paragraf üçlüsü yerine, aynı
   şeyi söyleyen tek satır — sayfadaki tekrarın büyük kısmı buradaydı. */
.band {
  padding: 28px clamp(16px, 4vw, 40px);
}
.band-line {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px) clamp(24px, 5vw, 48px);
  background: linear-gradient(135deg, var(--peach), var(--orange-soft));
  border-radius: calc(var(--radius) + 4px);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ── Bir klinik günü ──────────────────────────────────────────────────
 *
 * Özellik listesi yerine zaman çizgisi: klinik sahibi ürünü kendi gününün
 * içinde okuyor. Saat sütunu tabular-nums, yoksa rakamlar satır satır
 * kayıyor ve çizgi eğri görünüyor.
 */

.day {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px clamp(16px, 4vw, 40px) 24px;
}
.day-head { margin-bottom: 32px; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }

.tl-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  padding-top: 2px;
}

.tl-body h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.tl-body p {
  color: var(--ink-soft);
  max-width: 58ch;
  font-size: 0.97rem;
}

/* ── Ürün grupları ── */

.product {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px clamp(16px, 4vw, 40px) 24px;
}
.product-head { margin-bottom: 28px; }

.group-grid {
  display: grid;
  gap: 18px;
}

.group {
  padding: clamp(20px, 3vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
}
.group h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.group li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* Yol haritası. Bilerek farklı bir kutu: pilot kliniğe "bugün ne var" ile
   "birlikte ne kuracağız" aynı renkte anlatılamaz. */
.roadmap {
  margin-top: 20px;
  padding: clamp(20px, 3vw, 26px);
  border: 1px dashed #E0CDBB;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 241, 230, 0.5);
}
.roadmap h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--orange-deep);
}
.roadmap p {
  color: var(--ink-soft);
  max-width: 74ch;
  font-size: 0.97rem;
}

/* ── Kimler için ── */

.who {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 40px) 8px;
}
.who-head { margin-bottom: 28px; }

.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.who-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.who-list li:last-child { border-bottom: 1px solid var(--line); }
.who-list h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.who-list p {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 0.97rem;
}

/* ── Kutulu bölüm (veri) ── */

.feature {
  padding: 12px clamp(16px, 4vw, 40px) 24px;
}
.feature-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
}
.feature-inner .check-list { margin-top: 20px; }

/* ── Pilot programı ── */

.pilot {
  padding: 24px clamp(16px, 4vw, 40px);
}
.pilot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, var(--peach), var(--orange-soft));
}
.pilot-head { margin-bottom: 28px; }

.pilot-cols {
  display: grid;
  gap: 28px;
}
.pilot-col h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.pilot-col .check-list li { color: var(--ink); }

.pilot-foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 146, 92, 0.28);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ── SSS ──────────────────────────────────────────────────────────────
 * <details>/<summary> — açılır kapanır davranış tarayıcının, JavaScript
 * yok. Varsayılan üçgen kaldırılıp yerine sağdaki + işareti konuyor.
 */

.faq {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px clamp(16px, 4vw, 40px) 24px;
}
.faq-head { margin-bottom: 24px; }

.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--orange-deep);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--orange-deep); }
.faq-list summary:focus-visible { box-shadow: var(--ring); border-radius: 6px; }

.faq-list p {
  padding: 0 34px 20px 0;
  color: var(--ink-soft);
  max-width: 66ch;
  font-size: 0.97rem;
}

/* ── Signup ── */

.signup {
  padding: 24px clamp(16px, 4vw, 40px) 80px;
}

.signup-card {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.signup-head { margin-bottom: 22px; }

.signup-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.field .field-label {
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--whisper);
}
.field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.field input:hover { border-color: #e2d2c4; }
.field input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--orange);
  box-shadow: var(--ring);
}

/* Klinik tipi + personel sayısı yan yana: ikisi de tek kelimelik cevap,
   alt alta konunca form gereksiz uzuyor ve terk edilme artıyor. */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  /* Ok işareti gömülü SVG — CSP dış kaynağa izin vermiyor. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236B6158' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.field select:hover { border-color: #e2d2c4; }
.field select:focus {
  outline: none;
  background-color: var(--surface);
  border-color: var(--orange);
  box-shadow: var(--ring);
}

.form-error {
  min-height: 1.2em;
  margin: 0;
  font-size: 13px;
  color: #B4342A;
}
.form-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.form-note a {
  color: var(--brand-navy);
  font-weight: 600;
}

.signup-success {
  text-align: center;
  padding: 20px 8px 8px;
}
.signup-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.signup-success p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.signup-card.is-done .signup-form,
.signup-card.is-done .signup-head { display: none; }
.signup-card.is-done .signup-success { display: block; }

/* ── Footer ── */

.site-footer {
  display: grid;
  gap: 18px;
  padding: 36px clamp(16px, 4vw, 40px) 48px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.footer-brand p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-lockup .brand-icon { width: 32px; height: 32px; }
.footer-lockup .brand-word { font-size: 1.05rem; }
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-size: 12.5px;
  color: var(--whisper);
}

/* ── Responsive ── */

@media (min-width: 720px) {
  .site-nav { display: flex; }
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
  .hero-signature { margin-inline: 0 0; justify-self: end; }

  .group-grid { grid-template-columns: repeat(3, 1fr); }

  /* Üç klinik tipi yan yana: alt alta okununca "bizim için değil" diye
     erken bırakılıyor, yan yana üçü birden görünüyor. */
  .who-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 28px;
  }
  .who-list li {
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }
  .who-list li:last-child { border-bottom: 0; }

  .pilot-cols { grid-template-columns: 1fr 1fr; gap: 40px; }

  .timeline li { grid-template-columns: 84px 1fr; gap: 28px; }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .footer-copy { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 14px; }
}

@media (max-width: 719px) {
  .header-actions .btn.ghost { display: none; }
  .site-header { gap: 10px; }
  .brand-word { font-size: 1.05rem; }
  .brand-icon { width: 32px; height: 32px; }
}
