/* lingy-web — tek stil dosyası.
   Yapı: Bevel (refero.design) referansı; renk ve font: ingilizce-app/design.md. */

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/saira-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/saira-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 {
  /* lingy paleti */
  --primary: #46845d;
  --primary-strong: #3b7350; /* beyaz metin taşıyan zemin ve bağlantılar (AA) */
  --primary-soft: #e3efe7;
  --violet: #a686f9;
  --violet-soft: #efe9ff;
  --amber: #fbd483;
  --amber-soft: #fff4dc;
  --coral: #fd564d; /* yalnız seri */
  --coral-soft: #ffe7e5;
  --ink: #040001;
  --body: #5c5b63;
  --surface: #eeedf2;
  --bg: #ffffff;
  --line: #dddce3;

  --hero-grad: linear-gradient(120deg, #ece6ff 0%, #f6f1ff 30%, #fff6e2 65%, #eaf4ec 100%);

  /* tipografi */
  --font: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
  --fs-display: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --fs-card: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* boşluk (8px taban) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s10: 80px; --s12: 96px;
  --section: clamp(56px, 4rem + 3vw, 96px);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;

  /* yarıçap ve gölge */
  --r-pill: 128px;
  --r-nav: 32px;
  --r-card: 28px;
  --r-img: 20px;
  --shadow-md: 0 0 16px -8px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 2px 16px 0 rgba(0, 0, 0, 0.15);
  --shadow-phone: 0 30px 60px -20px rgba(26, 12, 64, 0.35), 0 12px 24px -12px rgba(0, 0, 0, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--primary-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- kapsül nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px var(--gutter) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: 10px 10px 10px 18px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-nav);
  box-shadow: var(--shadow-lg);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem;
  transition: background-color .2s var(--ease);
}
.nav-links a:hover { background: var(--surface); }
.nav-links a[aria-current="page"] { background: var(--surface); }
.lang-switch {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--surface); border-radius: var(--r-pill);
}
.lang-switch a, .lang-switch span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 36px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 0.875rem; font-weight: 600; text-decoration: none; color: var(--body);
}
.lang-switch [aria-current="true"] { background: var(--ink); color: #fff; }
.lang-switch a:hover { color: var(--ink); background: #fff; }
.nav-toggle { display: none; }

/* Mobil: tek satır kapsül (logo · dil · menü düğmesi). Menü, kapsülün altında sayfanın
   üstüne binen bir panel olarak açılır; içerik kaymaz. JS yoksa bağlantılar alt satırda görünür. */
@media (max-width: 760px) {
  .site-header { padding-top: 12px; }
  .nav { position: relative; flex-wrap: wrap; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 26px; }
  .brand { min-height: 40px; margin-right: auto; }
  .nav-menu { display: contents; }
  .lang-switch { order: 2; }
  .lang-switch a, .lang-switch span { min-height: 36px; min-width: 40px; }

  .js .nav-toggle {
    order: 3; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--surface); color: var(--ink); cursor: pointer;
    transition: background-color .2s;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-toggle .i-close { display: none; }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
  .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: inline; }

  .nav-links { order: 4; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { width: 100%; min-height: 48px; padding: 0 16px; font-size: 1.0625rem; border-radius: 16px; }
  .nav-links a[aria-current="page"] { background: var(--surface); }

  .js .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    padding: 8px; background: #fff; border-radius: 24px;
    box-shadow: 0 18px 40px -12px rgba(4, 0, 1, .28), 0 0 0 1px var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .js .nav[data-open="true"] .nav-links {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s var(--ease), transform .25s var(--ease);
  }
}
@media (min-width: 761px) {
  .nav-menu { display: flex; align-items: center; gap: 8px; }
}

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 26px;
  border-radius: var(--r-pill); border: 0;
  font: 600 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.btn-primary { background: var(--primary-strong); color: #fff; box-shadow: 0 10px 24px -12px rgba(59, 115, 80, .7); }
.btn-primary:hover { background: #2f5f42; color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 16px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  cursor: default;
}
.play-badge svg { width: 26px; height: 26px; flex: none; }
.play-badge small { display: block; font-size: 0.75rem; line-height: 1.1; color: #c9c7d1; letter-spacing: .02em; }
.play-badge strong { display: block; font-size: 1.125rem; line-height: 1.15; font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: var(--s2) var(--gutter) 0; }
.hero-field {
  position: relative; overflow: hidden;
  max-width: 1360px; margin: -84px auto 0;
  padding: calc(84px + clamp(48px, 7vw, 104px)) var(--gutter) 0;
  border-radius: 0 0 40px 40px;
  background: var(--hero-grad);
  background-size: 220% 220%;
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-field::before, .hero-field::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero-field::before { width: 420px; height: 420px; background: #d9ccff; top: -120px; right: -80px; }
.hero-field::after { width: 360px; height: 360px; background: #ffe6ad; bottom: 40px; left: -120px; }
.hero-grid {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s5); align-items: end;
}
.hero-copy { padding-bottom: clamp(48px, 8vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; margin-bottom: var(--s3);
  background: rgba(255,255,255,.75); border-radius: var(--r-pill);
  font-size: var(--fs-small); font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow-md);
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.hero h1 {
  font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.035em;
  margin-bottom: var(--s3);
}
.hero h1 em { font-style: normal; color: var(--primary-strong); }
.hero .lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 34ch; margin-bottom: var(--s4); color: #46454d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* telefonlar (yer tutucu ekranlar) */
.phones { position: relative; height: clamp(440px, 52vw, 620px); }
.phone {
  position: absolute; bottom: -40px;
  width: clamp(220px, 23vw, 290px); aspect-ratio: 9 / 19.2;
  padding: 10px; border-radius: 46px;
  background: #16141b;
  box-shadow: var(--shadow-phone), inset 0 0 0 2px #2c2a33;
}
.phone::before { /* kamera adası */
  content: ""; position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 22px; border-radius: 20px; background: #16141b;
}
.phone-back { right: 0; transform: rotate(6deg); animation: float-b 7s ease-in-out infinite; }
.phone-front { right: clamp(170px, 21vw, 270px); bottom: -70px; z-index: 1; transform: rotate(-4deg); animation: float-a 6s ease-in-out infinite; }
.screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 37px; background: var(--surface);
  padding: 50px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; line-height: 1.3; color: var(--ink);
}
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* gerçek ekran gelince */
.screen-video { padding: 0; background: #eeedf2; } /* video ekran kaydı, zemin uygulamanın zemini */
.screen-video video { position: absolute; top: var(--cam-gap, 34px); left: 0; width: 100%; height: auto; } /* kayıtta durum çubuğu yok: kamera adası içeriği örtmesin */
.screen-video.full video { top: 0; } /* kaydın üstüne her karenin kendi zemin rengi eklendi */

/* ---------- bölümler ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: var(--s6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s2); }
.section-head p { font-size: var(--fs-lead); line-height: 1.45; margin: 0; }
.kicker {
  display: inline-block; margin-bottom: var(--s2);
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-strong);
}

/* sınav şeridi */
.exams { padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.exams-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.exams p { margin: 0; font-size: var(--fs-lead); color: var(--ink); max-width: 30ch; line-height: 1.35; font-weight: 500; }
.exam-pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.exam-pills li {
  padding: 14px 28px; border-radius: var(--r-pill);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; letter-spacing: -.01em; color: var(--ink);
}
.exam-pills li:nth-child(1) { background: var(--primary-soft); }
.exam-pills li:nth-child(2) { background: var(--violet-soft); }
.exam-pills li:nth-child(3) { background: var(--amber-soft); }

/* özellik kartları: üstte metin, altta kartın kenarında kesilen telefon + yüzen mini kart (Bevel referansı).
   Masaüstünde dördü tek sıra; telefon ekranına uygulama ekran görüntüsü (.screen img) konur. */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.feature {
  --tint: var(--primary-soft);
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f4f4f8 0%, #f4f4f8 35%, var(--tint) 100%);
  border-radius: var(--r-card);
  padding: var(--s3) var(--s3) 0;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature.green { --tint: #d3e8da; }
.feature.violet { --tint: #e2d8fd; }
.feature.amber { --tint: #fde7b8; }
.feature.coral { --tint: #ffd6d2; }
.feature h3 { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 var(--s1); }
.feature p { margin: 0 0 var(--s3); font-size: .9375rem; line-height: 1.5; }

/* telefonlar alt kenarda hizalı kalsın diye margin-top: auto */
.f-media { position: relative; height: 250px; margin-top: auto; }
.f-phone {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 184px; aspect-ratio: 9 / 19.5;
  padding: 7px; border-radius: 34px;
  background: #16141b;
  box-shadow: 0 24px 48px -18px rgba(4, 0, 1, .35), inset 0 0 0 2px #2c2a33;
  transition: transform .5s var(--ease);
}
.feature:hover .f-phone { transform: translateX(-50%) translateY(-6px); }
.f-phone::before { /* kamera adası */
  content: ""; position: absolute; z-index: 2; top: 13px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 15px; border-radius: 15px; background: #16141b;
}
.f-phone .screen { border-radius: 27px; padding: 0; background: #fff; }
.f-phone .screen { background: #eeedf2; } /* ekran görüntüsünün zemin rengi */
.f-phone .screen img { inset: 24px 0 auto; height: auto; } /* görüntülerde durum çubuğu yok: kamera adası başlığı örtmesin */

.f-widget {
  position: absolute; z-index: 1; bottom: var(--s2);
  padding: 10px 12px;
  background: rgba(255, 255, 255, .94); border-radius: 16px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  color: var(--ink);
}
.f-widget.right { right: -10px; }
.f-widget.left { left: -10px; }
.w-label { font-size: 11px; font-weight: 600; color: var(--body); white-space: nowrap; }
.w-big { font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.w-big small { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--body); }
.w-bar { height: 6px; margin-top: 6px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.w-bar i { display: block; width: 55%; height: 100%; border-radius: inherit; background: var(--primary); }
.w-boxes { display: flex; gap: 4px; align-items: flex-end; height: 26px; margin-top: 6px; }
.w-boxes span { width: 12px; border-radius: 4px; background: var(--violet-soft); }
.w-boxes span:nth-child(1) { height: 36%; }
.w-boxes span:nth-child(2) { height: 52%; }
.w-boxes span:nth-child(3) { height: 68%; }
.w-boxes span:nth-child(4) { height: 84%; }
.w-boxes span:nth-child(5) { height: 100%; }
.w-boxes span.on { background: var(--violet); }
.w-add { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.w-plus { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); font-size: 16px; line-height: 1; }
.w-week { display: flex; gap: 4px; margin-top: 6px; }
.w-week span { width: 11px; height: 11px; border-radius: 50%; background: #d6d4dc; }
.w-week span.on { background: var(--coral); }
.w-week span.frz { background: #1565c0; }

.carousel-dots { display: none; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .3s var(--ease), background-color .3s; }
.carousel-dots span.is-active { width: 24px; background: var(--ink); }

/* adımlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step {
  counter-increment: step;
  padding: var(--s4); border-radius: var(--r-card);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--s5);
  border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 1.25rem;
}
.step h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: var(--s1); }
.step p { margin: 0; }

/* SSS */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border-radius: 22px; background: var(--surface);
  margin-bottom: 12px; transition: background-color .2s;
}
.faq details[open] { background: #e6e4ec; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  min-height: 64px; padding: 16px 24px;
  font-size: 1.1875rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23040001' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* iletişim bandı */
.cta-band {
  border-radius: 40px; background: var(--ink); color: #d9d7e0;
  padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s4); align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(166,134,249,.45), transparent 65%);
}
.cta-band h2 { color: #fff; font-size: var(--fs-display); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s2); }
.cta-band p { margin: 0; font-size: var(--fs-lead); }
.cta-band .actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-band .btn-light { background: #fff; color: var(--ink); }
.cta-band .btn-light:hover { background: var(--amber); color: var(--ink); transform: translateY(-2px); }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--section); padding-block: var(--s6) var(--s5); border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); }
.footer-brand p { margin: 12px 0 0; max-width: 36ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer-nav h2 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--body); margin-bottom: 10px; font-weight: 600; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; }
.footer-nav li a:hover { color: var(--primary-strong); text-decoration: underline; }
.footer-legal { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 0.8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px var(--s3); }
.footer-legal p { margin: 0; }

/* ---------- yasal sayfalar ---------- */
.legal-hero { padding: var(--s6) 0 var(--s5); }
.legal-hero h1 { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s2); }
.legal-hero .meta { font-size: var(--fs-small); color: var(--body); margin: 0; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s10); align-items: start; }
.toc {
  position: sticky; top: 112px;
  padding: var(--s3); border-radius: 24px; background: var(--surface);
  font-size: 0.9375rem;
}
.toc h2 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--body); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: 2px 0; }
.toc a { display: inline-block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--primary-strong); text-decoration: underline; }
.prose { max-width: 68ch; color: #3f3e45; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; margin: var(--s6) 0 var(--s2); }
.prose h3 { font-size: 1.25rem; margin: var(--s4) 0 var(--s1); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 600; background: var(--surface); }
.prose address { font-style: normal; }
.summary-card {
  background: var(--hero-grad); border-radius: 24px;
  padding: var(--s4); margin-bottom: var(--s2);
}
.summary-card h2 { margin-top: 0 !important; font-size: 1.375rem !important; }
.summary-card ul { margin-bottom: 0; }
.steps-box { background: var(--surface); border-radius: 24px; padding: var(--s3) var(--s4); margin-bottom: 1.4em; }
.steps-box ol { margin: 0; }
.note { padding: var(--s3); border-radius: 20px; background: var(--amber-soft); color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound h1 { font-size: var(--fs-hero); letter-spacing: -0.04em; line-height: 1; margin-bottom: var(--s2); }
.notfound p { font-size: var(--fs-lead); }

/* ---------- hareket ---------- */
@keyframes drift { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
@keyframes float-a { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }
@keyframes float-b { 0%, 100% { transform: rotate(6deg) translateY(-6px); } 50% { transform: rotate(5deg) translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .stagger.is-visible > * { opacity: 1; transform: none; }
.js .stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.js .stagger.is-visible > *:nth-child(3) { transition-delay: .18s; }
.js .stagger.is-visible > *:nth-child(4) { transition-delay: .27s; }
.js .stagger.is-visible > *:nth-child(5) { transition-delay: .36s; }
.js .stagger.is-visible > .feature:hover { transition-delay: 0s; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.phones { animation: rise 1.1s var(--ease) .2s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}

/* ---------- duyarlı ---------- */
@media (max-width: 1099px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: var(--s5); text-align: left; }
  .phones { height: 430px; max-width: 460px; margin-inline: auto; width: 100%; }
  .phone { width: 210px; }
  .phone-back { right: 4%; }
  .phone-front { right: auto; left: 4%; }
  /* minmax(0,1fr): uzun içerik (tablo, e-posta) sütunu ekrandan genişletmesin */
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .toc { position: static; }
  .cta-band { grid-template-columns: 1fr; }

  /* Nasıl çalışır: dikey zaman çizelgesi */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { position: relative; padding: 0 0 28px 64px; background: none; box-shadow: none; border-radius: 0; }
  .step::before { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: 0; font-size: 1.125rem; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: 21px; top: 52px; bottom: 8px;
    width: 2px; border-radius: 2px; background: var(--line);
  }
  .step:last-child { padding-bottom: 0; }
  .step h3 { padding-top: 8px; font-size: 1.25rem; }
}
@media (max-width: 760px) {
  /* Hero: header'ın altına girmeden, yuvarlak bir kart olarak başlar */
  .hero { padding-top: 12px; }
  .hero-field { margin-top: 0; padding-top: 32px; border-radius: 28px; }
  .hero-copy { padding-bottom: var(--s3); }
  .eyebrow { margin-bottom: var(--s2); }
  .hero h1 { margin-bottom: var(--s2); }
  .hero .lead { margin-bottom: var(--s3); }
  .hero-actions { gap: 10px; }
  .play-badge { min-height: 52px; padding: 6px 16px 6px 10px; gap: 8px; }
  .play-badge svg { width: 22px; height: 22px; }
  .play-badge strong { font-size: 1rem; }
  .hero-actions .btn { min-height: 52px; padding: 0 16px; font-size: 1rem; }
}
@media (max-width: 680px) {
  :root { --section: 48px; }
  .section-head { margin-bottom: var(--s4); }
  .toc ol { column-count: 2; column-gap: 20px; font-size: 0.875rem; }
  .toc li { break-inside: avoid; }
  .toc a { display: inline; } /* inline-block'ta numara son satıra hizalanıyor */

  /* Özellikler: yana kaydırılan kartlar */
  .features {
    display: flex; gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .features::-webkit-scrollbar { display: none; }
  .features:focus-visible { outline-offset: -3px; }
  .feature { flex: 0 0 84%; scroll-snap-align: start; padding: var(--s3) var(--s3) 0; }
  .feature:hover { transform: none; box-shadow: none; }
  .feature:hover .f-phone { transform: translateX(-50%); }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }

  .phones { height: 290px; max-width: 360px; }
  .phone { width: 150px; border-radius: 32px; padding: 7px; bottom: -60px; }
  .phone::before { top: 13px; height: 16px; }
  .phone-front { bottom: -90px; left: 6%; }
  .phone-back { right: 6%; }
  .screen { border-radius: 26px; padding: 36px 10px 10px; gap: 7px; font-size: 10px; }
  .screen-video { --cam-gap: 24px; }

  .exams-inner { flex-direction: column; align-items: flex-start; }
  .exam-pills { gap: 8px; }
  .exam-pills li { padding: 10px 18px; font-size: 1.125rem; }
  .summary-card, .steps-box { padding: var(--s3); }
}
@media (max-width: 360px) {
  .phone-front { left: 0; }
  .phone-back { right: 0; }
}
