/* ============ CSS Variables ============ */
:root{
  --bg: #f9f9f9;
  --card: #fff;
  --text: #333;
  --text-strong:#111;
  --muted:#666;
  --primary:#0070ba;
  --primary-hover:#005ea6;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --container-w: 800px;
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem; --space-6:1.5rem; --space-8:2rem; --space-12:3rem;
  --lh:1.6;
}

/* ============ Base ============ */
*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: Arial, sans-serif;
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  margin:0;
  padding: var(--space-8) var(--space-4);
}

/* ============ Layout ============ */
.container{
  max-width: var(--container-w);
  margin: auto;
  background: var(--card);
  padding: var(--space-8);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

/* A general-purpose card (for thank-you box or callouts) */
.card{
  background: var(--card);
  max-width: 600px;
  margin: auto;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}

/* ============ Typography ============ */
h1,h2{color: var(--text-strong); margin:0 0 var(--space-4)}
h1{margin-bottom: var(--space-4)}
h2{margin-top: var(--space-8)}
ul{padding-left: 1.25rem; margin:0 0 var(--space-4)}
p{margin: .75rem 0}

/* Small helpers */
.muted{color: var(--muted)}
.center{text-align:center}

/* ============ Badges / Footer ============ */
.badge{
  display:inline-block;
  margin-top: var(--space-1);
  padding: .15rem .5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: .85rem;
  color: #444;
  background: #fafafa;
}
.footer{
  margin-top: var(--space-12);
  font-style: italic;
  color: var(--muted);
}

/* ============ Buttons ============ */
.btn{
  display:inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color:#fff;
  border-radius: 8px;
  text-decoration:none;
  font-weight:700;
  transition: background .25s ease;
  border:0;
}
.btn:hover{background: var(--primary-hover)}

/* ============ Legacy class support (compat mode) ============ */
/* Maps existing per-page classes to shared look without editing HTML */
.thank-you-box{ /* from thankyou.html */
  background: var(--card);
  max-width: 600px;
  margin:auto;
  padding:40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align:center;
}
