:root{
  /* Light page defaults */
  --page-bg: #ffffff;
  --page-surface: #f6f7fb;
  --page-border: rgba(0,0,0,.10);
  --page-text: rgba(0,0,0,.88);
  --page-muted: rgba(0,0,0,.62);

  /* Brand accents (adjust to match USMG) */
  --primary: #D64541;      /* Service Red */
  --secondary: #2B7DE9;    /* Signal Blue */
  --success: #22C55E;

  --radius: 18px;
  --max: 1180px;
  --shadow: 0 12px 28px rgba(0,0,0,.10);

  --font-body: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

@font-face {
  font-family: "Inter";
  src: url("https://assets.usmilitarygamers.com/static/brand/fonts/inter/InterVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("https://assets.usmilitarygamers.com/static/brand/fonts/oswald/OswaldVariable.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--page-text);
}

/* Your main wrapper */
.page{
  min-height: 100vh;
}

.section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 16px 0;
}

.section-head{
  margin-bottom: 18px;
}
.section-head h2{
  margin: 0 0 8px;
  font-family: var(--font-display);
  letter-spacing: .4px;
}
/*
.section-head p{
  margin: 0;
  color: var(--page-muted);
  max-width: 78ch;
}
*/
.section-head p{ color: var(--page-muted); }
/*
.hero{
  padding: 38px 16px 0;
}
*/
.hero{
  padding: 38px 16px 0;
  border-radius: var(--radius);
  background:
    radial-gradient(900px 400px at 10% 10%, rgba(214,69,65,.10), transparent 60%),
    radial-gradient(900px 400px at 90% 10%, rgba(43,125,233,.10), transparent 60%);
}

.hero-copy p{ color: var(--page-muted); }

.hero-inner{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  align-items: start;
}
.hero-copy h1{
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: .6px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}
/*
.hero-copy p{
  margin: 0 0 18px;
  color: var(--page-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
*/

.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 14px; }

/* Buttons (page) */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--page-border);
  background: #ffffff;
  color: var(--page-text);
  text-decoration: none;
  font-weight: 600;
}

.btn:hover{
  background: #f3f4f6;
}

/* Primary button */
.btn.primary{
  background: linear-gradient(135deg, rgba(214,69,65,.95), rgba(214,69,65,.78));
  border-color: rgba(214,69,65,.45);
  color: #ffffff;
}

.btn.primary:hover{
  filter: brightness(0.98);
}

.btn.small{ padding: 8px 10px; border-radius: 12px; font-size: .92rem; }

.meta{ display:flex; gap:10px; flex-wrap:wrap; }
.pill{
  border: 1px solid var(--page-border);
  background: var(--page-surface);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--page-muted);
}
.pill strong{ color: var(--page-text); font-weight: 700; }

/*
.card{
  border: 1px solid var(--page-border);
  background: var(--page-surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
*/
.card{
  border: 1px solid var(--page-border);
  background: var(--page-surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card h3{ margin: 0 0 10px; font-family: var(--font-display); letter-spacing:.3px; }
/*
.note{ color: var(--page-muted); margin: 10px 0 0; line-height: 1.55; }
*/
.note{ color: var(--page-muted); }

.grid{ display:grid; gap: 14px; }
.grid.two{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.logo-preview{
  border-radius: 16px;
  border: 1px solid var(--page-border);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  min-height: 140px;
  margin-bottom: 12px;
}
.logo-preview.dark{ background: #0b1220; }
.logo-preview.light{ background: #f3f4f6; }
.logo-preview.compact{ min-height: 110px; }
.logo-preview img{ max-width: 100%; max-height: 100px; }

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

.palette{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.swatch{
  display:flex;
  gap: 12px;
  align-items:center;
  border: 1px solid var(--page-border);
  border-radius: 16px;
  padding: 12px;
}
.chip{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--page-border);
  background: #999;
}
.swatch-meta{ display:flex; flex-direction:column; gap:2px; }
.swatch-meta code{ color: var(--page-muted); }
.copy{
  margin-top: 6px;
  width: fit-content;
  border-radius: 12px;
  border: 1px solid var(--page-border);
  background: transparent;
  color: var(--page-text);
  padding: 6px 10px;
  cursor:pointer;
}
.copy:hover{ border-color: rgba(255,255,255,.22); }

.vars{ margin-top: 16px; }
pre{
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--page-border);
  background: rgba(0,0,0,.25);
  overflow:auto;
}
html[data-theme="light"] pre{ background: rgba(0,0,0,.04); }
pre code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

.type-sample{ line-height: 1.55; color: var(--page-muted); }
.type-sample.body{ font-family: var(--font-body); }
.type-sample.display{ font-family: var(--font-display); }

.type-scale > div{ padding: 10px 0; border-top: 1px solid var(--page-border); }
.type-scale > div:first-child{ border-top: 0; }
.type-scale.body > div:nth-child(1){ font-size: 2rem; }
.type-scale.body > div:nth-child(2){ font-size: 1.6rem; }
.type-scale.body > div:nth-child(3){ font-size: 1rem; }
.type-scale.body > div:nth-child(4){ font-size: .9rem; color: var(--page-muted); }

.type-scale.display .h1{ font-family: var(--font-display); font-size: 2.4rem; letter-spacing: .8px; }
.type-scale.display .h2{ font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .7px; color: var(--page-muted); }
.type-scale.display .h3{ font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .6px; color: var(--page-muted); }

.do li, .dont li, .rules li{ margin: 8px 0; color: var(--page-muted); }
.do li::marker{ color: var(--secondary); }
.dont li::marker{ color: var(--primary); }

.mini-diagram .box{
  border-radius: 16px;
  border: 1px dashed var(--page-border);
  padding: 14px;
  min-height: 110px;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
}
.fake-logo{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid var(--page-border);
  background: radial-gradient(120% 120% at 20% 20%, rgba(214,69,65,.85), rgba(214,69,65,.12));
}
.space{
  position:absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(43,125,233,.35);
  pointer-events:none;
}

.footer{
  margin-top: 56px;
  border-top: 1px solid var(--page-border);
  background: rgba(0,0,0,.12);
}
html[data-theme="light"] .footer{ background: rgba(0,0,0,.03); }
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 16px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  color: var(--page-muted);
}
.footer a{ color: var(--page-text); text-decoration:none; }
.sep{ opacity:.6; }

.small-link{ color: var(--page-text); text-decoration:none; }
.small-link:hover{ text-decoration: underline; }

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 900px){
  .grid.three{ grid-template-columns: 1fr; }
  .grid.two{ grid-template-columns: 1fr; }
  .palette{ grid-template-columns: 1fr; }
}

/* Holiday logos grid */
.holiday-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.holiday-item{
  border: 1px solid var(--page-border);
  /* background: #fff; */
  background: #0b1220;
  border-radius: 16px;
  padding: 12px;
}

.logo-preview.holiday{
  min-height: 92px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.01));
}

.holiday-meta strong{
  display: block;
  margin-bottom: 8px;
}

/* Holiday label color system */
.holiday-item{
  /* default fallback */
  --holiday-accent: var(--secondary);
}

/* Make sure the name doesn't inherit something unreadable */
.holiday-meta strong{
  color: var(--holiday-accent);
}

/* Optional: make it pop a little without looking like a neon sign */
.holiday-meta strong{
  letter-spacing: .2px;
}

/* Holiday accent colors (tweak to taste) */
.holiday-item[data-holiday="newyear"]      { --holiday-accent: #2563EB; } /* crisp blue */
.holiday-item[data-holiday="valentines"]   { --holiday-accent: #E11D48; } /* rose/red */
.holiday-item[data-holiday="stpatricks"]   { --holiday-accent: #16A34A; } /* green */
.holiday-item[data-holiday="easter"]       { --holiday-accent: #7C3AED; } /* purple */
.holiday-item[data-holiday="memorialday"]  { --holiday-accent: #DC2626; } /* red */
.holiday-item[data-holiday="july4"]        { --holiday-accent: #1D4ED8; } /* deep blue */
.holiday-item[data-holiday="halloween"]    { --holiday-accent: #F97316; } /* orange */
.holiday-item[data-holiday="thanksgiving"] { --holiday-accent: #B45309; } /* amber/brown */
.holiday-item[data-holiday="christmas"]    { --holiday-accent: #059669; } /* evergreen */

.holiday-item{
  border-left: 4px solid color-mix(in srgb, var(--holiday-accent) 70%, transparent);
}

@media (max-width: 900px){
  .holiday-grid{ grid-template-columns: 1fr; }
}