@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --sand-1: #B6AE9F;
  --sage-2: #C5C7BC;
  --linen-3: #DEDED1;
  --cream-4: #FBF3D1;

  --text-strong: #222222;
  --text-soft: #3c3c3c;
  --text-muted: #5b5b5b;
}

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-strong);
  background: linear-gradient(180deg, rgba(251,243,209,.85), rgba(222,222,209,.9)), var(--cream-4);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
}

header.site-header{
  padding: 2rem 1rem 1rem;
  text-align: center;
}

h1{
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
}

p.subtle{
  margin: .4rem 0 0;
  color: var(--text-soft);
}

main.container{
  padding: 1rem;
  max-width: 900px;
  width: min(92vw, 900px);
  margin: 0 auto 2rem;
}

section.card{
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  backdrop-filter: blur(4px);
  margin: 0 0 1rem 0;
}

h2{
  margin: 0 0 .4rem;
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + .6vw, 1.35rem);
}

p{
  margin: 0 0 .25rem;
  line-height: 1.5;
  color: var(--text-soft);
}

p.muted{
  color: var(--text-muted);
  font-size: .92rem;
}

p.back{
  text-align: center;
  margin: 1.2rem 0 0;
}

p.back a{
  color: var(--text-strong);
  text-decoration: none;
  border-bottom: 2px solid var(--sand-1);
  padding-bottom: 2px;
}

p.back a:hover,
p.back a:focus-visible{
  opacity: .85;
}

footer.site-footer{
  text-align: center;
  padding: .8rem 1rem;
  font-size: .85rem;
  background: linear-gradient(to top, rgba(255,255,255,.65), rgba(255,255,255,0));
}

@media (max-width: 600px){
  section.card{
    padding: .9rem 1rem;
    border-radius: 16px;
  }
}
