@charset "UTF-8";
/* ==========================================================================
   DİNAR SEÇİM · TASARIM SİSTEMİ · v4 · KURUMSAL ARAŞTIRMA
   --------------------------------------------------------------------------
   Kimlik: bağımsız bir kamuoyu araştırma şirketinin dijital yüzü.
   · Renk: antrasit (gövde) + bordo (vurgu) + soğuk gri zemin.
     Aday listelerinin renkleri (mavi / turuncu) bilinçli olarak kullanılmaz.
   · Yazı: güçlü, kalın sistem sans-serif; etiketler büyük harf ve aralıklı.
     Harici web fontu, ikon fontu veya framework yoktur.
   · Mobil öncelikli: 320px'ten geniş masaüstüne kadar tek akış.
   · Dokunma hedefleri ≥ 44px · görünür odak · prefers-reduced-motion desteği

   İÇİNDEKİLER
     01. Tasarım belirteçleri
     02. Sıfırlama & temel katman
     03. Yerleşim (container, başlık çubuğu, ana alan, alt bilgi)
     04. Marka (büyük harf logo)
     05. Düğmeler
     06. Kartlar, yüzeyler & simge kutucukları
     07. Aday kartları
     08. Listeler & bilgi satırları
     09. Yan menü (drawer)
     10. Sayfa (sheet) / diyalog
     11. Form alanları & kod girişi
     12. Bildirimler, uyarılar & rozetler
     13. Sonuç çubukları & metrikler
     14. İçerik blokları
     15. Giriş bandı (hero), veri şeridi, çipler, paylaşım, akış
     16. Segment denetimi
     17. Yardımcı sınıflar
     18. Duyarlı düzenlemeler
     19. Hareket
     20. Erişilebilirlik tercihleri
     21. Yazdırma
   ========================================================================== */

/* ==========================================================================
   01. TASARIM BELİRTEÇLERİ
   ========================================================================== */
:root {
  color-scheme: light;

  /* --- Marka · bordo -------------------------------------------------- */
  --brand-700: #6b0e1d;
  --brand-600: #861326;
  --brand-500: #a11a2f;
  --brand-400: #c02a41;
  --brand-300: #f0a7b2;
  --brand-tint: rgba(161, 26, 47, 0.07);
  --brand-tint-strong: rgba(161, 26, 47, 0.13);
  --brand-ring: rgba(161, 26, 47, 0.24);

  /* --- Antrasit (kurumsal gövde) -------------------------------------- */
  --ink: #111418;
  --ink-2: #191d23;
  --ink-3: #252a32;
  --ink-soft: #2c323b;
  --ink-line: rgba(255, 255, 255, 0.1);
  --ink-text: rgba(255, 255, 255, 0.92);
  --ink-muted: rgba(255, 255, 255, 0.62);

  /* --- Durum renkleri ------------------------------------------------- */
  --green-500: #17703f;
  --green-400: #23934f;
  --green-tint: rgba(35, 147, 79, 0.1);
  --orange-500: #8a5300;
  --orange-400: #c27a00;
  --orange-tint: rgba(194, 122, 0, 0.11);
  --red-500: #c0262d;
  --red-400: #e0444b;
  --red-tint: rgba(224, 68, 75, 0.09);
  --purple-500: #4a4f73;
  --purple-400: #646a92;
  --indigo-400: #4a5568;

  /* --- Yüzey & metin -------------------------------------------------- */
  --bg: #f2f3f5;
  --bg-elevated: #ffffff;
  --bg-grouped: #ffffff;
  --bg-sunken: #e6e8ec;
  --surface-glass: rgba(17, 20, 24, 0.94);
  --surface-glass-strong: rgba(255, 255, 255, 0.94);
  --fill-quaternary: rgba(17, 20, 24, 0.03);
  --fill-tertiary: rgba(17, 20, 24, 0.06);
  --fill-secondary: rgba(17, 20, 24, 0.1);
  --separator: rgba(17, 20, 24, 0.1);
  --separator-opaque: #d6d9df;

  --text: #111418;
  --text-secondary: #4a5059;
  --text-tertiary: #78808b;
  --text-on-brand: #ffffff;

  /* --- Gölgeler (keskin, kurumsal) ------------------------------------- */
  --shadow-xs: 0 1px 1px rgba(17, 20, 24, 0.04);
  --shadow-sm: 0 1px 2px rgba(17, 20, 24, 0.06), 0 1px 1px rgba(17, 20, 24, 0.03);
  --shadow-md: 0 12px 28px -12px rgba(17, 20, 24, 0.28), 0 2px 4px rgba(17, 20, 24, 0.05);
  --shadow-lg: 0 28px 64px -18px rgba(17, 20, 24, 0.45), 0 6px 14px rgba(17, 20, 24, 0.1);
  --shadow-brand: 0 6px 14px -8px rgba(107, 14, 29, 0.7);

  /* --- Yarıçaplar · keskin köşeler ------------------------------------- */
  --r-xs: 3px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 10px;
  --r-2xl: 14px;
  --r-pill: 999px;

  /* --- Aralıklar (4px ızgara) ------------------------------------------ */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-7: 2rem;
  --s-8: 2.5rem;
  --s-9: 3rem;
  --s-10: 4rem;

  /* --- Tipografi ------------------------------------------------------- */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --t-caption2: 0.6875rem;  /* 11 */
  --t-caption: 0.75rem;     /* 12 */
  --t-footnote: 0.8125rem;  /* 13 */
  --t-subhead: 0.9375rem;   /* 15 */
  --t-callout: 1rem;        /* 16 */
  --t-body: 1rem;           /* 16 */
  --t-title3: 1.1875rem;    /* 19 */
  --t-title2: 1.375rem;     /* 22 */
  --t-title1: 1.75rem;      /* 28 */
  --t-large: 2.25rem;       /* 36 */

  --track-label: 0.09em;

  /* --- Hareket --------------------------------------------------------- */
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.15s;
  --dur: 0.24s;
  --dur-slow: 0.4s;

  /* --- Ölçüler --------------------------------------------------------- */
  --header-h: 60px;
  --stripe-h: 3px;
  --topbar-h: 0px;
  --header-total: calc(var(--header-h) + var(--stripe-h) + var(--topbar-h));
  --main-gap: var(--s-6);
  --container: 66rem;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --hairline: 1px;
  --tap: 44px;
  --z-header: 100;
  --z-drawer: 200;
  --z-sheet: 300;
  --z-toast: 400;
}

/* ==========================================================================
   02. SIFIRLAMA & TEMEL KATMAN
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-total) + var(--safe-t) + 1rem);
  tab-size: 4;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
  touch-action: none;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

svg.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: var(--brand-500);
  text-decoration: none;
  touch-action: manipulation;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--brand-700);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

strong,
b {
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--separator);
  margin: var(--s-5) 0;
}

code,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

::selection {
  background: var(--brand-tint-strong);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: fixed;
  top: calc(var(--safe-t) + 10px);
  left: 50%;
  translate: -50% -220%;
  z-index: 500;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--brand-500);
  color: #fff;
  font-size: var(--t-subhead);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: translate var(--dur) var(--ease-out);
}

.skip-link:focus-visible {
  translate: -50% 0;
  color: #fff;
  outline-color: #fff;
}

/* ==========================================================================
   03. YERLEŞİM
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(var(--s-4), var(--safe-l)) max(var(--s-4), var(--safe-r));
}

.container--narrow {
  max-width: 48rem;
}

.app-main {
  flex: 1 0 auto;
  padding-top: calc(var(--header-total) + var(--safe-t) + var(--main-gap));
  padding-bottom: var(--s-9);
}

.app-main--flush {
  padding-top: calc(var(--header-total) + var(--safe-t));
}

.section {
  margin-bottom: var(--s-7);
}

.section:last-child {
  margin-bottom: 0;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

/* Bölüm etiketi · solda bordo blok, ardından ince çizgi */
.section__title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-width: 0;
  font-family: var(--font-sans);
  font-size: var(--t-caption);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--text);
}

.section__title::before {
  content: "";
  flex: none;
  width: 4px;
  height: 14px;
  background: var(--brand-500);
}

.section__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--separator-opaque);
}

.page-title {
  font-size: var(--t-title1);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-3);
}

.page-lede {
  font-size: var(--t-callout);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--s-6);
  max-width: 42rem;
}

/*
 * İç sayfa başlık bandı · anasayfa giriş bandıyla aynı dil.
 * Tam genişlik tekniği ekran dışına taşmaz (bkz. .hero--band).
 */
.container > header.mb-6 {
  position: relative;
  margin: calc(var(--main-gap) * -1) calc(50% - 50vw) var(--s-7);
  padding: var(--s-7) calc(50vw - 50%);
  background:
    radial-gradient(60rem 24rem at 0% 0%, rgba(161, 26, 47, 0.28), rgba(161, 26, 47, 0) 60%),
    var(--ink);
  border-bottom: 3px solid var(--brand-500);
  color: #fff;
}

.container > header.mb-6::before {
  content: "Dinar Seçim";
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  font-size: var(--t-caption2);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-300);
}

.container > header.mb-6 .page-title {
  color: #fff;
}

.container > header.mb-6 .page-lede {
  color: var(--ink-muted);
}

.container > header.mb-6 a {
  color: #fff;
  text-decoration: underline;
}

/* --- Başlık çubuğu · beyaz, kurumsal ------------------------------------ */
.app-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding-top: var(--safe-t);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-bottom: 1px solid var(--separator);
  transition: box-shadow var(--dur) var(--ease-out);
}

/* Üst kenarda bordo şerit */
.app-header::before {
  content: "";
  display: block;
  height: var(--stripe-h);
  background: var(--brand-500);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app-header {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
  }
}

.app-header.is-scrolled {
  box-shadow: 0 8px 24px -16px rgba(17, 20, 24, 0.4);
}

/* Üst bilgi şeridi · antrasit, yalnız masaüstünde görünür */
.topbar {
  display: none;
  height: var(--topbar-h);
  background: var(--ink);
  color: var(--ink-muted);
  font-size: var(--t-caption2);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  white-space: nowrap;
}

.topbar__item strong {
  color: #fff;
  font-weight: 800;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: var(--ink-line);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4cc47e;
  box-shadow: 0 0 0 3px rgba(76, 196, 126, 0.2);
}

.status-dot--off {
  background: #e3a33a;
  box-shadow: 0 0 0 3px rgba(227, 163, 58, 0.2);
}

.app-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.app-header .brand {
  margin-right: auto;
}

.app-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex: none;
}

/* Yatay menü · yalnız masaüstü */
.app-nav {
  display: none;
  align-items: stretch;
  align-self: stretch;
  gap: var(--s-1);
  margin-inline: var(--s-4);
}

.app-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-inline: var(--s-3);
  font-size: var(--t-footnote);
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.app-nav__link::after {
  content: "";
  position: absolute;
  inset: auto var(--s-3) -1px var(--s-3);
  height: 3px;
  background: var(--brand-500);
  scale: 0 1;
  transition: scale var(--dur) var(--ease-out);
}

.app-nav__link:hover {
  color: var(--text);
}

.app-nav__link:hover::after {
  scale: 0.5 1;
}

.app-nav__link.is-active {
  color: var(--text);
}

.app-nav__link.is-active::after {
  scale: 1 1;
}

/* .btn kuralından sonra gelse de geçerli olsun diye seçici güçlendirildi */
.app-header .app-header__cta {
  display: none;
}

.icon-btn__label {
  display: none;
}

/* --- Alt bilgi · minimal ------------------------------------------------- */
.app-footer {
  margin-top: auto;
  padding: var(--s-5) 0 calc(var(--s-5) + var(--safe-b));
  border-top: 1px solid var(--separator);
  text-align: center;
  font-size: var(--t-caption);
  color: var(--text-tertiary);
}

.app-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--s-5);
  margin-bottom: var(--s-2);
}

.app-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 700;
  color: var(--text-secondary);
}

.app-footer__links a:hover {
  color: var(--brand-600);
}

.app-footer__note {
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.55;
}

.app-footer__copy {
  margin-top: var(--s-2);
  font-weight: 600;
}

/* ==========================================================================
   04. MARKA · BÜYÜK HARF LOGO
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-width: 0;
  color: inherit;
  border-radius: var(--r-sm);
  padding: var(--s-1);
  transition: opacity var(--dur-fast) var(--ease-out);
}

.brand:hover {
  color: inherit;
  opacity: 0.85;
}

.brand:active {
  opacity: 0.7;
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-500);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.brand__mark .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

/* Logo metni her zaman büyük harf (lang="tr" ile İ/I doğru dönüşür) */
.brand__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.brand__title em {
  font-style: normal;
  color: var(--brand-500);
}

.brand__subtitle {
  margin-top: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Koyu zemin varyantı (alt bilgi) */
.brand--light .brand__title { color: #fff; }
.brand--light .brand__title em { color: var(--brand-300); }
.brand--light .brand__subtitle { color: var(--ink-muted); }
.brand--light:focus-visible { outline-color: #fff; }

/* ==========================================================================
   05. DÜĞMELER
   ========================================================================== */
.btn {
  --btn-bg: var(--bg-elevated);
  --btn-fg: var(--text);
  --btn-bd: var(--separator-opaque);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--tap);
  padding: 0.625rem 1.125rem;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: inset 0 0 0 1px var(--btn-bd);
  font-size: var(--t-subhead);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

.btn:hover {
  color: var(--btn-fg);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 2;
}

/* Birincil · bordo, büyük harf */
.btn--primary {
  --btn-bg: var(--brand-500);
  --btn-fg: var(--text-on-brand);
  --btn-bd: transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  --btn-bg: var(--brand-600);
}

.btn--success {
  --btn-bg: var(--green-tint);
  --btn-fg: var(--green-500);
  --btn-bd: rgba(23, 112, 63, 0.3);
}

.btn--success:disabled {
  opacity: 1;
}

.btn--danger {
  --btn-bg: var(--red-tint);
  --btn-fg: var(--red-500);
  --btn-bd: rgba(192, 38, 45, 0.24);
}

.btn--danger:hover {
  --btn-bg: rgba(224, 68, 75, 0.15);
}

/* İkincil vurgulu · antrasit */
.btn--tinted {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: transparent;
}

.btn--tinted:hover {
  --btn-bg: var(--ink-3);
}

.btn--subtle {
  --btn-bg: var(--bg-elevated);
  --btn-fg: var(--text);
  --btn-bd: var(--separator-opaque);
}

.btn--subtle:hover {
  --btn-bg: #f7f8f9;
  --btn-bd: #b9bec7;
}

.btn--plain {
  --btn-bg: transparent;
  --btn-fg: var(--brand-600);
  --btn-bd: transparent;
  padding-inline: var(--s-2);
  box-shadow: none;
}

.btn--plain:hover {
  --btn-bg: var(--brand-tint);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--ink);
}

/* Koyu zemin üzerinde şeffaf çerçeveli düğme */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-bd: rgba(255, 255, 255, 0.5);
}

.btn--ghost:focus-visible {
  outline-color: #fff;
}

/* Renkli zemin üzerinde beyaz düğme */
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-700);
  --btn-bd: transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn--light:hover {
  --btn-bg: #fbeef0;
}

.btn--light:focus-visible {
  outline-color: #fff;
}

.btn--sm {
  min-height: 36px;
  padding: 0.375rem 0.75rem;
  font-size: var(--t-footnote);
  gap: var(--s-1);
}

.btn--lg {
  min-height: 52px;
  padding: 0.875rem 1.5rem;
  font-size: var(--t-callout);
  border-radius: var(--r-md);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn__spinner {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.icon-btn {
  width: var(--tap);
  height: var(--tap);
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--separator-opaque);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.icon-btn:hover {
  color: var(--brand-600);
  box-shadow: inset 0 0 0 1px #b9bec7;
}

.icon-btn:active {
  transform: scale(0.94);
}

.icon-btn .icon {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.icon-btn--accent {
  color: var(--brand-600);
}

.btn-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

/* ==========================================================================
   06. KARTLAR, YÜZEYLER & SİMGE KUTUCUKLARI
   ========================================================================== */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card--pad {
  padding: var(--s-5);
}

.card--glass {
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.card__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--separator);
}

.card__title {
  font-size: var(--t-callout);
  font-weight: 800;
}

.card__body {
  padding: var(--s-5);
}

/*
 * Simge kutucuğu · tek renk ailesi (antrasit). Ton sınıfları geriye dönük
 * uyumluluk için korunur.
 */
.tile {
  --tile-bg: var(--bg-sunken);
  --tile-fg: var(--ink);
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--tile-bg);
  color: var(--tile-fg);
}

.tile .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}

.tile--lg {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
}

.tile--lg .icon {
  width: 26px;
  height: 26px;
}

.tile--blue,
.tile--green,
.tile--indigo,
.tile--orange,
.tile--purple,
.tile--graphite {
  --tile-bg: var(--bg-sunken);
  --tile-fg: var(--ink);
}

.tile--soft {
  --tile-bg: var(--brand-tint);
  --tile-fg: var(--brand-600);
}

.tile--red {
  --tile-bg: var(--red-tint);
  --tile-fg: var(--red-500);
}

/* ==========================================================================
   07. ADAY KARTLARI · yatay profil kartı
   --------------------------------------------------------------------------
   Telefonda tek sütun (fotoğraf solda, künye sağda), 56rem üzerinde iki sütun.
   ========================================================================== */
.candidate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
}

.candidate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .candidate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--separator-opaque);
  }
}

.candidate.is-selected {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px var(--brand-tint-strong), var(--shadow-md);
}

/*
 * Fotoğraf sütunu genişliği ızgaradan gelir, yüksekliği kartın içerik
 * yüksekliğine uyar. Sabit en-boy oranı kullanılmaz; aksi hâlde sütun
 * taşıp künye metninin üstüne biner.
 */
.candidate__media {
  position: relative;
  min-width: 0;
  min-height: 13rem;
  background: var(--bg-sunken);
  overflow: hidden;
}

.candidate__media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset -1px 0 0 var(--separator);
  pointer-events: none;
}

/* <picture> sarmalayıcısı kutuya oturtulur; aksi hâlde altta boş şerit kalır */
.candidate__media > picture,
.profile__media > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.candidate__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: scale var(--dur-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .candidate:hover .candidate__photo {
    scale: 1.03;
  }
}

.candidate__flag {
  position: absolute;
  z-index: 1;
  inset: auto auto var(--s-2) var(--s-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: var(--r-xs);
  background: var(--brand-500);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.candidate__flag .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

.candidate__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-4);
}

.candidate__name {
  font-size: clamp(1.0625rem, 4.6vw, 1.375rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: none;
}

.candidate__role {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.candidate__role::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.candidate__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.candidate__stat-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.candidate__pct {
  font-size: var(--t-title3);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.candidate__votes {
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.candidate.is-leader .candidate__pct {
  color: var(--brand-600);
}

.candidate.is-leader .result__fill {
  background: var(--brand-500);
}

.candidate__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

/* Hakkında / Projeleri · metin bağlantıları */
.candidate__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--separator);
  border-bottom: 1px solid var(--separator);
}

.candidate__links .btn {
  --btn-bg: transparent;
  --btn-bd: transparent;
  flex: 1 1 0;
  min-height: 40px;
  padding: 0 var(--s-1);
  gap: 5px;
  border-radius: 0;
  box-shadow: none;
  font-size: var(--t-caption);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.candidate__links .btn + .btn {
  box-shadow: inset 1px 0 0 var(--separator);
}

.candidate__links .btn:hover {
  color: var(--brand-600);
  --btn-bg: var(--brand-tint);
}

.candidate__links .btn .icon {
  width: 14px;
  height: 14px;
}

.candidate__actions > .btn {
  min-height: 46px;
}

@media (max-width: 25rem) {
  .candidate__links .btn .icon {
    display: none;
  }
}

/* ==========================================================================
   08. LİSTELER & BİLGİ SATIRLARI
   ========================================================================== */
.list {
  background: var(--bg-grouped);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.list--plain {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.list__item + .list__item {
  border-top: 1px solid var(--separator);
}

.list__link,
.list__row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 56px;
  padding: var(--s-3) var(--s-4);
  color: var(--text);
  font-size: var(--t-subhead);
  font-weight: 650;
  transition: background-color var(--dur-fast) var(--ease-out);
}

button.list__link {
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.list__link:hover {
  background: #f7f8f9;
  color: var(--text);
}

.list__link:active {
  background: var(--fill-tertiary);
}

.list__link.is-active {
  position: relative;
  color: var(--brand-600);
  font-weight: 800;
  background: var(--brand-tint);
}

.list__link.is-active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand-500);
}

.list__link.is-active .tile {
  --tile-bg: var(--brand-500);
  --tile-fg: #fff;
}

.list__label {
  flex: 1;
  min-width: 0;
}

.list__value {
  color: var(--text-secondary);
  font-size: var(--t-subhead);
  text-align: right;
  overflow-wrap: anywhere;
}

.list__chevron {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--text-tertiary);
  stroke-width: 2.2;
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.list__link:hover .list__chevron {
  transform: translateX(2px);
  color: var(--brand-500);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
}

.info-row + .info-row {
  border-top: 1px solid var(--separator);
}

.info-row__body {
  min-width: 0;
  padding-top: 1px;
}

.info-row__label {
  display: block;
  font-size: var(--t-caption2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.info-row__value {
  display: block;
  font-size: var(--t-subhead);
  font-weight: 550;
  line-height: 1.55;
  color: var(--text);
  overflow-wrap: anywhere;
}

.info-row__value a {
  color: var(--brand-600);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand-300);
  text-underline-offset: 0.2em;
}

/* ==========================================================================
   09. YAN MENÜ (DRAWER)
   ========================================================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: grid;
  pointer-events: none;
}

.drawer[hidden] {
  display: none;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 24, 0.55);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(21rem, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  padding-top: var(--safe-t);
  padding-bottom: var(--safe-b);
  padding-right: var(--safe-r);
  translate: 100% 0;
  transition: translate var(--dur-slow) var(--ease-ios);
  will-change: translate;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  translate: 0 0;
}

/* Çekmece başlığı · antrasit, başlık çubuğuyla aynı dil */
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: calc(var(--header-h) + var(--stripe-h));
  padding: var(--s-3) var(--s-4);
  background: var(--ink);
  border-top: var(--stripe-h) solid var(--brand-500);
  color: #fff;
}

.drawer__head .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--ink-line);
}

.drawer__head :focus-visible {
  outline-color: #fff;
}

.drawer__title {
  font-size: var(--t-footnote);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.drawer__foot {
  padding: var(--s-4);
  border-top: 1px solid var(--separator);
  text-align: center;
}

.drawer__brand {
  font-size: var(--t-caption);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer__meta {
  margin-top: 2px;
  font-size: var(--t-caption);
  color: var(--text-tertiary);
}

/* ==========================================================================
   10. SAYFA (SHEET) / DİYALOG
   ========================================================================== */
.sheet {
  position: fixed;
  inset: 0;
  z-index: var(--z-sheet);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.sheet[hidden] {
  display: none;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 24, 0.62);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.sheet__panel {
  position: relative;
  width: 100%;
  max-height: calc(100dvh - var(--safe-t) - 1.5rem);
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  border-top: 3px solid var(--brand-500);
  box-shadow: var(--shadow-lg);
  padding-bottom: var(--safe-b);
  translate: 0 100%;
  transition: translate var(--dur-slow) var(--ease-ios);
  will-change: translate;
}

.sheet.is-open {
  pointer-events: auto;
}

.sheet.is-open .sheet__backdrop {
  opacity: 1;
}

.sheet.is-open .sheet__panel {
  translate: 0 0;
}

.sheet__progress {
  position: absolute;
  inset: -3px 0 auto 0;
  z-index: 3;
  height: 3px;
  background: var(--bg-sunken);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  overflow: hidden;
}

.sheet__progress > span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--brand-500);
  transition: width var(--dur-slow) var(--ease-ios);
}

.sheet__grabber {
  position: relative;
  flex: none;
  height: 24px;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
}

.sheet__grabber::after {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--fill-secondary);
}

.sheet__grabber:active {
  cursor: grabbing;
}

.sheet__close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  box-shadow: inset 0 0 0 1px var(--separator-opaque);
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.sheet__close:hover {
  background: var(--bg);
  color: var(--text);
}

.sheet__close:active {
  transform: scale(0.92);
}

.sheet__close .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.sheet__content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: var(--s-2) var(--s-5) 0;
  scrollbar-width: thin;
}

.sheet__header {
  text-align: center;
  margin-bottom: var(--s-5);
}

.sheet__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--s-4);
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
}

.sheet__icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.9;
}

.sheet__icon--success {
  background: var(--green-500);
}

.sheet__icon--warning {
  background: var(--orange-400);
}

.sheet__icon--danger {
  background: var(--red-500);
}

.sheet__title {
  font-size: var(--t-title2);
  font-weight: 900;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-2);
}

.sheet__title--lead {
  font-size: var(--t-caption);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--s-4);
  padding-inline: var(--s-7);
  color: var(--text-secondary);
}

.sheet__actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}

.sheet__actions-row .btn {
  padding-inline: var(--s-2);
}

.vote-target__photo--icon {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.vote-target__photo--icon .icon {
  width: 22px;
  height: 22px;
}

.sheet__text {
  font-size: var(--t-subhead);
  color: var(--text-secondary);
  line-height: 1.6;
}

.sheet__text strong {
  color: var(--text);
  font-weight: 700;
}

.sheet__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* Yapışkan aksiyon çubuğu · form uzasa da birincil düğme hep görünür */
.sheet__actions--sticky {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: var(--s-4);
  margin-inline: calc(var(--s-5) * -1);
  padding: var(--s-4) var(--s-5) var(--s-5);
  background: linear-gradient(
    to top,
    var(--bg-elevated) 0%,
    var(--bg-elevated) 62%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Oy verilecek aday kimlik kartı · antrasit */
.vote-target {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3);
  margin-bottom: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
}

.vote-target__photo {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  object-fit: cover;
  object-position: top center;
  background: var(--ink-3);
}

.vote-target__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vote-target__label {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-300);
}

.vote-target__name {
  margin-top: 2px;
  font-size: var(--t-callout);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vote-target__icon {
  margin-left: auto;
  flex: none;
  color: var(--brand-300);
}

.vote-target__icon .icon {
  width: 22px;
  height: 22px;
}

.sheet__fineprint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--t-caption2);
  line-height: 1.5;
  color: var(--text-tertiary);
}

.sheet__fineprint .icon {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 1px;
}

/* Oda üyeliği kapısı · tutamaç ve kapatma düğmesi yoktur */
.sheet--gate .sheet__content {
  padding-top: var(--s-7);
  padding-bottom: var(--s-5);
}

@media (max-height: 40rem) {
  .sheet--gate .sheet__content {
    padding-top: var(--s-4);
    padding-bottom: var(--s-4);
  }

  .sheet--gate .sheet__actions {
    margin-top: var(--s-4);
  }
}

@media (max-height: 46rem) {
  .sheet__icon {
    width: 46px;
    height: 46px;
    margin-bottom: var(--s-3);
  }

  .sheet__icon .icon {
    width: 22px;
    height: 22px;
  }

  .sheet__header {
    margin-bottom: var(--s-4);
  }

  .sheet__title {
    font-size: var(--t-title3);
  }

  .vote-target {
    padding: var(--s-2) var(--s-3);
    margin-bottom: var(--s-3);
  }

  .vote-target__photo {
    width: 42px;
    height: 42px;
  }

  .field__textarea {
    min-height: 4.75rem;
  }

  .form {
    gap: var(--s-3);
  }
}

/* Çok alçak ekranlar · oylama formu kaydırmasız görünsün */
@media (max-height: 40rem) {
  .sheet__content {
    padding-top: 0;
  }

  .sheet__title--lead {
    margin-bottom: var(--s-2);
  }

  .vote-target {
    padding: 6px var(--s-2);
    margin-bottom: var(--s-2);
    gap: var(--s-2);
  }

  .vote-target__photo {
    width: 34px;
    height: 34px;
  }

  .vote-target__name {
    font-size: var(--t-subhead);
  }

  .form {
    gap: var(--s-2);
  }

  .field__textarea {
    min-height: 3.5rem;
  }

  .field__foot .field__hint {
    display: none;
  }

  .sheet__fineprint {
    font-size: 0.625rem;
  }

  .sheet__actions--sticky {
    padding-top: var(--s-3);
    padding-bottom: var(--s-3);
    margin-top: var(--s-3);
  }

  .btn--lg {
    min-height: 46px;
  }

  .sheet__icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--s-2);
  }

  .sheet__icon .icon {
    width: 20px;
    height: 20px;
  }
}

/* Masaüstü · ortalanmış diyalog */
@media (min-width: 40rem) {
  .sheet {
    align-items: center;
    padding: var(--s-5);
  }

  .sheet__panel {
    width: min(28rem, 100%);
    max-height: min(46rem, calc(100dvh - 3rem));
    border-radius: var(--r-xl);
    overflow: hidden;
    translate: 0 12px;
    opacity: 0;
    transition:
      translate var(--dur) var(--ease-out),
      opacity var(--dur-fast) linear;
  }

  .sheet.is-open .sheet__panel {
    translate: 0 0;
    opacity: 1;
  }

  .sheet__progress {
    inset: 0 0 auto 0;
  }

  .sheet__grabber {
    display: none;
  }

  .sheet__content {
    padding-top: var(--s-7);
  }
}

/* Alçak masaüstü penceresi · masaüstü bloğundan SONRA gelmelidir */
@media (min-width: 40rem) and (max-height: 40rem) {
  .sheet {
    padding: var(--s-3);
  }

  .sheet__panel {
    max-height: calc(100dvh - 1.5rem);
  }

  .sheet__content {
    padding-top: var(--s-4);
  }

  .sheet__actions--sticky > .btn--plain[data-dismiss] {
    display: none;
  }
}

@media (max-height: 33rem) {
  .sheet__fineprint,
  .field__hint {
    display: none;
  }

  .vote-target__label {
    display: none;
  }
}

/* ==========================================================================
   11. FORM ALANLARI
   ========================================================================== */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: var(--t-caption);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.field__optional {
  font-size: var(--t-caption);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-tertiary);
}

.field__control {
  display: flex;
  align-items: stretch;
  background: var(--bg-elevated);
  border: 1px solid var(--separator-opaque);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.field__control:hover {
  border-color: #b9bec7;
}

.field__control:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.12);
}

.field__prefix {
  display: grid;
  place-items: center;
  padding-inline: 0.85rem;
  background: var(--bg);
  border-right: 1px solid var(--separator-opaque);
  color: var(--text-secondary);
  font-size: var(--t-callout);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.field__input,
.field__textarea,
.field__select {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.8125rem 0.9375rem;
  /* 16px · iOS'ta odaklanınca yakınlaştırmayı engeller */
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  background: transparent;
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--text-tertiary);
  font-weight: 400;
}

.field__input:autofill,
.field__input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: inset 0 0 0 100px var(--bg-elevated);
}

.field__textarea {
  min-height: 6.5rem;
  resize: none;
}

.field__select {
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.75rem) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.field__input[type="tel"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.field__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
}

.field__hint {
  font-size: var(--t-caption);
  color: var(--text-tertiary);
  line-height: 1.45;
}

.field__counter {
  flex: none;
  font-size: var(--t-caption);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.field__counter.is-warning {
  color: var(--orange-500);
  font-weight: 700;
}

.field__error {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: var(--t-caption);
  font-weight: 650;
  color: var(--red-500);
}

.field__error .icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.field.has-error .field__control {
  border-color: var(--red-400);
  background: #fff7f7;
  box-shadow: none;
}

.field.has-error .field__control:focus-within {
  box-shadow: 0 0 0 3px rgba(224, 68, 75, 0.18);
}

.field.has-error .field__error {
  display: flex;
}

.field.has-error .field__hint {
  display: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--separator);
  cursor: pointer;
}

.check__box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  border: 1.5px solid #a9afb9;
  background: var(--bg-elevated);
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.check__box .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
  color: #fff;
  opacity: 0;
  scale: 0.6;
  transition: opacity var(--dur-fast) var(--ease-out), scale var(--dur-fast) var(--ease-out);
}

.check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check input:checked + .check__box {
  background: var(--brand-500);
  border-color: var(--brand-500);
}

.check input:checked + .check__box .icon {
  opacity: 1;
  scale: 1;
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.check__text {
  font-size: var(--t-footnote);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Tek kullanımlık kod girişi (OTP) --------------------------------- */
.code-field {
  position: relative;
}

.code-field__input {
  width: 100%;
  padding: 0.9rem 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  background: var(--bg-elevated);
  border: 1px solid var(--separator-opaque);
  border-radius: var(--r-sm);
  color: var(--text);
}

.code-field__input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.12);
}

.code-field__slots {
  display: none;
}

.code-field.is-ready .code-field__slots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: var(--s-2);
}

.code-field.is-ready .code-field__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: transparent;
  caret-color: transparent;
  text-indent: 0;
  letter-spacing: 0;
  z-index: 2;
}

.code-field__slot {
  aspect-ratio: 3 / 4;
  max-height: 60px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--separator-opaque);
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.code-field__slot.is-filled {
  border-color: var(--ink);
  background: var(--bg);
}

.code-field.is-focused .code-field__slot.is-active {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

.code-field.is-focused .code-field__slot.is-active::after {
  content: "";
  width: 2px;
  height: 1.5rem;
  border-radius: 1px;
  background: var(--brand-500);
  animation: caret 1.1s steps(1) infinite;
}

@keyframes caret {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
}

.code-field.has-error .code-field__slot {
  border-color: var(--red-400);
  background: #fff7f7;
}

.code-field.has-error {
  animation: shake 0.36s var(--ease-in-out);
}

@keyframes shake {
  0%, 100% { translate: 0 0; }
  20% { translate: -6px 0; }
  40% { translate: 5px 0; }
  60% { translate: -3px 0; }
  80% { translate: 2px 0; }
}

.resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--t-footnote);
  color: var(--text-secondary);
}

.resend__timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--text);
}

/* ==========================================================================
   12. BİLDİRİMLER, UYARILAR & ROZETLER
   ========================================================================== */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-b) + var(--s-5));
  translate: -50% 0;
  z-index: var(--z-toast);
  width: min(26rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  pointer-events: none;
}

.toast {
  --toast-accent: var(--brand-300);
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--ink);
  border-left: 4px solid var(--toast-accent);
  box-shadow: var(--shadow-lg);
  color: #fff;
  pointer-events: auto;
  animation: toast-in var(--dur) var(--ease-out);
}

.toast.is-leaving {
  animation: toast-out var(--dur-fast) var(--ease-in-out) forwards;
}

@keyframes toast-in {
  from { translate: 0 14px; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}

@keyframes toast-out {
  to { translate: 0 10px; opacity: 0; }
}

.toast__icon {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--toast-accent);
}

.toast--success { --toast-accent: #6fd39a; }
.toast--warning { --toast-accent: #f1c05b; }
.toast--error { --toast-accent: #f48a8f; }

.toast__body {
  flex: 1;
  min-width: 0;
  font-size: var(--t-subhead);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.toast__close {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  color: var(--ink-muted);
}

.toast__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.toast__close .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}

/* Sayfa içi uyarı bloğu · solda durum çizgisi */
.notice {
  --notice-accent: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  border-left: 4px solid var(--notice-accent);
  box-shadow: var(--shadow-xs);
  color: var(--text);
}

.notice__icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--bg-sunken);
  color: var(--ink);
}

.notice__icon .icon {
  width: 18px;
  height: 18px;
}

.notice__title {
  font-size: var(--t-subhead);
  font-weight: 800;
  margin-bottom: 2px;
}

.notice__text {
  font-size: var(--t-footnote);
  color: var(--text-secondary);
  line-height: 1.55;
}

.notice--success { --notice-accent: var(--green-400); }

.notice--success .notice__icon {
  background: var(--green-tint);
  color: var(--green-500);
}

.notice--warning { --notice-accent: var(--orange-400); }

.notice--warning .notice__icon {
  background: var(--orange-tint);
  color: var(--orange-500);
}

.notice--danger { --notice-accent: var(--red-400); }

.notice--danger .notice__icon {
  background: var(--red-tint);
  color: var(--red-500);
}

/* Rozet · köşeli, büyük harf etiket */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  box-shadow: inset 0 0 0 1px var(--separator-opaque);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.badge--brand {
  background: var(--brand-tint);
  color: var(--brand-600);
  box-shadow: inset 0 0 0 1px rgba(161, 26, 47, 0.22);
}

.badge--success {
  background: var(--green-tint);
  color: var(--green-500);
  box-shadow: inset 0 0 0 1px rgba(23, 112, 63, 0.24);
}

.badge--warning {
  background: var(--orange-tint);
  color: var(--orange-500);
  box-shadow: inset 0 0 0 1px rgba(138, 83, 0, 0.24);
}

.badge--danger {
  background: var(--red-tint);
  color: var(--red-500);
  box-shadow: inset 0 0 0 1px rgba(192, 38, 45, 0.22);
}

.badge--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s var(--ease-in-out) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; scale: 0.8; }
  50% { opacity: 1; scale: 1.1; }
}

/* ==========================================================================
   13. SONUÇ ÇUBUKLARI & METRİKLER
   ========================================================================== */
.results {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.result {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.result__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
}

.result__name {
  font-size: var(--t-footnote);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result__value {
  flex: none;
  font-size: var(--t-callout);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.result__track {
  height: 12px;
  border-radius: 2px;
  background: var(--bg-sunken);
  overflow: hidden;
}

.result__fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--ink-soft);
  transition: width var(--dur-slow) var(--ease-out);
}

.result:first-child .result__fill {
  background: var(--brand-500);
}

.result:first-child .result__value {
  color: var(--brand-600);
}

.result__meta {
  font-size: var(--t-caption);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: var(--s-3);
}

.metric {
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  border-top: 3px solid var(--ink);
  box-shadow: var(--shadow-xs);
}

.metric__label {
  display: block;
  font-size: var(--t-caption2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.metric__value {
  display: block;
  font-size: var(--t-title2);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.metric__value--text {
  font-size: var(--t-callout);
  font-weight: 800;
}

.icon-inline {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: -2px;
}

/* ==========================================================================
   14. İÇERİK BLOKLARI
   ========================================================================== */
.prose {
  font-size: var(--t-callout);
  line-height: 1.75;
  color: var(--text-secondary);
}

.prose > * + * {
  margin-top: var(--s-4);
}

.prose h2 {
  font-size: var(--t-title3);
  font-weight: 800;
  color: var(--text);
  margin-top: var(--s-6);
}

.prose strong {
  color: var(--text);
}

.prose a {
  text-decoration: underline;
  text-decoration-color: var(--brand-300);
  text-underline-offset: 0.2em;
}

/* --- Profil başlığı (aday sayfası) · antrasit kart ---------------------- */
/*
 * Telefonda tam genişlik portre, isim fotoğrafın altına koyu geçişle biner.
 * 48rem üzerinde iki sütun: solda portre, sağda künye.
 */
.profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
  margin-bottom: var(--s-6);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(161, 26, 47, 0.28) 0%, rgba(161, 26, 47, 0) 46%),
    var(--ink);
  border-top: 3px solid var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.profile__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 34rem;
  background: var(--ink-3);
  overflow: hidden;
}

.profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.profile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 20, 24, 0) 50%, rgba(17, 20, 24, 0.8) 82%, var(--ink) 100%);
  pointer-events: none;
}

.profile__info {
  position: relative;
  z-index: 1;
  margin-top: -5.5rem;
  padding: 0 var(--s-5) var(--s-6);
}

.profile__name {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* Fotoğraf büyütülebilir · sağ üstte büyüteç rozeti */
a.profile__media {
  display: block;
  cursor: zoom-in;
}

.profile__zoom {
  position: absolute;
  z-index: 1;
  top: var(--s-3);
  right: var(--s-3);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: rgba(17, 20, 24, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: scale var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}

.profile__zoom .icon {
  width: 18px;
  height: 18px;
}

/* Yalnız fareyle · dokunmatikte :hover kapanıştan sonra takılı kalır */
@media (hover: hover) and (pointer: fine) {
  a.profile__media:hover .profile__zoom {
    scale: 1.08;
    background: var(--brand-500);
  }
}

a.profile__media:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

/* --- Lightbox · tam ekran fotoğraf --------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-sheet);
  display: grid;
  place-items: center;
  padding:
    max(var(--s-4), var(--safe-t)) max(var(--s-4), var(--safe-r))
    max(var(--s-4), var(--safe-b)) max(var(--s-4), var(--safe-l));
  background: rgba(10, 12, 15, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

/* Kapalıyken katman tamamen kalkar; aksi hâlde display:grid, hidden
   özniteliğini ezer ve görünmez katman sayfanın üstünde tıklamaları yutar */
.lightbox[hidden] {
  display: none;
}

/* Kapanış animasyonu sırasında da alttaki sayfa hemen kullanılabilir olsun */
.lightbox:not(.is-open) {
  pointer-events: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  max-width: 100%;
  max-height: 100%;
  outline: none;
}

/* Büyüme efekti görselde · panelde olsaydı sabit (fixed) kapatma düğmesi
   ekrana değil panele göre konumlanırdı */
.lightbox__img {
  scale: 0.94;
  transition: scale 0.3s var(--ease-out);
}

.lightbox.is-open .lightbox__img {
  scale: 1;
}

.lightbox__img {
  display: block;
  max-width: min(100%, 60rem);
  max-height: calc(100dvh - 7rem);
  width: auto;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox__caption {
  font-size: var(--t-subhead);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.lightbox__close {
  position: fixed;
  top: max(var(--s-3), var(--safe-t));
  right: max(var(--s-3), var(--safe-r));
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__close .icon {
  width: 22px;
  height: 22px;
}

.lightbox :focus-visible {
  outline-color: #fff;
}

.profile__name {
  font-size: var(--t-title2);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.profile__role {
  font-size: var(--t-caption2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-300);
}

.profile__actions {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.profile .badge {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-line);
}

.profile .badge--success {
  color: #8be0ad;
}

.profile .badge--warning {
  color: #f1c05b;
}

.profile :focus-visible {
  outline-color: #fff;
}

/* --- Adımlar (yardım) -------------------------------------------------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  counter-reset: step;
}

.step {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  box-shadow: var(--shadow-xs);
}

.step__num {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  font-size: var(--t-callout);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.step__title {
  display: block;
  font-size: var(--t-callout);
  font-weight: 800;
  margin-bottom: 3px;
}

.step__text {
  font-size: var(--t-footnote);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Özellik ızgarası -------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

.feature {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  box-shadow: var(--shadow-xs);
}

.feature__title {
  display: block;
  font-size: var(--t-callout);
  font-weight: 800;
  margin-bottom: 3px;
}

.feature__text {
  font-size: var(--t-footnote);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Proje listesi ----------------------------------------------------- */
.project {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5);
}

.project + .project {
  border-top: 1px solid var(--separator);
}

.project__num {
  flex: none;
  min-width: 34px;
  height: 34px;
  padding-inline: 6px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  font-size: var(--t-subhead);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.project__title {
  display: block;
  font-size: var(--t-callout);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--s-2);
}

.project__text {
  font-size: var(--t-footnote);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Boş durum --------------------------------------------------------- */
.empty {
  padding: var(--s-8) var(--s-5);
  text-align: center;
}

.empty__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--s-4);
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: var(--bg-sunken);
  color: var(--text-secondary);
}

.empty__icon .icon {
  width: 26px;
  height: 26px;
}

.empty__title {
  font-size: var(--t-callout);
  font-weight: 800;
  margin-bottom: var(--s-1);
}

.empty__text {
  font-size: var(--t-footnote);
  color: var(--text-secondary);
  max-width: 24rem;
  margin-inline: auto;
  line-height: 1.6;
}

/* --- Tam sayfa durum ekranı (bakım / 404 / hata) ----------------------- */
.app-main--bare {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--safe-t);
  padding-bottom: var(--safe-b);
  border-top: 4px solid var(--brand-500);
}

.app-main--bare > .container {
  display: flex;
  flex: 1;
  min-height: 0;
}

.state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  text-align: center;
  padding: var(--s-7) 0 calc(var(--s-7) + var(--safe-b));
  max-width: 30rem;
  margin-inline: auto;
}

.state__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xl);
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.state__icon .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.8;
}

.state__icon--spin .icon {
  animation: spin 6s linear infinite;
}

.state__icon--muted {
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.state__title {
  font-size: var(--t-title1);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.state__text {
  font-size: var(--t-callout);
  color: var(--text-secondary);
  line-height: 1.65;
}

.state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-2);
}

.state__brand {
  margin-top: var(--s-6);
  font-size: var(--t-caption);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* --- Güven şeridi · antrasit ------------------------------------------- */
.trust {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  border-left: 4px solid var(--ink);
  box-shadow: var(--shadow-xs);
}

.trust__icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
}

.trust__icon .icon {
  width: 18px;
  height: 18px;
}

.trust__text {
  font-size: var(--t-footnote);
  font-weight: 550;
  line-height: 1.55;
  color: var(--text-secondary);
}

.trust__text strong {
  color: var(--text);
  font-weight: 800;
}

/* ==========================================================================
   15. GİRİŞ BANDI (HERO), OY PUSULASI, BÖLÜM GİRİŞLERİ, SÜREÇ, PAYLAŞIM
   ========================================================================== */
.hero {
  position: relative;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--separator-opaque);
}

/*
 * Tam genişlik antrasit bant: kenar boşlukları kapsayıcıdan ekran kenarına
 * uzatılır, iç boşluk aynı miktarda geri verilir. Ekran dışına taşan öğe
 * olmadığı için mobilde görünüm alanı genişlemez.
 */
.hero--band {
  margin: calc(var(--main-gap) * -1) calc(50% - 50vw) var(--s-8);
  padding: var(--s-8) calc(50vw - 50%);
  background:
    radial-gradient(70rem 30rem at 0% 0%, rgba(161, 26, 47, 0.32), rgba(161, 26, 47, 0) 60%),
    linear-gradient(180deg, #151920 0%, var(--ink) 100%);
  border-bottom: 3px solid var(--brand-500);
  color: #fff;
}

/* İnce ızgara dokusu · veri / araştırma hissi */
.hero--band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  pointer-events: none;
}

.hero--band > * {
  position: relative;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  font-size: var(--t-caption2);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-300);
}

.hero__kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}

.hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.hero__head > .badge {
  flex: 0 0 auto;
  margin-left: auto;
  margin-top: 6px;
}

.hero__title {
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: var(--s-4);
}

.hero__head .hero__title {
  margin-bottom: 0;
  min-width: 0;
}

.hero__title em {
  display: block;
  font-style: normal;
  color: var(--brand-500);
}

.hero__text {
  font-size: var(--t-subhead);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.hero__actions .btn {
  flex: 1 1 12rem;
}

.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--ink-line);
}

.hero__assurances li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-text);
}

.hero__assurances .icon {
  width: 16px;
  height: 16px;
  color: var(--brand-300);
}

/* Koyu bant içinde renkler */
.hero--band .hero__title { color: #fff; }
.hero--band .hero__title em { color: var(--brand-300); }
.hero--band .hero__text { color: var(--ink-muted); }

.hero--band .badge {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-line);
}

.hero--band .badge--success { color: #8be0ad; }
.hero--band .badge--warning { color: #f1c05b; }
.hero--band .badge--brand { color: var(--brand-300); }

.hero--band :focus-visible {
  outline-color: #fff;
}

/* İki sütun · solda mesaj, sağda oy pusulası (masaüstü) */
.hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
  align-items: center;
}

/* --- Oy pusulası paneli ------------------------------------------------ */
.ballot {
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ballot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-top: 4px solid var(--brand-500);
  border-bottom: 1px solid var(--separator);
}

.ballot__title {
  font-size: var(--t-caption);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero--band .ballot .badge {
  background: var(--green-tint);
  color: var(--green-500);
  box-shadow: inset 0 0 0 1px rgba(23, 112, 63, 0.24);
}

.hero--band .ballot .badge--warning {
  background: var(--orange-tint);
  color: var(--orange-500);
  box-shadow: inset 0 0 0 1px rgba(138, 83, 0, 0.24);
}

.ballot__list > li + li {
  border-top: 1px solid var(--separator);
}

.ballot__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  color: var(--text);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.ballot__item:hover {
  color: var(--text);
  background: #f7f8f9;
}

.ballot__photo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  object-fit: cover;
  object-position: top center;
  background: var(--bg-sunken);
}

.ballot__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.ballot__name {
  font-size: var(--t-subhead);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ballot__role {
  margin-top: 2px;
  font-size: var(--t-caption);
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Boş onay kutusu · pusula görünümü */
.ballot__box {
  flex: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--separator-opaque);
  border-radius: var(--r-xs);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.ballot__item:hover .ballot__box {
  border-color: var(--brand-500);
}

.ballot__foot {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  background: var(--bg);
  border-top: 1px solid var(--separator);
  font-size: var(--t-caption);
  color: var(--text-tertiary);
}

.ballot__foot .icon {
  width: 14px;
  height: 14px;
}

.ballot :focus-visible {
  outline-color: var(--brand-500);
}

/* --- Bölüm girişi (başlık + açıklama) ---------------------------------- */
.section--lg {
  margin-bottom: var(--s-9);
}

.section-intro {
  margin-bottom: var(--s-6);
  max-width: 44rem;
}

.section-intro__kicker {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-2);
  font-size: var(--t-caption2);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.section-intro__kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.section-intro__title {
  font-size: clamp(1.5rem, 6vw, 2.125rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-intro__text {
  margin-top: var(--s-3);
  font-size: var(--t-subhead);
  line-height: 1.65;
  color: var(--text-secondary);
}

.section-intro .badge {
  margin-top: var(--s-3);
}

.section-link {
  margin-top: var(--s-5);
  font-size: var(--t-footnote);
  font-weight: 700;
}

.section-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-link .icon-inline {
  width: 15px;
  height: 15px;
  vertical-align: 0;
}

/* --- Süreç (üç adım) --------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  counter-reset: none;
}

.process__step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: var(--s-4);
  row-gap: 4px;
  padding: var(--s-5);
}

.process__step + .process__step {
  border-top: 1px solid var(--separator);
}

.process__num {
  position: absolute;
  top: var(--s-4);
  right: var(--s-5);
  font-size: var(--t-caption);
  font-weight: 900;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--separator-opaque);
}

.process__icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
}

.process__icon .icon {
  width: 22px;
  height: 22px;
}

.process__title {
  grid-area: title;
  align-self: end;
  padding-right: var(--s-6);
  font-size: var(--t-callout);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.process__text {
  grid-area: text;
  font-size: var(--t-footnote);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- Eski giriş öğeleri (geriye dönük uyum) ------------------------------ */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--separator-opaque);
  font-size: var(--t-caption);
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.chip .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-500);
}

.chip--success .icon { color: var(--green-500); }
.chip--graphite .icon { color: var(--text-tertiary); }

/* --- Paylaşım çağrısı · bordo bant ------------------------------------- */
.share-cta {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-top: var(--s-7);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background:
    linear-gradient(120deg, var(--brand-600) 0%, var(--brand-500) 55%, var(--brand-400) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.share-cta__title {
  font-size: var(--t-callout);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-cta__text {
  margin-top: 4px;
  font-size: var(--t-footnote);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.share-cta .btn {
  width: 100%;
  --btn-bg: #fff;
  --btn-fg: var(--brand-700);
  --btn-bd: transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.share-cta .btn:hover {
  --btn-bg: #fbeef0;
}

.share-cta .btn:focus-visible {
  outline-color: #fff;
}

@media (min-width: 34rem) {
  .share-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-5) var(--s-6);
  }

  .share-cta .btn {
    width: auto;
    flex: none;
  }
}

/* --- Nasıl çalışır şeridi --------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-2);
  counter-reset: flow;
}

.flow__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--separator);
  box-shadow: var(--shadow-xs);
}

.flow__num {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  font-size: var(--t-subhead);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.flow__body {
  min-width: 0;
}

.flow__title {
  display: block;
  font-size: var(--t-subhead);
  font-weight: 800;
}

.flow__text {
  display: block;
  font-size: var(--t-caption);
  color: var(--text-tertiary);
  line-height: 1.45;
}

/* ==========================================================================
   15b. ANASAYFA · SADE OYLAMA EKRANI
   --------------------------------------------------------------------------
   Aday sayfasındaki antrasit profil kartının dili. Adaylar telefonda da
   yan yana (iki sütun) ve eşit boyutta durur.
   ========================================================================== */
.home-head {
  text-align: center;
  margin-bottom: var(--s-6);
}

.home-head__kicker {
  font-size: var(--t-caption2);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: var(--s-2);
}

.home-head__title {
  font-size: clamp(1.375rem, 6vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  text-wrap: balance;
}

.home-head__text {
  margin-top: var(--s-2);
  font-size: var(--t-subhead);
  color: var(--text-secondary);
}

.duel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

.duel--single {
  grid-template-columns: minmax(0, 22rem);
  justify-content: center;
}

.duel__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: center;
  border-radius: var(--r-xl);
  background: var(--ink);
  border-top: 3px solid var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .duel__card:hover {
    transform: translateY(-4px);
  }

  .duel__card:hover .duel__media img {
    scale: 1.04;
  }
}

.duel__card.is-selected {
  box-shadow: 0 0 0 3px var(--brand-500), var(--shadow-lg);
}

/* Tam genişlik portre · isim fotoğrafın üzerine, koyu geçişle yazılır */
.duel__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
  overflow: hidden;
}

.duel__media > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.duel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: scale var(--dur-slow) var(--ease-out);
}

.duel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 20, 24, 0) 45%, rgba(17, 20, 24, 0.75) 78%, var(--ink) 100%),
    linear-gradient(135deg, rgba(161, 26, 47, 0.25) 0%, rgba(161, 26, 47, 0) 40%);
  pointer-events: none;
}

.duel__flag {
  position: absolute;
  z-index: 2;
  top: var(--s-2);
  left: var(--s-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: var(--r-xs);
  background: var(--brand-500);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.duel__flag .icon {
  width: 12px;
  height: 12px;
}

.duel__caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 0 var(--s-2) var(--s-3);
}

.duel__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 var(--s-3) var(--s-4);
}

.duel__name {
  font-size: clamp(0.9375rem, 4.4vw, 1.5rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: anywhere;
}

.duel__name a {
  color: inherit;
}

.duel__name a:hover {
  color: var(--brand-300);
}

.duel__role {
  margin-top: 6px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-300);
}

.duel__stat {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: baseline;
  gap: 4px 6px;
  width: 100%;
  margin-top: var(--s-2);
}

.duel__pct {
  font-size: var(--t-title3);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.duel__votes {
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.duel__stat .result__track {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--ink-line);
}

.duel__stat .result__fill {
  background: rgba(255, 255, 255, 0.55);
}

.duel__card.is-leader .result__fill {
  background: var(--brand-400);
}

.duel__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin-top: var(--s-4);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}

.duel__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding-inline: 2px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-text);
}

.duel__links a + a {
  box-shadow: inset 1px 0 0 var(--ink-line);
}

.duel__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.duel__links .icon {
  display: none;
  width: 14px;
  height: 14px;
}

.duel__action {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding-top: var(--s-4);
}

.duel__action .btn {
  min-height: 44px;
}

.duel__card .badge {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-line);
}

.duel__card .badge--success { color: #8be0ad; }
.duel__card .badge--warning { color: #f1c05b; }

.duel__card :focus-visible {
  outline-color: #fff;
}

.home-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-6);
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--text-tertiary);
}

.home-note > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-note a {
  color: var(--brand-600);
}

.home-note .icon {
  width: 14px;
  height: 14px;
}

@media (min-width: 30rem) {
  .duel { gap: var(--s-4); }
  .duel__caption { padding: 0 var(--s-4) var(--s-4); }
  .duel__body { padding: 0 var(--s-4) var(--s-5); }
  .duel__role { font-size: var(--t-caption2); letter-spacing: 0.12em; }
  .duel__links a { font-size: var(--t-caption); }
  .duel__links .icon { display: block; }
}

@media (min-width: 48rem) {
  .home-head { margin-bottom: var(--s-8); }
  .duel { gap: var(--s-6); }
  .duel__caption { padding: 0 var(--s-6) var(--s-5); }
  .duel__body { padding: 0 var(--s-6) var(--s-6); }
  .duel__name { font-size: 1.75rem; }
  .duel__pct { font-size: var(--t-title2); }
}

@media (prefers-reduced-motion: reduce) {
  .duel__card:hover { transform: none; }
  .duel__card:hover .duel__media img { scale: 1; }
}

/* ==========================================================================
   16. SEGMENT DENETİMİ
   ========================================================================== */
.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-md);
  background: var(--bg-sunken);
  margin-bottom: var(--s-5);
}

.segmented--sticky {
  position: sticky;
  top: calc(var(--header-total) + var(--safe-t) + var(--s-2));
  z-index: 20;
  background: rgba(230, 232, 236, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 4px var(--bg), 0 10px 20px -16px rgba(17, 20, 24, 0.6);
}

.segmented__item {
  flex: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--r-sm);
  font-size: var(--t-caption);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition:
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.segmented__item .icon {
  width: 16px;
  height: 16px;
}

.segmented__item:hover {
  color: var(--text);
}

.segmented__item[aria-selected="true"],
.segmented__item.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   17. YARDIMCI SINIFLAR
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stack { display: flex; flex-direction: column; }
.stack--2 { gap: var(--s-2); }
.stack--3 { gap: var(--s-3); }
.stack--4 { gap: var(--s-4); }
.stack--5 { gap: var(--s-5); }
.stack--6 { gap: var(--s-6); }

.row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.row--between { justify-content: space-between; }
.row--center { justify-content: center; }
.row--wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-brand { color: var(--brand-600); font-weight: 700; }
.text-success { color: var(--green-500); }
.text-danger { color: var(--red-500); }
.text-sm { font-size: var(--t-footnote); }
.text-xs { font-size: var(--t-caption); }
.text-strong { font-weight: 800; }
.nums { font-variant-numeric: tabular-nums; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }

.hidden { display: none !important; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.break-all { overflow-wrap: anywhere; }

.skeleton {
  border-radius: var(--r-sm);
  background: linear-gradient(
    100deg,
    var(--fill-quaternary) 30%,
    var(--fill-tertiary) 50%,
    var(--fill-quaternary) 70%
  );
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to { background-position-x: -120%; }
}

.spinner-block {
  display: grid;
  place-items: center;
  gap: var(--s-3);
  padding: var(--s-7) 0;
  color: var(--text-tertiary);
  font-size: var(--t-footnote);
}

.spinner-block::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid var(--fill-secondary);
  border-top-color: var(--brand-500);
  animation: spin 0.7s linear infinite;
}

/* ==========================================================================
   18. DUYARLI DÜZENLEMELER
   ========================================================================== */

/* Çok dar telefonlar (≤ 360px) */
@media (max-width: 22.5rem) {
  :root {
    --header-h: 56px;
  }

  .container { padding-inline: max(0.75rem, var(--safe-l)) max(0.75rem, var(--safe-r)); }

  .brand { gap: var(--s-2); }
  .brand__mark { width: 32px; height: 32px; }
  .brand__mark .icon { width: 18px; height: 18px; }
  .brand__title { font-size: 0.9375rem; letter-spacing: 0.07em; }
  .brand__subtitle { font-size: 0.5625rem; letter-spacing: 0.1em; }

  .candidate { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
  .candidate__body { padding: var(--s-3); gap: var(--s-2); }
  .candidate__name { font-size: 1rem; }
  .candidate__role { font-size: 0.5625rem; letter-spacing: 0.08em; }
  .candidate__links .btn { font-size: 0.625rem; letter-spacing: 0.02em; }
  .btn--primary { letter-spacing: 0.03em; }

  .hero__assurances { gap: var(--s-2) var(--s-4); }
  .process__step { padding: var(--s-4); column-gap: var(--s-3); }
  .code-field__slot { font-size: 1.125rem; }
  .project { padding: var(--s-4); gap: var(--s-3); }
  .info-row { padding: var(--s-4); gap: var(--s-3); }
}

/* Geniş telefon / küçük tablet */
@media (min-width: 30rem) {
  .candidate { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .candidate__body { padding: var(--s-5); }
}

/* Tablet ve üzeri */
@media (min-width: 48rem) {
  :root {
    --header-h: 72px;
    --main-gap: var(--s-8);
  }

  .app-main {
    padding-bottom: var(--s-10);
  }

  .brand__mark { width: 40px; height: 40px; }
  .brand__mark .icon { width: 22px; height: 22px; }
  .brand__title { font-size: 1.25rem; letter-spacing: 0.12em; }
  .brand__subtitle { font-size: 0.6875rem; }

  .icon-btn--labeled {
    width: auto;
    padding-inline: var(--s-3);
    gap: var(--s-2);
    grid-auto-flow: column;
  }

  .icon-btn__label {
    display: inline;
    font-size: var(--t-caption);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .app-header .app-header__cta {
    display: inline-flex;
  }

  .page-title { font-size: var(--t-large); }

  .hero--band { padding-block: var(--s-10); }
  .hero__text { font-size: var(--t-callout); }
  .hero__actions .btn { flex: 0 0 auto; }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }

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

  .process__step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "icon"
      "title"
      "text";
    row-gap: var(--s-2);
    padding: var(--s-6);
  }

  .process__step + .process__step {
    border-top: 0;
    border-left: 1px solid var(--separator);
  }

  .process__icon { margin-bottom: var(--s-3); }
  .process__num { top: var(--s-6); right: var(--s-6); font-size: var(--t-subhead); }

  .btn-stack--inline {
    flex-direction: row-reverse;
    justify-content: stretch;
  }

  .btn-stack--inline > .btn { flex: 1; }

  .sheet__actions--inline {
    flex-direction: row-reverse;
  }

  .sheet__actions--inline > .btn { flex: 1; }

  .profile {
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    align-items: center;
    text-align: left;
    background:
      linear-gradient(225deg, rgba(161, 26, 47, 0.3) 0%, rgba(161, 26, 47, 0) 45%),
      var(--ink);
  }

  .profile__media { max-height: none; }

  .profile__media::after {
    background:
      linear-gradient(90deg, rgba(17, 20, 24, 0) 35%, rgba(17, 20, 24, 0.75) 78%, var(--ink) 100%),
      linear-gradient(180deg, rgba(17, 20, 24, 0) 70%, rgba(17, 20, 24, 0.5) 100%);
  }

  .profile__info {
    margin-top: 0;
    padding: var(--s-7) var(--s-7) var(--s-7) var(--s-5);
  }

  .profile__actions { justify-content: flex-start; }
  .profile__name { font-size: 2.25rem; line-height: 1.1; }

  .project__title { font-size: var(--t-title3); }
  .project__text { font-size: var(--t-subhead); }
}

/* İki sütun aday kartları */
@media (min-width: 56rem) {
  .candidate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5);
  }

  .candidate { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
  .candidate__body { padding: var(--s-6); }
  .candidate__name { font-size: 1.5rem; }
}

/* Masaüstü · yatay menü, üst bilgi şeridi, iki sütunlu giriş */
@media (min-width: 64rem) {
  :root {
    --topbar-h: 34px;
  }

  .topbar { display: block; }

  .app-nav { display: flex; }

  .app-header__menu { display: none; }

  .hero--split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--s-9);
  }

  .hero__title { font-size: 3.5rem; }

  .steps { gap: var(--s-4); }
}

/* Yatay mod · alçak ekranlar */
@media (max-height: 30rem) and (orientation: landscape) {
  :root { --header-h: 52px; }

  .sheet__panel { max-height: calc(100dvh - 0.75rem); }
  .sheet__icon { display: none; }
  .profile__media { max-height: 80vh; }
}

/* ==========================================================================
   19. HAREKET · KAYDIRMADA BELİRME & SAYFA GEÇİŞLERİ
   ========================================================================== */
.reveal {
  transition:
    opacity 0.45s var(--ease-out),
    translate 0.45s var(--ease-out);
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  translate: 0 10px;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

.js-ready .reveal[data-delay="1"] { transition-delay: 0.05s; }
.js-ready .reveal[data-delay="2"] { transition-delay: 0.1s; }
.js-ready .reveal[data-delay="3"] { transition-delay: 0.15s; }
.js-ready .reveal[data-delay="4"] { transition-delay: 0.2s; }

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.2s;
  animation-timing-function: var(--ease-in-out);
}

.app-header {
  view-transition-name: app-header;
}

/* ==========================================================================
   20. ERİŞİLEBİLİRLİK TERCİHLERİ
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html { scroll-behavior: auto; }

  .candidate:hover { transform: none; }
  .candidate:hover .candidate__photo { scale: 1; }

  .js-ready .reveal:not(.is-visible) {
    opacity: 1;
    translate: none;
  }

  @view-transition {
    navigation: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --separator: rgba(17, 20, 24, 0.45);
    --separator-opaque: #7d838d;
    --text-secondary: #30353c;
    --text-tertiary: #444a52;
    --ink-muted: rgba(255, 255, 255, 0.85);
  }

  .btn { box-shadow: inset 0 0 0 1.5px currentColor; }
  .btn--primary { box-shadow: none; }
  .field__control { border-width: 1.5px; }
}

@media (hover: hover) and (pointer: fine) {
  .sheet__content::-webkit-scrollbar,
  .drawer__body::-webkit-scrollbar {
    width: 8px;
  }

  .sheet__content::-webkit-scrollbar-thumb,
  .drawer__body::-webkit-scrollbar-thumb {
    border-radius: var(--r-pill);
    background: var(--fill-secondary);
  }
}

/* ==========================================================================
   21. YAZDIRMA
   ========================================================================== */
@media print {
  .app-header,
  .app-footer,
  .drawer,
  .sheet,
  .toast-stack,
  .skip-link,
  .share-cta,
  .btn,
  .icon-btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .app-main { padding: 0; }

  .hero--band,
  .profile,
  .duel__card {
    background: #fff;
    color: #000;
    box-shadow: none;
    clip-path: none;
  }

  .hero--band .hero__title { color: #000; }

  .card,
  .list,
  .step,
  .feature,
  .profile {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
