:root{
  --bg:#000000;
  --title:#f5f5f5;         /* softer off-white for main title per request */
  --text:#f0f0f0;
  --muted:#cccccc;         /* subtitle muted */
  --muted-2:#d0d0d0;      /* secondary muted for descriptions */
  --card-bg:#0a0a0a;       /* darker warm-black for cards/sections */
  --card-border:#1f1f1f;   /* thin border for cards */
  --card-btn:#181818;
  --card-btn-border:#2a2a2a;
  --card-btn-hover:#222222;
  --radius:12px;
  --max-width:920px;
  --content-max:480px;     /* content confined for better reading */
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  -webkit-touch-callout: none;
  text-align:center; /* enforce centered text globally */
}

/* Page container */
.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:56px 24px;
  gap:56px; /* increased vertical air between major blocks */
  position:relative;
  max-width:var(--max-width);
  margin:0 auto;
}

/* Sections */
.section{
  width:100%;
  max-width:var(--max-width);
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  margin-bottom:56px; /* unified spacing between sections */
  padding:0 6%;
  box-sizing:border-box;
}

/* HERO: centered text-only */
.hero{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:36vh;
  padding:28px 12px;
  position:relative;
  box-sizing:border-box;
  text-align:center;
}

/* central column */
.hero-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
  width:100%;
  max-width:var(--content-max);
  padding:10px 24px; /* left/right padding on mobile as requested */
  box-sizing:border-box;
}

/* title - semi-bold, reduced size, letter spacing */
.hero-title{
  font-family:Montserrat, Inter, sans-serif;
  font-weight:600;                 /* semi-bold */
  font-size:44px;                  /* comfortable size */
  margin:0 0 36px 0;               /* margin-bottom 36px */
  color:var(--title);
  text-transform:uppercase;
  letter-spacing:1px;              /* slight air */
  line-height:1.02;
}

/* subtitle */
.hero-sub{
  margin:0 0 48px 0;               /* margin-bottom 48px */
  color:var(--muted);
  font-size:18px;                  /* requested size */
  max-width:var(--content-max);
  line-height:1.6;                 /* requested line height */
  font-weight:400;
  padding:0 6px;
}

/* CTA group */
.hero-cta{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:6px;
  flex-wrap:wrap;
  justify-content:center;
}

/* base button used for cards and hero */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  min-height:44px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  color:var(--text);
  border:0;
  background:transparent;
  transition:transform .14s cubic-bezier(.2,.9,.2,1), box-shadow .14s ease;
}

/* card-style button (white text on dark gray) */
.btn.card-btn{
  background:var(--card-btn);
  color:var(--text);
  border-radius:8px;
  padding:14px 28px;
  text-decoration:none;
  border:1px solid var(--card-btn-border);
  box-shadow: none;
}
.btn.card-btn:hover{
  background:var(--card-btn-hover);
  transform:scale(1.03);
  box-shadow: 0 4px 12px rgba(255,255,255,0.03);
}

/* subtle internal link */
.link-how{
  color:var(--muted-2);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.link-how:hover{ color:var(--muted); text-decoration:underline; }

/* responsive */
@media (max-width:720px){
  .hero{min-height:30vh;padding:18px}
  .hero-title{font-size:40px}
  .hero-sub{font-size:18px}
  .btn{padding:10px 12px;font-size:14px}
}

/* section titles - balanced size */
.section-title{
  font-family:Montserrat, Inter, sans-serif;
  font-weight:700;
  letter-spacing:0.6px;
  color:#ffffff;
  font-size:24px; /* increased to 24px */
  margin:6px 0 0 0;
  text-transform:none;
  text-align:center;
}

/* how/steps cards layout - column of steps with deeper shadow */
.cards{
  display:grid;
  grid-template-columns:1fr;
  gap:40px; /* larger gap between steps */
  justify-items:center;
  width:100%;
  margin-bottom:8px;
}
@media (min-width:900px){ .cards{grid-template-columns:1fr;} } /* keep column layout across sizes per request */

.card{
  background:var(--card-bg);
  border-radius:12px;
  padding:24px;
  min-height:100px;
  display:flex;
  flex-direction:column;
  gap:10px;
  text-align:center;
  border:1px solid var(--card-border);
  transition:transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8); /* deeper shadow for lift */
}
.card:hover{ transform:translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.85); }

.card h3{ margin:0; color:#ffffff; font-weight:700; font-size:20px; } /* step title 20px */
.card p.muted{ margin:0; color:var(--muted-2); font-size:16px; line-height:1.6; }

/* resources grid as dark cards */
.cards-grid{
  width:100%;
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
  justify-items:center;
  padding:8px 6px 24px 6px;
}
@media (min-width:720px){ .cards-grid{grid-template-columns:repeat(2,1fr);} }

.resource-card{
  width:100%;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  transition:background .12s ease, transform .12s ease, box-shadow .12s ease;
  max-width:880px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8); /* deeper shadow */
}
.resource-card:hover{ transform:translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.85); }

/* resource card internal body */
.rc-body{ display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.rc-title{ margin:0; color:#ffffff; font-weight:700; font-size:22px; } /* bold, readable */
.rc-desc{ margin:0; color:var(--muted-2); font-size:16px; font-weight:400; }

/* ensure buttons align on small screens */
@media (max-width:520px){
  .resource-card{ flex-direction:column; align-items:center; text-align:center; padding:28px 24px; }
  .rc-body{ align-items:center; }
  .hero-title{ font-size:40px; }
  .hero-center{ max-width:var(--content-max); padding:0 24px; }
  .section{ padding:0 24px; max-width:var(--content-max); box-sizing:border-box; }
  .page{ padding-left:24px; padding-right:24px; gap:56px; }
}

/* muted text global */
.muted{color:var(--muted-2); font-size:16px; margin:0; text-align:center} /* descriptions 16px */

/* disclaimer */
.disclaimer{
  background:transparent;
  padding:16px 6px;
  border-radius:6px;
  text-align:center;
  color:#666666;            /* requested disclaimer color */
  font-size:14px;
  line-height:1.6;
  max-width:860px;
  margin-top:80px;
  margin-left:auto;
  margin-right:auto;
  border-top:1px solid #1f1f1f; /* thin line on top */
  padding-top:20px;
}

/* add thin hr above disclaimer (kept for accessibility fallback) */
.disclaimer-hr{
  display:none;
}

/* entrance animations (kept minimal) */
[data-anim]{opacity:0; transform:translateY(8px); transition:opacity .5s ease, transform .5s ease}
[data-anim].in{opacity:1; transform:translateY(0)}

/* style for how/steps section to match resource cards */
#how{
  width:100%;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  padding:24px;
  box-sizing:border-box;
  max-width:880px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
}
#how .section-title{
  font-size:24px;
  color:#ffffff;
  margin:0 0 12px 0;
  text-transform:none;
}
#how .card{
  background:var(--card-bg);
  border-radius:12px;
  padding:24px;
  min-height:100px;
  display:flex;
  flex-direction:column;
  gap:10px;
  text-align:center;
  border:1px solid var(--card-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
}

/* accessibility focus */
a:focus{outline:2px solid rgba(255,255,255,0.06); outline-offset:3px}

/* helpers */
.hidden{display:none}