/* ===== StakeRefund — Dark theme, starry sky, liquid blocks ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #e4e4ea;
  background: #050508;
  position: relative;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,0.8);
  animation: starTwinkle ease-in-out infinite;
  transform: translate(-50%, -50%);
}
.star--0 { opacity: 0.85; }
.star--1 { opacity: 0.7; }
.star--2 { opacity: 0.5; }
@keyframes starTwinkle {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}
.starfield .star--1 { animation: starTwinkleSlow 4s ease-in-out infinite, starFloat 80s ease-in-out infinite; }
.starfield .star--2 { animation: starTwinkleGlow 5s ease-in-out infinite, starFloat 120s ease-in-out infinite reverse; }
@keyframes starTwinkleSlow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}
@keyframes starTwinkleGlow {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 4px rgba(255,255,255,0.5); }
  50% { opacity: 0.95; box-shadow: 0 0 12px rgba(255,255,255,0.9); }
}
@keyframes starFloat {
  0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
  25% { transform: translate(-50%, -50%) translate(2px, -1px); }
  50% { transform: translate(-50%, -50%) translate(-1px, 2px); }
  75% { transform: translate(-50%, -50%) translate(1px, 1px); }
}

:root {
  --accent: #d4a853;
  --accent-hover: #e8bc6a;
  --gold: #d4a853;
  --text: #f0f0f5;
  --text-soft: #a8a8b8;
  --bg: rgba(12, 12, 18, 0.6);
  --bg-card: rgba(18, 18, 26, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header,
main { position: relative; z-index: 1; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(8, 8, 12, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
@media (max-width: 600px) {
  .site-header { padding: 12px 16px; }
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.site-header__logo:hover { color: var(--accent); }
.site-header__logo-icon { display: block; flex-shrink: 0; border-radius: 8px; filter: brightness(1.1); }
.site-header__right { display: flex; align-items: center; gap: 12px; }
.site-header__greeting { font-weight: 700; font-size: 0.95rem; color: var(--text-soft); }
.site-header__btn {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: none;
}
.site-header__btn--main {
  background: var(--accent);
  color: #0a0a0f;
}
.site-header__btn--main:hover { background: var(--accent-hover); color: #0a0a0f; }
.site-header__btn--outline {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
}
.site-header__btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.banner {
  padding: 120px 24px 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(212, 168, 83, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.banner__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .banner__grid { grid-template-columns: 1fr; text-align: center; max-width: 1100px; }
  .banner { min-height: auto; padding: 100px 24px 60px; }
}
.banner__content { max-width: 560px; min-width: 0; }
@media (max-width: 900px) { .banner__content { max-width: 100%; margin: 0 auto; } }
.banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.banner__badge-icon { width: 20px; height: 20px; flex-shrink: 0; }
.banner__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  .banner__title { font-size: 6rem; }
}
.banner__text {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin: 0 0 32px;
  line-height: 1.65;
  max-width: 32em;
}
.banner__button {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 40px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #0a0a0f;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.banner__button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(212, 168, 83, 0.4);
}
.banner__button:active { transform: scale(0.98); }
.banner__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.banner__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 168, 83, 0.15);
}
.banner__card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  color: var(--accent);
  opacity: 0.4;
}
@media (max-width: 900px) { .banner__card { max-width: 340px; margin: 0 auto; padding: 40px 28px; } }
.banner__card-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.banner__card-amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.banner__card-currency { font-size: 0.55em; opacity: 0.9; }
.banner__card-caption {
  display: block;
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-top: 12px;
  font-weight: 600;
}

.calculator {
  padding: 72px 24px 88px;
  position: relative;
}
.calculator__pattern { display: none; }
.calculator__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.calculator__badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.calculator__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}
.calculator__title-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex-shrink: 0;
}
.calculator__lead {
  color: var(--text-soft);
  margin: 0 0 32px;
  font-size: 1.05rem;
  text-align: center;
}
.calculator__box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.04);
  transition: box-shadow 0.3s var(--ease);
}
.calculator__box:hover {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 168, 83, 0.1);
}
.calculator__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  justify-content: center;
}
.calculator__chip {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.calculator__chip:hover {
  border-color: rgba(212, 168, 83, 0.4);
  color: var(--accent);
  background: rgba(212, 168, 83, 0.08);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.calculator__chip.is-active {
  background: rgba(212, 168, 83, 0.2);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(212, 168, 83, 0.25);
}
.calculator__result {
  text-align: center;
  margin-bottom: 22px;
  padding: 28px 24px;
  background: rgba(212, 168, 83, 0.08);
  border-radius: 24px;
  border: 1px solid rgba(212, 168, 83, 0.2);
  transition: transform 0.2s var(--ease);
}
.calculator__result:hover { transform: scale(1.01); }
.calculator__result-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.calculator__result-sum {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.calculator__result-sum.bump {
  animation: calcBump 0.4s var(--ease);
}
@keyframes calcBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.calculator__result-caption {
  display: block;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-top: 6px;
}
.calculator__progress {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.calculator__progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 999px;
  transition: width 0.6s var(--ease);
}

.steps {
  padding: 80px 24px 88px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.steps__inner { max-width: 1000px; margin: 0 auto; }
.steps__badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}
.steps__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 14px;
  text-align: center;
  color: var(--text);
}
.steps__lead {
  text-align: center;
  color: var(--text-soft);
  margin: 0 auto 44px;
  max-width: 500px;
  font-size: 1.1rem;
  line-height: 1.55;
}
.steps__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .steps__row { grid-template-columns: 1fr; }
  .steps { padding: 64px 24px 72px; }
}
.steps__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}
.steps__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.2);
}
.steps__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.steps__icon svg { width: 100%; height: 100%; }
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.25);
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.steps__card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.steps__card-text {
  font-size: 1rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

.facts {
  padding: 72px 24px 80px;
  position: relative;
}
.facts--dark {
  background: rgba(8, 8, 14, 0.7);
  color: #f0f0f5;
  padding: 80px 24px 88px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.facts--dark .facts__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 168, 83, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.facts__inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.facts__badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}
.facts__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 40px;
  color: var(--text);
  text-align: center;
}
.facts__title-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex-shrink: 0;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.facts__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.facts__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.2);
}
.facts__item-icon {
  display: block;
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 16px;
}
.facts__item-icon svg { width: 100%; height: 100%; }
.facts__item p { margin: 0; font-size: 1rem; color: var(--text-soft); line-height: 1.6; }

.summary {
  padding: 80px 24px 88px;
  position: relative;
}
.summary__texture {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 168, 83, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.summary__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.summary__badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}
.summary__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
  text-align: center;
}
.summary__title-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex-shrink: 0;
}
.summary__lead {
  text-align: center;
  color: var(--text-soft);
  margin: 0 0 32px;
  font-size: 1.05rem;
  line-height: 1.55;
}
.summary__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}
.summary__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.summary__tag-icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.summary__block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.04);
}
.summary__block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text);
}
.summary__block-icon { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
.summary__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.summary__table tr { border-bottom: 1px solid var(--border); }
.summary__table td {
  padding: 14px 0;
  font-size: 1rem;
}
.summary__table td:first-child { color: var(--text-soft); }
.summary__table td:last-child { color: var(--text); font-weight: 600; text-align: right; }
.summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.summary__btn {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  border: none;
  display: inline-block;
}
.summary__btn--primary {
  background: var(--accent);
  color: #0a0a0f;
}
.summary__btn--primary:hover { background: var(--accent-hover); color: #0a0a0f; }
.summary__btn--secondary {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
}
.summary__btn--secondary:hover { border-color: var(--accent); color: var(--accent); }

.legal {
  padding: 80px 24px 88px;
  position: relative;
}
.legal__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.legal__inner { max-width: 1100px; margin: 0 auto; }
.legal__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.legal__badge-icon { width: 22px; height: 22px; }
.legal__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.legal__title-icon { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.legal__meta { color: var(--text-soft); font-size: 0.95rem; margin: 0 0 36px; }
.legal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
}
.legal__block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.04);
}
.legal__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text);
}
.legal__block p { margin: 0 0 16px; font-size: 1rem; color: var(--text-soft); line-height: 1.65; }
.legal__block p:last-of-type { margin-bottom: 0; }
.legal__note {
  font-size: 0.9rem;
  color: var(--text-soft);
  opacity: 0.9;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.legal__list { list-style: none; margin: 0; padding: 0; }
.legal__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.legal__list li:last-child { border-bottom: none; }
.legal__list-icon { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.legal__list-icon svg { width: 100%; height: 100%; }
.legal__list-text { font-size: 1rem; color: var(--text); }

.site-footer {
  background: rgba(5, 5, 8, 0.95);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}
.site-footer__inner { max-width: 900px; margin: 0 auto; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-bottom: 24px;
  justify-content: center;
}
.site-footer__links a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.site-footer__links a:hover { color: var(--accent); }
.site-footer__banner {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 28px;
}
.site-footer__copy p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 16px;
}
.site-footer__copy a { color: var(--accent); text-decoration: none; }
.site-footer__copy a:hover { text-decoration: underline; }
.site-footer__meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer__approval { font-size: 0.85rem; color: var(--text-soft); margin: 0 0 10px; }
.site-footer__clock { font-size: 0.9rem; color: var(--text-soft); margin: 0 0 8px; }
.site-footer__copyright { font-size: 0.85rem; color: var(--text-soft); margin: 0; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: #0e0e14;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.is-open .modal { transform: scale(1); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.modal__close:hover { color: var(--text); background: rgba(255,255,255,0.08); }
.modal__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.modal__tab {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.modal__tab:hover { border-color: rgba(212, 168, 83, 0.4); color: var(--text); }
.modal__tab--active {
  background: rgba(212, 168, 83, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.modal__panel { display: block; }
.modal__panel--hidden { display: none; }
.modal__heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text);
}
.modal__form label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: var(--text-soft); }
.modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: var(--text-soft); }
.modal__input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}
.modal__input:focus {
  outline: none;
  border-color: var(--accent);
}
.modal__input::placeholder { color: var(--text-soft); opacity: 0.7; }
.btn--modal {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.btn--modal:hover { background: var(--accent-hover); }
.modal__message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}
.modal__message.is-visible { display: block; }
.modal__message--success { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.modal__message--error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
