/* TwentyOne Group — modern affiliate styling
   Save as: /public_html/twentyonegroup/assets/css/style.css
*/

:root{
  --bg: #14161a;
  --panel: rgba(255,255,255,.08);
  --panel-2: rgba(255,255,255,.12);
  --text: rgba(245,246,247,.95);
  --muted: rgba(245,246,247,.75);
  --muted-2: rgba(245,246,247,.6);
  --border: rgba(255,255,255,.08);
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1160px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(700px 420px at 85% 15%, rgba(255,255,255,.08), transparent 62%),
    radial-gradient(900px 520px at 70% 95%, rgba(255,255,255,.06), transparent 62%),
    var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11,15,25,.55);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  position: relative;           /* add this */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}


.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.brand-mark{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid var(--border);
  font-weight: 800;
  letter-spacing: .5px;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-sub{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav-link{
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
}
.nav-link:hover{
  background: rgba(255,255,255,.06);
  text-decoration: none;
  color: var(--text);
}
.nav-link.is-active{
  background: rgba(255,255,255,.10);
  border: 1px solid var(--border);
  color: var(--text);
}
/* Smooth anchor jumps + prevent sticky header overlap */
html{
  scroll-padding-top: 88px; /* tweak if header height changes */
  scroll-behavior: smooth;
}

/* Mobile nav toggle button */
.nav-toggle{
  display: none; /* shown on mobile via media query */
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle:hover{
  background: rgba(255,255,255,.10);
}

.nav-toggle-icon{
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
  border-radius: 99px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.nav-toggle-icon::before{ top: -6px; }
.nav-toggle-icon::after{ top: 6px; }

/* Mobile: show hamburger, hide nav until opened */
@media (max-width: 980px){
  .nav-toggle{
    display: inline-flex;
  }

  .nav{
    display: none;
    position: absolute;
    right: 20px;
    top: 68px; /* sits under header; tweak if needed */
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    width: min(320px, calc(100% - 40px));
    background: rgba(11,15,25,.92);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
  }

  .nav.open{
    display: flex;
  }

  .nav .btn{
    width: 100%;
  }

  .nav-link{
    width: 100%;
  }
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration: none !important;
  font-weight: 650;
}
.btn:hover{
  background: rgba(255,255,255,.10);
}
.btn-primary{
  background: rgba(255,255,255,.16);
}
.btn-primary:hover{
  background: rgba(255,255,255,.20);
}
.btn-ghost{
  background: transparent;
}
.btn-lg{
  padding: 12px 16px;
  border-radius: 16px;
}
.btn-block{
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
}

/* Hero */
.hero{
  padding: 56px 0 34px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}
.eyebrow{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
h1{
  margin: 0 0 12px;
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.07;
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}
.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}

.trust-row{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
}
.pill{
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.disclosure{
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
  max-width: 70ch;
}

/* Cards */
.hero-card .card,
.callout,
.step,
.mini,
.faq details{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card{
  padding: 18px;
}
.card-title{
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card-sub{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Form */
.search-form{
  display: grid;
  gap: 12px;
}
.field{
  display: grid;
  gap: 6px;
}
.label{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
.input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline: none;
}
.input:focus{
  border-color: rgba(255,255,255,.26);
  background: rgba(0,0,0,.22);
}
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tiny-note{
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.4;
}

/* Mini feature cards */
.mini-cards{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.mini{
  padding: 14px 16px;
  border-radius: var(--radius);
}
.mini h3{
  margin: 0 0 6px;
  font-size: 14px;
}
.mini p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Sections */
.section{
  padding: 44px 0;
}
.section-alt{
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head h2{
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.section-head p{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  padding: 16px;
  border-radius: var(--radius-lg);
}
.step-num{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.10);
  border: 1px solid var(--border);
  font-weight: 800;
  margin-bottom: 10px;
}
.step h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.step p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.grid-2{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}

.muted{ color: var(--muted); }

.callout{
  padding: 18px;
  border-radius: var(--radius-lg);
}
.callout h3{
  margin: 0 0 8px;
}
.callout p{
  margin: 0 0 14px;
  color: var(--muted);
}

/* FAQ */
.faq h2{
  margin: 0 0 14px;
}
.faq details{
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
}
.faq summary{
  cursor: pointer;
  font-weight: 650;
}
.faq p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* Footer */
.site-footer{
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.18);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 18px;
  align-items: start;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-links{
  display: grid;
  gap: 10px;
}
.footer-links a{
  color: var(--muted);
}
.footer-links a:hover{
  color: var(--text);
  text-decoration: none;
}
.footer-legal{
  text-align: left;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .nav{ display: none; }
}
/* === Network homepage compatibility === */

.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}

.hero-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-card h2{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.fineprint{
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
  max-width: 70ch;
}

.bullet-list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.bullet-list li{
  margin: 8px 0;
}

.section-lead{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

.section-muted{
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.feature{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
}

.feature h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.feature p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px){
  .feature-grid{ grid-template-columns: 1fr; }
}
/* =========================================================
   TwentyOne Group naming unifier (canonical + legacy aliases)
   Canonical: hero-cta, fineprint, section-muted, feature-grid,
              feature, footer-inner, card-note
   ========================================================= */

/* HERO CTA: support both .hero-cta (canonical) and .hero-actions (legacy) */
.hero-cta,
.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}

/* Small muted notes: support both .fineprint (canonical) and .disclosure (legacy) */
.fineprint,
.disclosure{
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
  max-width: 70ch;
}

/* Muted section background: support both .section-muted (canonical) and .section-alt (legacy) */
.section-muted,
.section-alt{
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Card containers: ensure hero-card looks like a real card everywhere */
.hero-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
}

/* Notes inside cards (used on homepage) */
.card-note{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.card-note strong{ color: var(--text); }

/* Feature grid/cards (used on homepage; usable on hubs too) */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.feature{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
}
.feature h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.feature p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

/* Footer: support both simple row footer (.footer-inner) and your existing grid footer (.footer-grid) */
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Optional: nicer bullets on the network page */
.bullet-list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullet-list li{ margin: 8px 0; }

/* Optional: lead paragraph under section headings */
.section-lead{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

/* Responsive: feature grid collapses cleanly */
@media (max-width: 980px){
  .feature-grid{ grid-template-columns: 1fr; }
}
/* Chips (used on hub pages) */
.chip-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none !important;
  font-size: 13px;
}
.chip:hover{
  background: rgba(255,255,255,.10);
}
@media (max-width: 520px){
  .chip-grid{ grid-template-columns: 1fr; }
}
/* Prevent anchored sections from hiding under the sticky header */
html{
  scroll-padding-top: 88px; /* adjust if you change header height */
  scroll-behavior: smooth;
}
/* === Editorial typography refinement === */

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  letter-spacing: -0.025em;
}

/* City guides */
.city-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.city-card{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.city-card h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.city-card p{
  margin: 0 0 12px;
  color: var(--muted);
}

.city-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.disclosure{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px){
  .city-grid{ grid-template-columns: 1fr; }
}