:root {
  --navy: #0e1c37;
  --navy-2: #14264a;
  --cream: #f1e6d0;
  --orange: #d2672f;
  --orange-hi: #e47a40;
  --purple: #6b4b7d;
  --muted: #b9bfd3;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}
main, footer { position: relative; z-index: 1; }
main { flex: 1; }

.hero {
  max-width: 820px; margin: 0 auto; padding: 32px 24px 56px; text-align: center;
  animation: rise .8s ease both;
}
.logo { width: min(340px, 78%); height: auto; margin-bottom: 40px; border-radius: 4px; }
h1 {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.2; margin-bottom: 28px;
}
h1 span { color: var(--orange); }
.lead { font-size: 1.15rem; margin-bottom: 18px; }
.lead strong { color: #fff; font-weight: 600; }
.sub { color: var(--muted); margin-bottom: 36px; }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font: 600 1rem 'Inter', sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-hi));
  padding: 14px 34px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(210, 103, 47, .35);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(210, 103, 47, .5); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

.hero { padding-bottom: 96px; }
.modal {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px 16px;
  background: rgba(8, 13, 32, .8); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s;
}
.modal[hidden] { display: none; }
.modal.open { opacity: 1; }
.modal .card { position: relative; width: 100%; margin: auto; background: var(--navy-2); transform: translateY(16px) scale(.98); transition: transform .25s; }
.modal.open .card { transform: none; }
.close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: color .2s, background .2s;
}
.close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
body.modal-open { overflow: hidden; }
.card {
  max-width: 560px; margin: 0 auto; padding: 40px 36px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(241, 230, 208, .12);
  border-top: 3px solid var(--purple);
  border-radius: 18px; backdrop-filter: blur(10px);
}
h2 { font-family: 'Outfit', sans-serif; font-size: 1.7rem; margin-bottom: 6px; }
.hint { color: var(--muted); margin-bottom: 26px; font-size: .95rem; }
.field { margin-bottom: 18px; }
label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
input, textarea {
  width: 100%; font: inherit; color: var(--cream);
  background: rgba(16, 27, 61, .7);
  border: 1px solid rgba(241, 230, 208, .18);
  border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s;
}
input:focus, textarea:focus { border-color: var(--orange); outline: none; background: var(--navy-2); }
textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.g-recaptcha { margin: 6px 0 22px; max-width: 100%; overflow: hidden; }
form .btn { width: 100%; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100vw - 32px);
  padding: 14px 16px; border-radius: 12px; font-size: .95rem; line-height: 1.4; color: #fff;
  background: var(--navy-2); border: 1px solid rgba(241, 230, 208, .18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  opacity: 0; transform: translate(-50%, 20px); transition: opacity .25s, transform .25s;
}
.toast[hidden] { display: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 700; font-size: .85rem; }
.toast.success { border-color: #3fae6e; }
.toast.success .toast-icon { background: #3fae6e; }
.toast.error { border-color: #e0614e; }
.toast.error .toast-icon { background: #e0614e; }
.toast-close { flex: none; border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.toast-close:hover { color: #fff; }

footer { text-align: center; padding: 28px 24px; color: var(--muted); font-size: .85rem; border-top: 1px solid rgba(241, 230, 208, .08); }
footer a, .consent a, .legal a { color: var(--orange-hi); text-decoration: none; }
footer a:hover, .consent a:hover, .legal a:hover { text-decoration: underline; }
.consent { font-size: .8rem; color: var(--muted); margin-bottom: 16px; text-align: center; }

.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 72px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 24px 0 6px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; color: #fff; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .updated { font-size: .85rem; margin-bottom: 24px; }
.legal .back { font-size: .9rem; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .hero { padding-top: 16px; }
  .card { padding: 28px 20px; }
  .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } }
