:root{
  --purple: #702277;
  --purple-dark: #4f1554;
  --gold: #d8b25c;

  /* Light theme base */
  --page-bg: #ffffff;
  --text: #222222;

  /* Alternating section backgrounds */
  --section-a: #ffffff;
  --section-b: #f7f1fa; /* very light lavender tint */

  /* Card styling */
  --card-bg: #ffffff;
  --card-border: rgba(112,34,119,0.18);

  --header-h: 84px;
}

/* Base reset */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  padding-top: var(--header-h); /* fixed header offset */
}

/* Layout container */
.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ======================
   HEADER (white like DB)
   ====================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 2px solid var(--purple);
}

.header-inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name{
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Ensure brand name + subtitle stack vertically */
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong{
  display: block;
}

.brand-sub{
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}


.site-nav{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a{
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  opacity: 0.9;
}

.site-nav a:hover{
  color: var(--purple);
  opacity: 1;
  text-decoration: underline;
}

/* ======================
   SECTIONS + CARDS
   ====================== */
.section{
  padding: 28px 0;
}

/* Alternating section background bands */
main > .section:nth-of-type(odd){
  background: var(--section-a);
}
main > .section:nth-of-type(even){
  background: var(--section-b);
}

/* Card blocks used throughout your HTML */
.card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* Spacing helpers used in your HTML */
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }
.mt-12{ margin-top: 12px; }

.lead{
  font-size: 1.08rem;
}

/* Lists used in your instructions */
.steps{
  padding-left: 1.25rem;
}
.steps li{
  margin: 8px 0;
}

/* ======================
   LINKS + BUTTONS
   ====================== */
a{
  color: var(--purple);
}
a:visited{
  color: var(--purple-dark);
}
a:hover{
  color: var(--purple-dark);
}

.btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
}

.btn-primary{
  background: var(--purple);
  color: #ffffff !important;
  border-color: var(--purple);
}

.btn-primary:hover{
  background: var(--purple-dark);
  border-color: var(--purple-dark);
}

.btn-outline{
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline:hover{
  background: rgba(112,34,119,0.08);
}

/* ======================
   FOOTER (purple, white text)
   ====================== */
.site-footer{
  background: var(--purple);
  color: #ffffff;
  border-top: 2px solid rgba(216,178,92,0.25);
  padding: 22px 0 14px;
}

.footer-inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-title{ font-weight: 900; }
.footer-sub{ opacity: 0.92; font-size: 0.95rem; }

.site-footer h4{
  margin: 0 0 8px 0;
  color: #ffffff;
}

.site-footer p{
  margin: 0;
  color: #ffffff;
}

.footer-links{
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li{
  margin: 0 0 6px 0;
}

/* Force footer link colors (including visited) */
.site-footer a:link,
.site-footer a:visited{
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.95;
}

.site-footer a:hover,
.site-footer a:active{
  color: #ffffff !important;
  text-decoration: underline;
  opacity: 1;
}

.footer-bottom{
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(216,178,92,0.25);
  color: #ffffff;
  opacity: 0.95;
}

/* ======================
   OPTIONAL: anchor offset (so jumps don’t hide under header)
   ====================== */
section{ scroll-margin-top: calc(var(--header-h) + 14px); }
