/* Liberia House of Representatives — Under Construction styles */
/* Mobile-first, accessible, with prefers-color-scheme support */

:root{
  --brand-green: #1A7F3B; /* Liberian seal green tone */
  --brand-blue: #003F7F;  /* deep blue */
  --brand-red:  #C8102E;  /* flag red */
  --brand-gold: #C9A227;  /* accent */
  --ink: #0b132b;
  --muted: #475569; 
  --bg: #f8fafc;
  --card: #ffffff;
  --ring: rgba(26,127,59,0.35);
}

@media (prefers-color-scheme: dark){
  :root{
    --ink: #e6edf6;
    --muted: #94a3b8;
    --bg: #0b1220;
    --card: #101827;
    --ring: rgba(201,162,39,0.35);
  }
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--ink);
  background: radial-gradient(1200px 800px at 10% 0%, rgba(26,127,59,0.06), transparent 60%) no-repeat,
              radial-gradient(1000px 600px at 90% 100%, rgba(0,63,127,0.06), transparent 60%) no-repeat,
              var(--bg);
  line-height: 1.6;
}

.header{
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo img{
  width: 54px;
  height: 54px;
}

.logo .wordmark{
  display: grid;
  line-height: 1.2;
}

.wordmark .title{
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.wordmark .subtitle{
  font-size: clamp(12px, 1.7vw, 14px);
  color: var(--muted);
}

.main{
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 56px;
  display: grid;
  gap: 28px;
}

.hero{
  background: linear-gradient(135deg, rgba(26,127,59,0.06), rgba(0,63,127,0.06));
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: clamp(18px, 4vw, 30px);
  display: grid;
  gap: 18px;
}

.hero h1{
  margin: 0;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.15;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(15,23,42,0.08);
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.badge .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-gold);
  box-shadow: 0 0 0 6px var(--ring);
}

.lead{
  margin: 0;
  font-size: clamp(14px, 2.8vw, 18px);
  color: var(--muted);
}

.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn{
  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn.primary{
  background: linear-gradient(180deg, var(--brand-green), #146433);
  color: white;
  box-shadow: 0 8px 20px rgba(26,127,59,0.35);
}

.btn.secondary{
  background: var(--card);
  color: var(--ink);
  border: 1px solid rgba(15,23,42,0.1);
}

.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card{
  background: var(--card);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.card h3{
  margin: 0 0 6px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 720px){
  .grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer{
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.small{
  font-size: 12px;
  color: var(--muted);
}

.countdown{
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(15,23,42,0.15);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}