/* Custom Twig theme overrides */
:root {
  --bg-1: #070708;
  --bg-2: #141619;
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.08);
  --muted: rgba(255,255,255,0.78);
  --muted-2: rgba(255,255,255,0.42);
  --accent: #f8fafc;
}

html {
  font-size: 100%;
  box-sizing: border-box;
  height: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 20vw 10vh, rgba(255,255,255,0.08), transparent 14%), radial-gradient(circle at 80vw 15vh, rgba(255,255,255,0.05), transparent 12%), linear-gradient(180deg, #070708 0%, #141619 100%);
  background-attachment: fixed;
  color: #f8fafc;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50vw 20vh, rgba(255,255,255,0.08), transparent 23%), radial-gradient(circle at 15vw 80vh, rgba(241,245,249,0.05), transparent 18%);
}

.page-decorations {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-decorations:before {
  content: '';
  position: fixed;
  border-radius: 50%;
  opacity: 0.14;
  width: 22vw;
  height: 22vw;
  max-width: 420px;
  max-height: 420px;
  top: 8vh;
  left: -5vw;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(209,213,219,0.05));
  filter: blur(28px);
}

.page-decorations:after {
  content: '';
  position: fixed;
  border-radius: 50%;
  opacity: 0.14;
  width: 18vw;
  height: 18vw;
  max-width: 360px;
  max-height: 360px;
  bottom: 8vh;
  right: -4vw;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(148,163,184,0.05));
  filter: blur(28px);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.nav-shell {
  position: relative;
  z-index: 2;
}

.navbar {
  background: transparent;
  border: none;
  padding: 0 0 0.75rem;
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 1.5s cubic-bezier(.2,.8,.2,1), transform 1.5s cubic-bezier(.2,.8,.2,1);
}

body.loaded .navbar {
  opacity: 1;
  transform: translateY(0);
}

.navbar-glass > .container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 72px rgba(0,0,0,0.3);
  backdrop-filter: blur(22px);
  padding: 0.5rem 0.95rem;
  border-radius: 32px;
  width: auto;
  max-width: calc(100% - 2rem);
  margin: 0 auto;
  flex-wrap: wrap;
}

.navbar .navbar-brand {
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  min-height: 42px;
}

.navbar .brand-mark {
  display: flex;
  align-items: center;
  color: #f8fafcea;
}

.navbar .brand-name {
  line-height: 1;
  display: inline-block;
}

.navbar .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-left: 0;
}

.navbar .navbar-nav li a {
  color: rgba(248,250,252,0.88);
  padding: 0 0.95rem;
  border-radius: 14px;
  transition: color .3s ease, background .3s ease;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.navbar .navbar-nav li a:hover,
.navbar .navbar-nav li a:focus {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-decoration: none;
}

.navbar .nav-btn {
  color: #ffffff;
  padding: 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
}

.navbar .nav-btn--secondary {
  background: rgba(255,255,255,0.08);
  padding: 0 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
}

.navbar .navbar-toggle {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  width: 46px;
  height: 46px;
  padding: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
}

.navbar .navbar-toggle .icon-bar {
  background-color: #fff;
}

.site-main {
  padding: 1.5rem 0 3rem;
  position: relative;
  z-index: 1;
}

.site-main .container {
  padding-top: 0;
}

.well.enhanced {
  background: rgba(7, 8, 12, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  border-radius: 28px;
  padding: 2rem;
  backdrop-filter: blur(20px);
}

.brand-hero h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-sub,
.hero-microcopy {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.helper-row {
  margin: 1.2rem 0 1.4rem;
}

.capsule {
  display: inline-flex;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.form-footer-note {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.control-label {
  color: #f8fafc;
  font-weight: 600;
  display: block;
  margin-bottom: 0.45rem;
}

.form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.form-control::placeholder {
  color: transparent;
}

.btn-primary {
  background: #ffffff;
  color: #070708;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
}

.btn-primary:hover {
  background: #f1f5f9;
  color: #070708;
}

.forgot-password,
.text-link,
.auth-footer a,
.pull-right-middle a {
  color: #f8fafc;
  text-decoration: underline;
}

.content-pair {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.content-separator {
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.hero-cards,
.purchase-cta,
.contact-icons {
  margin-top: 1rem;
}

.hero-card,
.purchase-cta__inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.purchase-cta__btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #070708;
  font-weight: 700;
}

.contact-icon {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0;
  color: #fff;
}

.footer.footer-glass {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
  background: transparent;
  color: rgba(255,255,255,0.75);
}

.footer-meta {
  opacity: 0.8;
}

.form-control,
textarea,
select,
button {
  -webkit-appearance: none;
  appearance: none;
}

.form-control,
.btn-primary {
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
}

@media (max-width: 991px) {
  .content-pair {
    flex-direction: column;
  }

  .content-separator {
    display: none;
  }

  .navbar .navbar-toggle {
    display: flex;
  }
}
