:root {
  color-scheme: light;
}

::selection {
  background: #ffe8e8;
  color: #07111f;
}

.nav-menu {
  gap: 0.25rem;
  border-radius: 0.65rem;
  background: rgba(248, 250, 252, 0.42);
  padding: 0.18rem;
  backdrop-filter: blur(14px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  border-radius: 0.45rem;
  padding: 0.58rem 0.78rem;
  color: #475569;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-link svg {
  width: 0.98rem;
  height: 0.98rem;
  color: #194071;
  opacity: 0.84;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.86);
  color: #194071;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.nav-link:hover svg {
  color: #f00003;
  opacity: 1;
}

.nav-link.is-active {
  background:
    linear-gradient(135deg, rgba(25, 64, 113, 1), rgba(16, 45, 80, 1));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(25, 64, 113, 0.24);
}

.nav-link.is-active:hover {
  background: #194071;
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-link.is-active svg {
  color: #ffffff;
  opacity: 1;
}

#site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(203, 213, 225, 0.9);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.82) 0%, rgba(25, 64, 113, 0.42) 28%, rgba(7, 17, 31, 0.9) 72%, rgba(246, 248, 251, 1) 100%),
    linear-gradient(90deg, rgba(25, 64, 113, 0.48) 0%, rgba(240, 0, 3, 0.2) 100%);
}

.math-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 76%);
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.48rem 0.72rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.signal-pill-alt {
  border-color: rgba(240, 0, 3, 0.36);
  background: rgba(240, 0, 3, 0.14);
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 0.5rem;
  padding: 0.94rem 1.25rem;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.cta-primary {
  background: #ffffff;
  color: #194071;
  box-shadow: 0 20px 58px rgba(7, 17, 31, 0.22);
}

.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-3px);
}

.cta-primary:hover {
  background: #ffe8e8;
}

.cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-dock {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(7, 17, 31, 0.26);
  backdrop-filter: blur(20px);
}

.dock-item,
.dock-action {
  min-height: 5.8rem;
  background: rgba(7, 17, 31, 0.5);
  padding: 1rem;
}

.dock-item span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dock-item strong {
  display: block;
  margin-top: 0.42rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
}

.dock-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #ffe8e8;
  font-weight: 900;
  transition: background 180ms ease;
}

.dock-action:hover {
  background: rgba(240, 0, 3, 0.22);
}

@media (min-width: 768px) {
  .hero-dock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  min-width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee span::after {
  width: 0.42rem;
  height: 0.42rem;
  margin: 0 1.5rem;
  border-radius: 999px;
  background: #f00003;
  content: "";
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-kicker {
  display: inline-flex;
  color: #194071;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.application-status {
  display: grid;
  gap: 1rem;
  align-items: center;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
}

@media (min-width: 900px) {
  .application-status {
    grid-template-columns: auto 1fr auto;
    padding: 1.15rem;
  }
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 0.5rem;
  background: #f1f5f9;
  color: #194071;
}

.status-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.status-eyebrow {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.application-status h2 {
  margin-top: 0.25rem;
  color: #07111f;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.application-status p:not(.status-eyebrow) {
  margin-top: 0.45rem;
  color: #64748b;
  line-height: 1.65;
}

.status-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.5rem;
  background: #194071;
  padding: 0.85rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  transition: background 180ms ease, transform 180ms ease;
}

.status-action:hover {
  background: #f00003;
  transform: translateY(-2px);
}

.status-action svg {
  width: 1rem;
  height: 1rem;
}

.status-open {
  border-color: rgba(22, 163, 74, 0.28);
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), #ffffff 42%);
}

.status-open .status-icon {
  background: #ecfdf5;
  color: #15803d;
}

.status-upcoming {
  border-color: rgba(25, 64, 113, 0.28);
  background: linear-gradient(135deg, rgba(25, 64, 113, 0.08), #ffffff 42%);
}

.status-upcoming .status-icon {
  background: #eaf1fb;
  color: #194071;
}

.status-review {
  border-color: rgba(217, 119, 6, 0.28);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), #ffffff 42%);
}

.status-review .status-icon {
  background: #fff7ed;
  color: #b45309;
}

.status-complete {
  border-color: rgba(25, 64, 113, 0.3);
  background: linear-gradient(135deg, rgba(25, 64, 113, 0.1), #ffffff 42%);
}

.status-complete .status-icon {
  background: #eaf1fb;
  color: #194071;
}

.status-empty {
  border-color: rgba(100, 116, 139, 0.28);
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.08), #ffffff 42%);
}

.status-empty .status-icon {
  background: #f1f5f9;
  color: #64748b;
}

.stats-shell {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .stats-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .stats-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  min-height: 10.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  padding: 1.15rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 85, 150, 0.32);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1);
}

.stat-card-primary {
  background:
    linear-gradient(135deg, rgba(240, 0, 3, 0.18), transparent 54%),
    #194071;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .stat-card-primary {
    grid-column: span 2;
  }
}

.stat-label {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-card-primary .stat-label {
  color: rgba(255, 255, 255, 0.66);
}

.stat-value {
  display: block;
  margin-top: 0.9rem;
  color: #07111f;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.stat-card-primary .stat-value {
  color: #ffffff;
}

.stat-card small {
  display: block;
  margin-top: 1rem;
  color: #64748b;
  font-weight: 700;
}

.stat-card-primary small {
  color: rgba(255, 255, 255, 0.7);
}

.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 15rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 1.35rem;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 85, 150, 0.3);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.bento-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.28rem;
}

.bento-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.5rem;
  background: #f1f5f9;
  padding: 0.62rem;
}

.bento-card h3 {
  margin-top: 1.2rem;
  color: #07111f;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
}

.bento-card p {
  margin-top: 0.78rem;
  color: #64748b;
  line-height: 1.72;
}

.mini-stat {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.9rem;
  background: #f8fafc;
}

.mini-stat span,
.mini-stat small {
  display: block;
}

.mini-stat span {
  color: #07111f;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.mini-stat small {
  margin-top: 0.25rem;
  color: #64748b;
  font-weight: 800;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1.48rem;
  width: 2px;
  background: #dbeafe;
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 1.2rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.timeline-item span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: #194071;
  color: #ffffff;
  font-weight: 900;
}

.timeline-item h3 {
  color: #07111f;
  font-size: 1.08rem;
  font-weight: 900;
}

.timeline-item p {
  margin-top: 0.45rem;
  color: #64748b;
  line-height: 1.7;
}

.document-grid {
  display: grid;
  gap: 0.8rem;
}

.document-parallax-section::before {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: rgba(25, 64, 113, 0.2);
  content: "";
}

.document-parallax-bg {
  position: absolute;
  inset: -16% 0;
  z-index: -20;
  background-image: url("https://www.matder.org.tr/wp-content/uploads/2025/11/bg-register-now-overlay.jpg");
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.document-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  color: #ffffff;
  font-weight: 800;
}

.document-row svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: #ffe8e8;
}

.rule-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.2rem;
}

.rule-card strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.rule-card p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.donation-panel {
  display: grid;
  gap: 2rem;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(240, 0, 3, 0.1), transparent 42%),
    linear-gradient(315deg, rgba(25, 64, 113, 0.1), transparent 46%),
    #ffffff;
  padding: 1.4rem;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
}

@media (min-width: 900px) {
  .donation-panel {
    grid-template-columns: minmax(0, 1fr) 28rem;
    align-items: center;
    padding: 2.3rem;
  }
}

.donation-actions {
  display: grid;
  gap: 0.8rem;
}

.donation-bank-card {
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(25, 64, 113, 0.08), transparent 52%),
    #f8fafc;
  padding: 1rem;
}

.donation-bank-card span {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donation-bank-card strong {
  display: block;
  margin-top: 0.45rem;
  color: #07111f;
  font-size: 0.98rem;
  font-weight: 900;
}

.iban-row {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.iban-row code {
  display: block;
  border-radius: 0.45rem;
  background: #ffffff;
  padding: 0.78rem;
  color: #194071;
  font: 900 0.95rem/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.iban-row button {
  border-radius: 0.45rem;
  background: #194071;
  padding: 0.72rem 0.9rem;
  color: #ffffff;
  font-weight: 900;
  transition: background 180ms ease;
}

.iban-row button:hover {
  background: #f00003;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  background: #f8fafc;
  padding: 1rem;
  color: #07111f;
  font-weight: 900;
}

.contact-line svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #194071;
}

.stats-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.4rem;
  text-align: center;
}

.stats-social span {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.stats-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(25, 64, 113, 0.14);
  border-radius: 0.5rem;
  background: #f8fbff;
  color: #194071;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.stats-social-links .ti {
  font-size: 1.12rem;
  line-height: 1;
}

.stats-social-links a:hover {
  transform: translateY(-2px);
  border-color: #194071;
  background: #194071;
  color: #ffffff;
}

.faq-stack {
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.07);
}

.faq-item {
  padding: 1.25rem 1.35rem;
}

.faq-item + .faq-item {
  border-top: 1px solid #e2e8f0;
}

.faq-item summary {
  cursor: pointer;
  color: #07111f;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  float: right;
  color: #f00003;
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin-top: 0.85rem;
  max-width: 44rem;
  color: #64748b;
  line-height: 1.7;
}

.footer-title {
  color: #07111f;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact {
  display: grid;
  gap: 0.7rem;
}

.footer-contact a,
.footer-links a,
.footer-bottom-link,
.footer-modal-trigger {
  color: #475569;
  font: inherit;
  font-weight: 800;
  transition: color 180ms ease;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  color: #194071;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #dbe3ee;
  border-radius: 0.55rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-social .ti {
  color: #194071;
  width: 1.08rem;
  font-size: 1.2rem;
  line-height: 1;
  transition: color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: #194071;
  background: #194071;
  box-shadow: 0 16px 34px rgba(25, 64, 113, 0.18);
}

.footer-social a:hover .ti {
  color: #ffffff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 0.68rem 0.75rem;
  line-height: 1.2;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  border-color: rgba(240, 0, 3, 0.28);
  background: #fff7f7;
  color: #f00003;
  transform: translateY(-2px);
}

.footer-links svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: #194071;
  transition: color 180ms ease;
}

.footer-links a:hover svg {
  color: #f00003;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  color: #194071;
  font-size: 0.9rem;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.footer-action:hover {
  border-color: #194071;
  background: #f8fafc;
}

.footer-action-primary {
  border-color: #194071;
  background: #194071;
  color: #ffffff;
}

.footer-action-primary:hover {
  border-color: #f00003;
  background: #f00003;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  background:
    linear-gradient(90deg, rgba(25, 64, 113, 0.05), transparent 48%),
    #f8fafc;
}

.footer-copy {
  color: #334155;
  font-weight: 900;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.55rem;
  color: #64748b;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #ffffff;
  padding: 0.55rem 0.75rem 0.55rem 0.9rem;
  color: #64748b;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #194071;
  padding: 0.35rem 0.65rem;
  color: #ffffff;
  font-weight: 900;
  transition: background 180ms ease;
}

.footer-credit a:hover {
  background: #f00003;
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-bottom-link:hover,
.footer-modal-trigger:hover {
  color: #194071;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.68);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 64rem);
  max-height: min(86vh, 48rem);
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(7, 17, 31, 0.28);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.2rem 1.35rem;
}

.modal-header h2 {
  color: #07111f;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: #f1f5f9;
  color: #194071;
  transition: background 180ms ease, color 180ms ease;
}

.modal-close:hover {
  background: #ffe8e8;
  color: #f00003;
}

.modal-close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.modal-body {
  max-height: calc(min(86vh, 48rem) - 5rem);
  overflow: auto;
  padding: 1.35rem;
}

.modal-body p {
  color: #475569;
  line-height: 1.75;
}

.modal-body p + p,
.modal-body ol + p,
.modal-body p + ol,
.modal-body h6 + p,
.modal-body h6 + ol {
  margin-top: 1rem;
}

.modal-body h6 {
  margin-top: 1.25rem;
  color: #194071;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.45;
}

.modal-body h6:first-child {
  margin-top: 0;
}

.modal-body .text-center {
  text-align: center;
}

.modal-body ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.modal-body li {
  color: #475569;
  line-height: 1.72;
}

.modal-body li + li {
  margin-top: 0.72rem;
}

.modal-body a {
  color: #194071;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}

.modal-table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.86rem;
}

.modal-table th {
  background: #f1f5f9;
  color: #194071;
  font-weight: 900;
  text-align: left;
}

.modal-table th,
.modal-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.85rem;
  vertical-align: top;
  line-height: 1.55;
}

.modal-table tr:last-child td {
  border-bottom: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
