/* =========================================================
   McGravel Theme — forge-light + soot + parchment
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: 16px; }

:root{
  /* Core palette (aligned to your profile pic) */
  --bg:        #f8f6f2;  /* ash paper */
  --paper:     #f3efe9;  /* warm parchment */
  --ink:       #111111;  /* near-black */
  --muted:     #6b625a;  /* warm gray */
  --soot:      #1f2933;  /* deep charcoal */
  --leather:   #2a1f16;  /* warm dark brown */
  --rust:      #b45309;  /* iron oxide */
  --forge:     #eab308;  /* forge gold */
  --ember:     #facc15;  /* bright ember */
  --line:      #d6c7b6;  /* warm border */

  /* Layout */
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  --maxw:   56rem;
}

/* ---------- Base ---------- */
body{
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img{ max-width: 100%; height: auto; }

a{
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(180,83,9,0.45);
  text-underline-offset: 3px;
}

a:hover{
  text-decoration-color: rgba(180,83,9,0.9);
}

/* ---------- Typography ---------- */
h1, h2, h3{
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1{ font-size: 2.75rem; letter-spacing: -0.02em; }
h2{ font-size: 1.75rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

ul{
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li{ margin-bottom: 0.5rem; }

/* ---------- Layout containers ---------- */
.content{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

section{ margin-bottom: 2.75rem; }

/* ---------- Hero ---------- */
.hero{
  padding: 3.25rem 1rem 2.75rem;
  text-align: center;
  color: #fff;

  /* forge-lit vignette (matches your profile pic lighting) */
  background:
    radial-gradient(circle at 50% 20%,
      rgba(250,204,21,0.22) 0%,
      rgba(180,83,9,0.18) 22%,
      rgba(42,31,22,0.96) 48%,
      rgba(31,41,51,1) 75%
    );

  border-bottom: 1px solid rgba(234,179,8,0.18);
}

.hero-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.tagline{
  max-width: 44rem;
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
}

/* Avatar / brand mark */
.brand{
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.avatar{
  width: 104px;
  height: 104px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(250,204,21,0.35);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- CTAs ---------- */
.cta-row{
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.button{
  display: inline-block;
  padding: 0.78rem 1.25rem;
  border-radius: 6px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.26);
  color: #fff;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(2px);
}

.button:hover{
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.10);
}

/* Primary CTA */
.button.primary{
  border-color: rgba(234,179,8,0.75);
  background: linear-gradient(180deg, var(--ember), var(--forge));
  color: #161616;
}

.button.primary:hover{
  background: linear-gradient(180deg, #ffe38a, var(--ember));
  border-color: rgba(250,204,21,0.95);
}

/* ---------- Lists / callouts ---------- */
.feature-list{
  list-style: disc;
}

/* Warm parchment callout */
.placeholder{
  padding: 1.25rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */
footer{
  padding: 2.25rem 1rem 2.75rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  background: #efe8df;
  border-top: 1px solid var(--line);
}

footer p{ margin: 0.35rem 0; }

footer .support{
  font-size: 0.88rem;
  color: #5f564e;
}

footer .support a{
  color: inherit;
  text-decoration-color: rgba(180,83,9,0.55);
}

/* ---------- Print (DM-friendly) ---------- */
@media print{
  body{ background: #fff; color: #000; }
  .hero{ background: none; color: #000; border: none; padding: 1.5rem 0; }
  .tagline{ color: #000; }
  .button, footer, .avatar{ display: none !important; }
  .content{ max-width: 100%; padding: 0; }
  .placeholder{ border-color: #999; }
}
