@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/sg-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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/sg-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 {
  --teal: #0bb3a9;        /* logo rengi */
  --teal-deep: #057a73;   /* beyaz üzerinde metin için (AA) */
  --teal-wash: #e3f6f4;
  --navy: #0d2145;        /* eski LMS'in "Giriş" düğmesi */
  --ink: #14213a;
  --muted: #566075;
  --line: #d9dee6;
  --paper: #ffffff;
  --backdrop: #e9ecf1;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--backdrop);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
}

p, h1, h2, dl, dd { margin: 0; }

.nowrap { white-space: nowrap; }

/* Dil: JS yoksa Türkçe görünür. */
.en { display: none; }
[data-lang="en"] .tr { display: none; }
[data-lang="en"] .en { display: revert; }

/* ── Pasif eski LMS ekranı ─────────────────────────────────────────────── */
.ghost {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 30rem) minmax(0, 28rem);
  gap: 3rem;
  padding: 5rem 6rem;
  overflow: hidden;
  background: #fff;
  color: #222;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  filter: grayscale(1) blur(1.5px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}
.ghost-login { padding: 0 2rem; }
.ghost-logo { display: block; margin: 1rem auto 2rem; }
.ghost-welcome { text-align: center; font-weight: 500; margin-bottom: 1.75rem; }
.ghost-label { font-size: 0.875rem; font-weight: 500; margin: 1.25rem 0 0.5rem; }
.ghost-field {
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  color: #9aa1ad;
  font-size: 0.875rem;
}
.ghost-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; }
.ghost-button { background: #0d2145; color: #fff; font-weight: 600; padding: 0.45rem 0.8rem; border-radius: 4px; }
.ghost-news p { margin-bottom: 1rem; }
.ghost-news .ghost-h { font-size: 1.75rem; line-height: 1.2; margin: 1.5rem 0 0.75rem; }
.ghost-news .ghost-bar { background: #ddd6f5; border-radius: 4px; padding: 0.4rem 0.75rem; margin-top: 2rem; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(13, 33, 69, 0.34);
  cursor: pointer;
}

/* ── Duyuru ────────────────────────────────────────────────────────────── */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem 1rem;
  pointer-events: none; /* kartın dışındaki tıklamalar scrim'e düşsün */
}

.notice {
  pointer-events: auto;
  width: 100%;
  max-width: 35rem;
  padding: 1.75rem 2.25rem 2rem;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(13, 33, 69, 0.06), 0 30px 70px -20px rgba(13, 33, 69, 0.55);
}

.notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.notice-head img { display: block; }

.lang { display: flex; gap: 0.125rem; padding: 0.1875rem; background: #eef1f5; border-radius: 999px; }
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.8125rem/1 var(--font);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 33, 69, 0.18); }

h1 {
  font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.625rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

.lede { margin-top: 0.875rem; color: var(--muted); font-size: 1.0625rem; max-width: 34em; }

/* Adres değişikliği: sayfanın asıl bilgisi, tipografiyle anlatılır. */
.move {
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  border-left: 4px solid var(--teal);
  background: var(--teal-wash);
  border-radius: 0 10px 10px 0;
}
.move p { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 0.75rem; }
.move-tag { flex: 0 0 5.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.move-old s {
  color: var(--muted);
  font-size: 1.0625rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 100% 1.5px;
}
.move-new { margin-top: 0.25rem; }
.move-new strong {
  color: var(--teal-deep);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}
.cta svg { transition: transform 0.15s ease; }
.cta:hover { background: #16336b; }
.cta:hover svg { transform: translateX(3px); }

.how { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.how h2 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.how dl { margin-top: 0.75rem; display: grid; gap: 0.625rem; }
.how dl > div { display: grid; grid-template-columns: 8rem 1fr; gap: 0.75rem; }
.how dt { font-weight: 700; font-size: 0.9375rem; }
.how dd { color: var(--muted); font-size: 0.9375rem; }

.help { margin-top: 1.25rem; font-size: 0.875rem; color: var(--muted); display: grid; gap: 0.375rem; }
.help a { color: var(--teal-deep); font-weight: 600; text-underline-offset: 2px; }
.help a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.cta:focus-visible { outline-color: var(--teal); outline-offset: 4px; }

/* Tek açılış anı: eski adresin üstü çizilir, yeni adres belirir. */
@media (prefers-reduced-motion: no-preference) {
  .move-old s { background-size: 0 1.5px; animation: strike 0.5s 0.45s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
  .move-new strong { opacity: 0; animation: arrive 0.45s 0.95s ease-out forwards; }
  @keyframes strike { to { background-size: 100% 1.5px; } }
  @keyframes arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

/* ── Küçük ekranlar ────────────────────────────────────────────────────── */
@media (max-width: 56rem) {
  .ghost { grid-template-columns: 1fr; padding: 2rem 1rem; }
  .ghost-news { display: none; }
}

@media (max-width: 30rem) {
  .stage { padding: 1rem; align-items: start; }
  .notice { padding: 1.25rem 1.25rem 1.5rem; border-radius: 12px; }
  .notice-head { margin-bottom: 1.125rem; }
  .notice-head img { width: 48px; height: 48px; }
  .move-tag { flex-basis: 100%; }
  .how dl > div { grid-template-columns: 1fr; gap: 0.125rem; }
}

@media print {
  .ghost, .scrim, .lang { display: none; }
  .notice { box-shadow: none; }
}
