/* =========================================================
   SideGays.com — Redesign v2 (shared stylesheet)
   Goals: cleaner spacing, better contrast, richer color,
   darker page backdrop, consistent cards/grids.
   ========================================================= */

/* ---------- Variables ---------- */
:root{
  /* Background + surfaces */
  --bg: #f3f6fb;          /* slightly darker than white */
  --surface: #ffffff;     /* card background */
  --surface-2: #f8fbff;   /* alternate surface */

  /* Text */
  --text: #0b1220;
  --ink: #0f172a;
  --muted: #475569;       /* slate */
  --faint: #dbe3ef;       /* borders */

  /* Brand */
  --accent: #1f4fd7;      /* primary blue */
  --accent-2: #2dd4bf;    /* teal accent (subtle, adds life) */
  --accent-3: #7c3aed;    /* violet accent (sparingly) */
  --accent-dark: #163aa3;

  /* UI */
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-sm: 14px;

  /* Layout */
  --max: 1100px;
  --pad: 18px;            /* card padding */
  --pad-lg: 22px;         /* hero padding */
}

/* ---------- Reset / base ---------- */
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(31,79,215,0.16), rgba(31,79,215,0.00) 60%),
    radial-gradient(900px 420px at 95% 0%, rgba(45,212,191,0.12), rgba(45,212,191,0.00) 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}
a:hover{
  color: var(--accent-dark);
  text-decoration: underline;
}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Accessibility ---------- */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 18px;
  top: 18px;
  width: auto;height:auto;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--faint);
  border-radius: 12px;
  z-index: 9999;
  box-shadow: var(--shadow-soft);
}

/* ---------- Header ---------- */
.site-header{
  border-bottom: 1px solid rgba(219,227,239,0.8);
  background: rgba(248, 251, 255, 0.78);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  color: var(--ink);
  text-decoration:none;
  min-width: 220px;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #5aa7ff);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  letter-spacing: -0.5px;
  box-shadow: 0 14px 34px rgba(31,79,215,0.22);
}

.brand-name{
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.brand-tag{
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:flex-end;
}
.nav a{
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}
.nav a:hover{
  background: rgba(31,79,215,0.08);
  border-color: rgba(31,79,215,0.15);
  text-decoration:none;
}
.nav a[aria-current="page"]{
  background: rgba(31,79,215,0.12);
  border-color: rgba(31,79,215,0.22);
}

/* ---------- Typography ---------- */
h1, h2, h3{
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
h1{
  font-size: 2.35rem;
  line-height: 1.1;
  margin-top: 12px;
}
h2{
  font-size: 1.55rem;
  line-height: 1.2;
}
h3{
  font-size: 1.05rem;
  line-height: 1.25;
}

.lead{
  margin: 12px 0 0;
  color: #1f2937;
  font-size: 1.08rem;
  max-width: 880px;
}

.subhead{
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 920px;
}

.micro{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Badges / pills ---------- */
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  background: rgba(31,79,215,0.10);
  border: 1px solid rgba(31,79,215,0.20);
  color: #14307f;
}
.pill .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.18);
}

/* ---------- Sections ---------- */
.section{
  padding: 30px 0;
}
.section + .section{
  border-top: 1px solid rgba(219,227,239,0.75);
}
.section-alt{
  background: rgba(255,255,255,0.42);
}

/* ---------- Cards / panels ---------- */
.card,
.panel,
.hero-card{
  background: var(--surface);
  border: 1px solid rgba(219,227,239,0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card{ padding: var(--pad); }
.panel{
  padding: var(--pad);
  border-radius: var(--radius-sm);
}
.hero-card{
  padding: var(--pad-lg);
  border-radius: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-160px -160px auto auto;
  width: 380px;
  height: 380px;
  background:
    radial-gradient(circle at center, rgba(31,79,215,0.22), rgba(31,79,215,0.00) 70%);
  pointer-events:none;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset:auto auto -180px -180px;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle at center, rgba(45,212,191,0.18), rgba(45,212,191,0.00) 68%);
  pointer-events:none;
}

.panel p,
.card p{
  margin: 10px 0;
  color: #1f2937;
}
.panel p:first-child,
.card p:first-child{ margin-top: 0; }

/* ---------- Layout grids ---------- */
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 920px){
  h1{ font-size: 2.05rem; }
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  color: #fff;
  font-weight: 900;
  border: 1px solid rgba(31,79,215,0.20);
  box-shadow: 0 10px 24px rgba(31,79,215,0.20);
}
.btn:hover{
  text-decoration:none;
  background: linear-gradient(135deg, var(--accent-dark), #2563eb);
}

.btn-ghost{
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(219,227,239,1);
  box-shadow: none;
}
.btn-ghost:hover{
  background: rgba(15, 23, 42, 0.03);
}

/* ---------- Lists ---------- */
.checklist{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li{
  margin: 10px 0;
  padding-left: 28px;
  position: relative;
  color: #1f2937;
}
.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(45,212,191,0.16);
  border: 1px solid rgba(45,212,191,0.30);
  color: #0f766e;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid rgba(219,227,239,0.85);
  padding: 26px 0;
  background: rgba(248, 251, 255, 0.78);
  color: var(--muted);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 14px;
}
.footer-links a{
  margin-right: 12px;
  color: var(--muted);
  font-weight: 800;
}
.footer-links a:hover{
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Utility ---------- */
.muted{ color: var(--muted); }
