/* ================= Base Typography ================= */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background-color: #f8f9fb;
  color: #1f2937;
}
/* ================= Layout Spacing System ================= */

/* A consistent content width for readability */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Default section spacing */
section {
  padding: 56px 0;
}

/* If you use .section class already, keep it consistent */
.section {
  padding: 28px 0;
}

/* Alternate sections should not add extra spacing by themselves */
.section.alt {
  padding: 28px 0;
}

/* Headings and text rhythm */
h1 {
  margin: 0 0 12px;
  line-height: 1.15;
}

h2 {
  margin: 0 0 14px;
  line-height: 1.2;
}

h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

p {
  margin: 0 0 14px;
}

ul, ol {
  margin: 0 0 14px 18px;
}

/* Remove “mystery gaps” when elements stack */
section > :last-child {
  margin-bottom: 0;
}


/* ===== Global reset (prevents page-to-page drift) ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; }

body { padding-top: 84px; }
body.has-hero { padding-top: 0; }
/* Shared helpers */
.hidden { display: none; }

/* Auth dropdown */
.auth-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#auth-icon {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
  line-height: 1;
  font-weight: 600;
}

#auth-icon:hover {
  background: rgba(255,255,255,0.12);
}

.auth-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  padding: 8px;
  z-index: 9999;
}

.auth-dropdown a,
.auth-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.auth-dropdown a:hover,
.auth-dropdown button:hover {
  background: rgba(15, 23, 42, 0.06);
  text-decoration: none;
}
/* Footer */
footer {
  background: #07073a;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* ================= My Account Modal ================= */

.al-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
}

.al-modal-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-modal {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.al-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}

.al-modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.al-modal-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
}

.al-modal-close:hover {
  background: #f3f3f3;
}

.al-modal-body {
  padding: 18px;
}

.al-account-loading {
  font-size: 14px;
  color: #555;
}
/* Account modal content */
.al-account-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.al-account-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 12px;
}

.al-account-label {
  font-size: 13px;
  color: #666;
}

.al-account-value {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.al-account-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #777;
  font-weight: 400;
}

.al-account-error {
  padding: 12px;
  border: 1px solid #f3c1c1;
  background: #fff6f6;
  border-radius: 12px;
}

/* ===== Shared Header ===== */

header {
  background: linear-gradient(135deg, #0b0b5a 0%, #0e0e6a 50%, #07073a 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: -0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.logo:hover { opacity: 0.95; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a,
#auth-icon {
  color: white;
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links a:hover,
#auth-icon:hover {
  opacity: 0.85;
}

/* Auth dropdown */

.auth-wrapper { position: relative; }

.auth-dropdown {
  position: absolute;
  top: 36px;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 170px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  z-index: 2000;
}

.auth-dropdown a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #0b0b5a;
  font-weight: 600;
}

.auth-dropdown a:hover {
  background: #f6f7ff;
}

.hidden {
  display: none;
}

/* Prevent content hiding behind fixed header */
body {
  padding-top: 90px;
}

.al-usage-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
  margin-top: 6px;
}

.al-usage-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
}

.al-usage-bar-text {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 6px;
}

/* ===== Shared layout (site-wide) ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b0b5a 0%, #0e0e6a 50%, #07073a 100%);
  color: white;
  padding: 100px 0 44px;
  text-align: center;
  overflow: hidden;
}

.hero .mini{
color:#E6EAF2;
font-weight:500;
line-height:1.6;
opacity:0.9;
margin-top:8px;
}

/* Sections */
section { scroll-margin-top: 90px; }
.section { padding: 70px 0; }
.section.alt { background: #dfe6ee; }

/* CTA buttons */
.cta-button {
  display: inline-block;
  background: white;
  color: #4f6bff;
  padding: 14px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 107, 255, 0.35);
  opacity: 0.98;
}

/* Force consistent header typography site-wide */
#site-header, #site-header * {
  font-family: inherit;
}

#site-header .logo, 
#site-header .logo * {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: 0;
}

/* ===== Force consistent header typography ===== */
#site-header .logo-text {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: 0;
}

#site-header .logo {
  text-decoration: none;
}

/* ===== Header layout lock (consistent across pages) ===== */
#site-header header {
  height: 84px;                 /* match your fixed header height */
  display: flex;
  align-items: center;          /* vertical centering */
}

#site-header header nav.container {
  height: 84px;
  display: flex;
  align-items: center;          /* vertical centering */
  justify-content: space-between;
}

/* Logo alignment */
#site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;               /* prevents different font baselines shifting */
}

/* Nav link alignment */
#site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-header .nav-links a {
  line-height: 1;               /* prevents vertical drift */
}

/* Make header full-width even though it uses .container */
#site-header nav.container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 20px; /* adjust to taste: 20–36px */
}

/* ===== Header should be full-width (override .container) ===== */
#site-header nav.container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 20px !important;
  padding-right: 28px !important;
}

/* ===== Lock header typography so it cannot differ per page ===== */
#site-header .nav-links a,
#site-header .logo-text {
  font-family: Georgia, "Times New Roman", Times, serif !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* FORCE tighter spacing (override any earlier rules) */
.section,
.section.alt {
  padding: 24px 0 !important;
}

.section h2,
.section h3 {
  margin-top: 0 !important;
}
.section p:last-child,
.section ul:last-child,
.section ol:last-child {
  margin-bottom: 0 !important;
}

/* Improve content density & hierarchy */

.section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.section h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.section p {
  margin-bottom: 12px;
}

.section ul {
  margin-bottom: 12px;
}

body {
  letter-spacing: -0.2px;
}

h1, h2 {
  letter-spacing: -0.4px;
}

.kicker{
  display:inline-block;
  padding:8px 18px;
  border-radius:999px;
  background:rgba(255,255,255,0.12);
  backdrop-filter:blur(4px);
  font-weight:500;
}



























