:root {
  color-scheme: dark;
  --navy-950: #050b22;
  --navy-900: #08143b;
  --navy-800: #10255d;
  --gold: #ffb526;
  --gold-light: #ffd76a;
  --cream: #fff8e8;
  --ink: #0b173d;
  --text: #f8f9ff;
  --muted: #cbd5f0;
  --card: rgba(8, 20, 59, 0.88);
  --border: rgba(255, 181, 38, 0.72);
  --shadow: 0 18px 48px rgba(0, 6, 27, 0.34);
}

* { box-sizing: border-box; }
html { background: var(--navy-950); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 15% 12%, rgba(58, 135, 255, 0.46), transparent 28rem),
    radial-gradient(circle at 88% 28%, rgba(29, 101, 224, 0.35), transparent 25rem),
    linear-gradient(180deg, #0a2d70 0%, #0a1a48 42%, #05091d 100%);
  overflow-x: hidden;
}

body::before, body::after {
  position: fixed;
  z-index: 0;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.22;
}
body::before {
  width: 26rem; height: 9rem; top: 15rem; left: -7rem;
  background: radial-gradient(ellipse, white 0 18%, transparent 66%);
}
body::after {
  width: 30rem; height: 10rem; right: -10rem; bottom: 8rem;
  background: radial-gradient(ellipse, #cfe9ff 0 16%, transparent 66%);
}

a { color: var(--gold-light); }
a:hover { color: white; }
a:focus-visible { outline: 3px solid white; outline-offset: 3px; border-radius: 6px; }

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  padding: calc(24px + env(safe-area-inset-top)) 0 calc(36px + env(safe-area-inset-bottom));
}

.brand { display: flex; justify-content: center; margin: 2px auto 18px; }
.brand img {
  display: block;
  width: min(76vw, 390px);
  height: auto;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.36));
}

.hero {
  position: relative;
  padding: 28px 26px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17, 46, 112, 0.94), rgba(5, 14, 48, 0.95));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.12);
}
.hero--with-maya { min-height: 250px; padding-right: min(34%, 250px); text-align: left; }
.maya {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: min(32%, 220px);
  max-height: 245px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.32));
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; }
h1 { margin: 0; font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -0.035em; }
h2 { margin: 0; font-size: 1.24rem; }
h3 { margin: 0; font-size: 1.05rem; }
.lead { max-width: 580px; margin: 10px auto 0; color: var(--muted); font-size: 1.02rem; }
.hero--with-maya .lead { margin-left: 0; }
.updated {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 11px;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 215, 106, 0.45);
  border-radius: 999px;
  background: rgba(2, 9, 32, 0.5);
}

.content { display: grid; gap: 14px; margin-top: 18px; }
.card {
  padding: 22px;
  border: 1px solid rgba(115, 154, 255, 0.28);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(0, 5, 25, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.card h2, .card h3 { color: var(--cream); }
.card h2::before {
  display: inline-block;
  width: 8px; height: 8px; margin-right: 9px;
  content: ""; border-radius: 2px; background: var(--gold);
  transform: rotate(12deg) translateY(-1px);
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card strong { color: white; }
ul { padding-left: 1.25rem; }
li { margin: 0.55rem 0; color: var(--muted); }
li::marker { color: var(--gold); }

.faq { display: grid; gap: 12px; margin-top: 18px; }
.faq details {
  border: 1px solid rgba(115, 154, 255, 0.25);
  border-radius: 16px;
  background: rgba(5, 13, 46, 0.64);
  overflow: hidden;
}
.faq summary {
  min-height: 54px;
  padding: 15px 44px 15px 17px;
  color: white;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  position: absolute; right: 17px; top: 14px;
  color: var(--gold); content: "+"; font-size: 1.35rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 17px 17px; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.link-card {
  min-height: 132px;
  padding: 20px;
  color: white;
  text-decoration: none;
  border: 2px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(25, 68, 158, 0.96), rgba(7, 20, 68, 0.96));
  box-shadow: var(--shadow);
}
.link-card span { display: block; color: var(--muted); margin-top: 7px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--gold-light);
  border-radius: 15px;
  background: linear-gradient(180deg, #ffd34f, var(--gold));
  box-shadow: 0 8px 18px rgba(255, 164, 20, 0.18);
}
.button:hover { color: var(--ink); filter: brightness(1.07); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer {
  padding: 22px 10px 0;
  color: rgba(221, 229, 250, 0.66);
  font-size: 0.78rem;
  text-align: center;
}
.footer a { margin: 0 6px; }

@media (max-width: 600px) {
  .site-shell { width: min(100% - 24px, 820px); }
  .hero { padding: 23px 19px; border-radius: 23px; }
  .hero--with-maya { min-height: 225px; padding-right: 35%; }
  .maya { right: -2px; width: 38%; max-height: 220px; }
  .card { padding: 19px 17px; }
  .link-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .hero--with-maya { min-height: 300px; padding-right: 18px; padding-bottom: 150px; text-align: center; }
  .hero--with-maya .lead { margin-left: auto; }
  .maya { right: 50%; width: 145px; max-height: 155px; transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
