:root {
  --primary: #152C52;
  --primary-dark: #101F3A;
  --primary-soft: #2A4068;
  --primary-tint: #EEF2F8;
  --accent: #C62828;
  --accent-soft: #FDECEC;
  --white: #FFFFFF;
  --surface: #F6F7FA;
  --surface-2: #FBFBFC;
  --text: #1A2332;
  --muted: #6B7280;
  --border: #E8ECF2;
  --border-soft: #EEF1F6;
  --success: #0D9488;
  --success-soft: #ECFDF8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(21, 44, 82, 0.06);
  --shadow-sm: 0 4px 16px rgba(21, 44, 82, 0.04);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 960px;
  --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(21, 44, 82, 0.05), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(198, 40, 40, 0.04), transparent 50%),
    var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }

.public-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.brand__logo {
  height: 38px;
  width: auto;
  opacity: .98;
}
.site-header__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255,255,255,.88);
}
@media (min-width: 640px) {
  .brand__logo { height: 42px; }
}

/* ===== Home ===== */
.page-home.sx-body {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(21,44,82,.05), transparent 55%),
    #F4F6F9;
}

.home-main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.home-hero {
  margin: 0 0 36px;
}
.home-hero__panel {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 28px 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(21,44,82,.05);
  position: relative;
  overflow: hidden;
}
.home-hero__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(21,44,82,.35));
}
.home-hero__kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-soft);
}
.home-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--primary);
  font-weight: 700;
}
.home-hero__lead {
  margin: 0 auto 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 44ch;
}
.home-hero__points {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.home-hero__points li {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--primary-soft);
  background: var(--primary-tint);
  border-radius: 999px;
  padding: 7px 12px;
}
.home-hero__cta {
  min-width: 220px;
  min-height: 54px;
  font-size: 15px;
}
.home-hero__trust {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
}
.home-hero__trust a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(21,44,82,.2);
}
.home-hero__trust a:hover {
  border-bottom-color: var(--primary);
}

.home-research {
  margin-top: 8px;
  scroll-margin-top: 88px;
  padding-top: 8px;
}
.home-research__head {
  text-align: center;
  margin-bottom: 22px;
  padding: 0 8px;
}
.home-research__head--compact {
  margin-bottom: 16px;
}
.home-research__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-soft);
}
.home-research__head h2 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.home-research__sub {
  margin: 8px auto 0;
  max-width: 40ch;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.research-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.research-row {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 24px 24px 22px;
  box-shadow: 0 10px 30px rgba(21,44,82,.04);
  display: grid;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.research-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(21,44,82,.18);
}
.research-row:hover {
  border-color: #D5DCE8;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.research-row:hover::before {
  background: var(--primary);
}
.research-row__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.research-row__status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--success-soft);
  border: 1px solid #CCFBF1;
  color: var(--success);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
}
.research-row__cat {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.research-row h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.6vw, 23px);
  line-height: 1.3;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.research-row p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 62ch;
}
.research-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--primary-soft) !important;
}
.research-row__chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-soft);
  font-size: 12.5px;
  font-weight: 600;
}
.research-row__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.research-row__actions .sx-btn {
  min-height: 48px;
  padding: 0 20px;
}
.research-row__secondary {
  color: var(--primary-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.research-row__secondary:hover {
  color: var(--primary);
  border-bottom-color: rgba(21,44,82,.25);
}

@media (min-width: 768px) {
  .home-main {
    padding: 36px 32px 80px;
  }
  .home-hero__panel {
    padding: 44px 48px 40px;
  }
  .research-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 28px 32px 28px 34px;
  }
  .research-row__actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 180px;
  }
  .research-row__actions .sx-btn {
    width: 100%;
  }
  .research-row__secondary {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-row {
    transition: none;
  }
  .research-row:hover {
    transform: none;
  }
}

/* Legacy helpers */
.home-surveys .section-head {
  margin-bottom: 16px;
  padding: 0 4px;
}
.section-head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.muted-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 450;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.chip--live {
  background: var(--success-soft);
  border-color: #CCFBF1;
  color: var(--success);
}

.empty-panel {
  background: rgba(255,255,255,.85);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-panel strong {
  display: block;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

/* Survey flow */
.public-main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.hero-card, .survey-card, .thanks-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border-soft);
  border-radius: calc(var(--radius) + 2px);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.hero-card .brand-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.hero-card .brand-inline img {
  height: 34px;
  width: auto;
}
.hero-card h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 4vw, 28px);
  color: var(--primary);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-card .desc {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.meta-chip {
  background: var(--primary-tint);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--primary-soft);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 60ms ease, background var(--ease), box-shadow var(--ease), border-color var(--ease);
  box-shadow: 0 6px 18px rgba(21, 44, 82, 0.16);
}
.btn:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(21, 44, 82, 0.2);
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; border-radius: 14px; }
.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--primary);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--primary-tint);
  color: var(--primary);
  border-color: #D5DCE8;
  box-shadow: none;
}
.btn-accent {
  background: var(--accent);
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.18);
}
.btn-accent:hover {
  background: #B71C1C;
  box-shadow: 0 8px 22px rgba(198, 40, 40, 0.22);
}
.btn-ghost { background: transparent; color: var(--muted); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }

.progress-wrap { margin-bottom: 20px; }
.progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar > span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width .22s ease;
}

.question-title {
  font-size: 17.5px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--primary);
  line-height: 1.4;
}
.question-help { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.required-mark { color: var(--accent); }

.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 52px;
  cursor: pointer;
  background: #fff;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.option-item:hover {
  border-color: #CDD5E2;
  background: var(--surface-2);
}
.option-item:has(input:checked) {
  border-color: rgba(21,44,82,.35);
  background: var(--primary-tint);
  box-shadow: inset 0 0 0 1px rgba(21,44,82,.12);
}
.option-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.option-item span { font-size: 15px; font-weight: 500; }

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.rating-btn {
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.rating-btn.active,
.rating-btn:has(input:checked) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.rating-btn input { position: absolute; opacity: 0; pointer-events: none; }
.rating-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.form-control, .form-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: rgba(21,44,82,.35);
  box-shadow: 0 0 0 4px rgba(21,44,82,.08);
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-soft);
}

.nav-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.nav-actions .btn { flex: 1; border-radius: 14px; }

.kvkk-box {
  background: var(--primary-tint);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}
.share-row a, .share-row button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--ease), color var(--ease);
}
.share-row a:hover, .share-row button:hover {
  background: var(--primary-tint);
  color: var(--primary);
}

.survey-contact-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.survey-contact-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(21,44,82,.2);
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}
.alert-error { background: var(--accent-soft); color: #9B1C1C; border: 1px solid #FECACA; }
.alert-info { background: #EFF6FF; color: #1E3A8A; border: 1px solid #DBEAFE; }

.thanks-card {
  text-align: center;
  padding: 44px 24px;
}
.thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  border: 1px solid #CCFBF1;
}
.thanks-card h1 {
  color: var(--primary);
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
}

.contact-cta {
  margin: 24px auto 0;
  max-width: 420px;
  padding: 18px;
  background: var(--primary-tint);
  border: 1px solid transparent;
  border-radius: 16px;
}
.contact-cta p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.contact-cta .btn { min-height: 44px; }

.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.62);
  margin-top: auto;
  padding: 22px 20px 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.site-footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-footer__brand strong {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  letter-spacing: .01em;
}
.site-footer__brand span {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 0;
  font-size: 13px;
}
.site-footer__links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-weight: 500;
}
.site-footer__links a:hover {
  color: #fff;
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11.5px;
  color: rgba(255,255,255,.38);
}
.site-footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
}
@media (min-width: 720px) {
  .site-footer {
    padding: 20px 28px 16px;
  }
  .site-footer__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .site-footer__brand {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
  .site-footer__brand span::before {
    content: "·";
    margin-right: 10px;
    opacity: .4;
  }
  .site-footer__meta {
    justify-content: space-between;
  }
}

.muted { color: var(--muted); }

/* Archive */
.home-archive {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
}
.archive-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
}
.archive-item:last-child {
  border-bottom: none;
}
.archive-item__body {
  flex: 1;
  min-width: 200px;
}
.archive-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}
.archive-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.archive-item__actions {
  flex-shrink: 0;
}

/* Public results */
.results-hero {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border-soft);
  border-radius: calc(var(--radius) + 2px);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.results-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.results-hero .lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}
.results-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}
.results-hero__stats strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
}
.results-hero__stats span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.results-block {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.results-block h2 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
}
.results-grid {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}
@media (min-width: 860px) {
  .results-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.result-row { margin-bottom: 12px; }
.result-row__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text);
}
.result-row__top strong { color: var(--primary); }
.result-row__count {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.progress-mini {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.progress-mini > span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}
.chart-box-public {
  position: relative;
  height: 240px;
}
.results-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ===== Survey Experience (sx) — vatandaş akışı ===== */
.sx-body {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(21,44,82,.05), transparent 55%),
    #F4F6F9;
  min-height: 100vh;
}
.sx-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: transparent;
}
.sx-top {
  background: var(--primary);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.sx-top-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}
.sx-brand img {
  height: 32px;
  width: auto;
}
.sx-top-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-decoration: none;
  color: #fff;
}
.sx-top-title__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.sx-top-title__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(82vw, 720px);
}
@media (min-width: 768px) {
  .sx-top-title__name {
    font-size: 16px;
  }
}
.sx-main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}
.sx-foot {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  font-size: 12px;
  color: var(--muted);
}
.sx-foot a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.sx-foot a:hover { color: var(--primary); }

.sx-screen { animation: sxIn .22s ease; }
@keyframes sxIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.sx-screen--center {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(21,44,82,.05);
  max-width: 920px;
  margin: 24px auto 0;
  width: 100%;
}
.sx-screen--center h1 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--primary);
  margin: 12px 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sx-hero {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 36px 32px 28px;
  box-shadow: 0 12px 36px rgba(21,44,82,.05);
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}
.sx-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-soft);
}
.sx-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.sx-lead {
  margin: 0 auto 20px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.sx-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-soft);
}
.sx-trust {
  margin: 16px auto 0;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 18px 22px;
  max-width: 920px;
  width: 100%;
}
.sx-intro {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.sx-trust strong {
  display: block;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 6px;
}
.sx-trust p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.sx-trust a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 60ms ease, opacity .15s, background .15s;
}
.sx-btn:active { transform: scale(.98); }
.sx-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
}
.sx-btn--primary { background: var(--primary); color: #fff; }
.sx-btn--ghost {
  background: transparent;
  color: var(--muted);
  min-height: 44px;
}
.sx-btn--ghost:hover { color: var(--primary); }

.sx-progress__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-soft);
}
.sx-back {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 0;
  cursor: pointer;
}
.sx-back:hover { color: var(--primary); }
.sx-progress__bar {
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}
.sx-progress__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
  border-radius: 999px;
  transition: width .25s ease;
}

.sx-q {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sx-hint {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}
.sx-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.sx-panel-wrap {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}
.sx-progress {
  margin: 0 auto 22px;
  max-width: 920px;
  width: 100%;
}
.sx-footer-nav {
  margin: 28px auto 0;
  max-width: 420px;
  position: sticky;
  bottom: 16px;
  width: 100%;
}
.sx-btn--block {
  width: 100%;
  max-width: none;
}
.sx-hero .sx-btn--block {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
}
.sx-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

@media (min-width: 768px) {
  .sx-options {
    grid-template-columns: 1fr 1fr;
  }
  .sx-option {
    min-height: 64px;
  }
  .sx-main {
    padding: 40px 40px 56px;
    max-width: 1120px;
  }
  .sx-top {
    padding: 14px 40px;
  }
  .sx-top-inner {
    max-width: 1120px;
  }
  .sx-rating { max-width: 420px; margin-left: auto; margin-right: auto; }
  .sx-actions {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
  .sx-actions .sx-btn--primary {
    min-width: 200px;
  }
  .sx-intro {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
  .sx-intro .sx-hero,
  .sx-intro .sx-trust {
    margin: 0;
    max-width: none;
    height: 100%;
  }
  .sx-intro .sx-hero {
    text-align: left;
  }
  .sx-intro .sx-lead {
    margin-left: 0;
  }
  .sx-intro .sx-meta {
    justify-content: flex-start;
  }
  .sx-intro .sx-hero .sx-btn--block {
    margin-left: 0;
  }
  .sx-trust {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sx-screen--thanks {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 36px;
    text-align: left;
    align-items: center;
    padding: 48px 48px;
  }
  .sx-screen--thanks .sx-check {
    margin: 0;
    grid-row: 1 / span 3;
    align-self: start;
  }
  .sx-screen--thanks .sx-thanks-copy {
    grid-column: 2;
  }
  .sx-screen--thanks h1 {
    margin: 0 0 8px;
  }
  .sx-screen--thanks .sx-muted {
    margin: 0;
    max-width: 52ch;
  }
  .sx-screen--thanks .sx-actions {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 4px;
  }
  .sx-screen--thanks .sx-share {
    grid-column: 1 / -1;
    text-align: left;
  }
  .sx-screen--thanks .sx-share div {
    justify-content: flex-start;
  }
}

@media (min-width: 1100px) {
  .sx-main {
    max-width: 1180px;
    padding: 48px 48px 64px;
  }
  .sx-top-inner {
    max-width: 1180px;
  }
  .sx-panel-wrap,
  .sx-progress,
  .sx-hero,
  .sx-trust,
  .sx-screen--center {
    max-width: 1000px;
  }
  .sx-intro {
    max-width: 1100px;
  }
}
.sx-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #E5EAF1;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  user-select: none;
}
.sx-option:hover {
  border-color: #C9D3E2;
}
.sx-option:has(input:checked) {
  border-color: var(--primary);
  background: #EEF3FA;
  box-shadow: inset 0 0 0 1px rgba(21,44,82,.12);
}
.sx-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sx-option__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #C5CEDA;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: background .15s, border-color .15s;
}
.sx-option__mark--check { border-radius: 7px; }
.sx-option:has(input:checked) .sx-option__mark {
  background: var(--primary);
  border-color: var(--primary);
}
.sx-option:has(input:checked) .sx-option__mark::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -1px;
}
.sx-option__label {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}

.sx-rating {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 8px 0 10px;
}
.sx-rating__btn {
  min-height: 56px;
  border-radius: 14px;
  border: 1.5px solid #E5EAF1;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  transition: background .15s, border-color .15s, color .15s;
}
.sx-rating__btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sx-rating__btn:has(input:checked) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.sx-rating-edge {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.sx-rating-edge--end { text-align: right; }

.sx-textarea, .sx-input {
  width: 100%;
  border: 1.5px solid #E5EAF1;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  font-size: 15px;
  min-height: 52px;
}
.sx-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.sx-textarea:focus, .sx-input:focus {
  outline: none;
  border-color: rgba(21,44,82,.4);
  box-shadow: 0 0 0 4px rgba(21,44,82,.08);
}
.sx-counter {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.sx-footer-nav [hidden] {
  display: none !important;
}
.sx-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FEF2F2;
  color: #9B1C1C;
  font-size: 13px;
}
.sx-check {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ECFDF8;
  color: #0D9488;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  border: 1px solid #CCFBF1;
}
.sx-muted { color: var(--muted); font-size: 15px; line-height: 1.6; }
.sx-share {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.sx-share p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.sx-share div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.sx-share a, .sx-share button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-soft);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.sx-privacy-list {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
