/* ICON — Warm, Modern, Professional (but fun) */
/* Separate CSS file for Cloudflare Pages static hosting */

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

:root{
  /* Warm-toned silver blue background (HARD RULE) */
  --bg:  #0F1B27;   /* deep steel navy */
  --bg2: #152436 ;   /* slate blue depth */
  --pageGlowRgb: 230,133,46; /* #E6852E */
   /* Surfaces (lighter boxes) */
  --panel:  rgba(255,255,255,.13);
  --panel2: rgba(255,255,255,.19);
  --stroke: rgba(210,225,238,.24);
  --steelshine: rgba(210,225,238,.08);
/* Text */
  --text:  rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.82);

  /* Warm accents */
  --amber: #FBBF24;
  --terra: #F97316;
  --rose:  #FB7185;

  /* Geometry / depth */
  --radius: 18px;
  --radius2: 24px;
  --shadow: 0 14px 44px rgba(0,0,0,.18);
  --max: 1120px;

  /* Consistent spacing */
  --card-pad: 16px 16px 14px;

  /* Sticky header offset */
  --header-offset: 120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Page background glow = #E6852E (sections stay blue) */
  background:
    radial-gradient(1200px 720px at 18% -8%, rgba(var(--pageGlowRgb), .22), transparent 62%),
    radial-gradient(980px 640px at 92% 10%,  rgba(var(--pageGlowRgb), .22), transparent 64%),
    radial-gradient(820px 760px at 52% 96%,  rgba(var(--pageGlowRgb), .18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 48%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

a{ color:inherit; }
b{ color:rgba(255,255,255,.92); }

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  padding:12px 12px;
  background:#000;
  border:1px solid var(--stroke);
  border-radius:999px;
}
.skip-link:focus{ left:12px; top:12px; z-index:999; }

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

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(21,36,54,.82), rgba(15,27,39,.70));
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width: 230px;
}

.brand__logo{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(210,225,238,.22);
  background:
    radial-gradient(circle at 30% 25%, rgba(245,158,11,.85), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(227,83,54,.95), transparent 60%),
    rgba(255,255,255,.04);
  box-shadow: 0 12px 20px rgba(0,0,0,.35);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex: 0 0 44px;
}

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

.brand__fallback{
  display:none;
  font-family: Cinzel, Inter, serif;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: 12px;
  text-transform: uppercase;
}

.brand__name{
  font-family: Cinzel, Inter, serif;
  letter-spacing:.08em;
  font-size: 14px;
}
.brand__tag{
  display:block;
  color:var(--muted);
  font-size: 12px;
  margin-top:2px;
}

.menuBtn{
  display:none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(210,225,238,.22);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}
.menuBtn svg{ width:18px; height:18px; opacity:.9; }

.nav{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  text-decoration:none;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}

.nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.nav a.is-active{
  color: var(--text);
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.26);
}

.navMobile{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px 14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color: var(--muted);
}
.navMobile a{
  text-decoration:none;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(210,225,238,.22);
  background: rgba(255,255,255,.04);
}

/* Cards + typography */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border: 1px solid rgba(210,225,238,.22);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.h1{
  margin: 12px 0 12px;
  font-family: Cinzel, Inter, serif;
  letter-spacing: .08em;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.08;
}

.h2{
  margin:0;
  font-family: Cinzel, Inter, serif;
  letter-spacing: .08em;
  font-size: 18px;
}

.h3{
  margin:0 0 8px;
  font-size: 14px;
  letter-spacing: .02em;
}
.h3--small{ font-size: 13px; }

.lead{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}

.sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.muted{ color: var(--muted); }

/* Hero */
.hero{ padding: 18px 0 0; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: stretch;
}

.card--hero{ padding: 22px 22px 20px; }

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing:.02em;
}
.kicker__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--terra));
  box-shadow: 0 0 0 4px rgba(245,158,11,.12);
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding: 7px 12px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(210,225,238,.22);
  background: rgba(255,255,255,.04);
}
.chip b{ color: var(--text); font-weight:600; }

.ctaRow{
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:12px 14px;
  border-radius:999px;
  border: 1px solid rgba(210,225,238,.22);
  background: rgba(255,255,255,.06);
  color: var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.btn--primary{
  border-color: rgba(210,225,238,.38);
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.06) 40%, rgba(210,225,238,.10) 100%),
    linear-gradient(90deg, rgba(93,136,187,.28), rgba(21,36,54,.18));
}
.btn--primary:hover{
  background:
    linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.08) 40%, rgba(210,225,238,.14) 100%),
    linear-gradient(90deg, rgba(93,136,187,.34), rgba(21,36,54,.22));
}

/* Stack */
.stack{
  display:grid;
  gap:12px;
}
.stat{ padding: 16px 16px 14px; }
.stat__k{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom:6px;
}
.stat__v{
  font-size: 14px;
  font-weight: 700;
  margin-bottom:6px;
}
.stat__d{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* Sections */
.section{ padding: 22px 0 0; 
  background-color: #6E6852;}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap:12px;
  margin-bottom:12px;
  
}

/* Layout grids */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.block{ padding: 16px 16px 14px; }
.block p{
  margin:0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.block p + p{ margin-top:12px; }

.list{
  margin:12px 0 0;
  padding-left:18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.list b{ color: var(--text); }

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding: 7px 12px;
  font-size:12px;
  border: 1px solid rgba(210,225,238,.22);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}
.badge i{
  width:8px; height:8px;
  border-radius:999px;
  display:inline-block;
}
.badge b{ color: var(--text); font-weight:700; }
.badge--amber i{ background: rgba(245,158,11,.85); }
.badge--terra i{ background: rgba(227,83,54,.90); }
.badge--rose  i{ background: rgba(251,113,133,.85); }

.gap{ height:14px; }

/* Accordions */
.acc{
  overflow:hidden;
  border-radius: var(--radius2);
  border: 1px solid rgba(210,225,238,.22);
  background: rgba(255,255,255,.04);
}
.acc__btn{
  width:100%;
  cursor:pointer;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  border:0;
  color: var(--text);
  background: rgba(255,255,255,.03);
  font-weight: 700;
  letter-spacing: .02em;
}
.acc__title{ display:block; font-size:13.5px; }
.acc__meta{ display:block; font-weight:600; color: var(--muted); font-size:12px; margin-top:2px; }
.acc__chev{ opacity:.85; transition: transform .18s ease; font-size: 23px;}
.acc__body{
  display:none;
  margin:0;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Cooler slate/grey glow (no brown spotlight) */
  background:
    radial-gradient(1200px 720px at 18% -8%, rgba(179,203,228,.22), transparent 62%),
    radial-gradient(980px 640px at 92% 10%, rgba(93,136,187,.22), transparent 64%),
    radial-gradient(820px 760px at 52% 96%, rgba(161,168,178,.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 48%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

.acc__body p{
    font-size: 13.5px;
}

.acc.is-open .acc__body{
  display: block;
  margin:0;
  padding:15px;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Cooler slate/grey glow (no brown spotlight) */
  background:
    radial-gradient(1200px 720px at 18% -8%, rgba(179,203,228,.22), transparent 62%),
    radial-gradient(980px 640px at 92% 10%, rgba(93,136,187,.22), transparent 64%),
    radial-gradient(820px 760px at 52% 96%, rgba(161,168,178,.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 48%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

.acc.is-open .acc__chev{ transform: rotate(180deg); }

/* Comparison blocks */
.block--soft{
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(210,225,238,.22);
  box-shadow:none;
}
.block--warm{
  background: rgba(245,158,11,.08);
  border:1px solid rgba(245,158,11,.20);
  box-shadow:none;
}

/* Footer */
.footer{
  margin-top:18px;
  padding:18px 0 0;
  border-top:1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size:12.5px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content: space-between;
  gap:12px;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .grid2{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .menuBtn{ display:inline-grid; place-items:center; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .nav a, .btn, .acc__chev{ transition:none !important; }
}

/* =========================
   Section framing (outline container)
   ========================= */
.hero,
.section{
  border: 1px solid rgba(210,225,238,.22);
  border-radius: var(--radius2);
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02) 55%, rgba(210,225,238,.045) 100%);

  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  padding: 18px;
  margin: 18px auto;
  max-width: var(--max);
}

@media (min-width: 920px){
  .hero{ padding: 22px; }
}

.section__head{
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 14px;
}

.hero__grid,
.grid2,
.grid3{
  margin-top: 14px;
}

@media (max-width: 760px){
  .hero,
  .section{
    padding: 16px;
    margin: 14px auto;
  }
}


[hidden]{ display:none !important; }

html{ scroll-padding-top: var(--header-offset); }
:is(section, main)[id]{ scroll-margin-top: var(--header-offset); }
@media (max-width: 760px){
  :root{ --header-offset: 140px; }
}

/* =========================
   Rules grid rebalance
   - 1 column on mobile
   - 2 columns on desktop (cards fill evenly)
   - If an odd card exists in the future, last spans full width
   ========================= */
#rules .grid2{
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 860px){
  #rules .grid2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #rules .grid2 > :last-child:nth-child(odd){
    grid-column: 1 / -1;
  }
}

/* Ensure accordion tiles fill the grid cell cleanly */
#rules .acc{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#rules .acc__btn{ flex: 0 0 auto; }
#rules .acc__body{
  margin:0;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Cooler slate/grey glow (no brown spotlight) */
  background:
    radial-gradient(1200px 720px at 18% -8%, rgba(179,203,228,.22), transparent 62%),
    radial-gradient(980px 640px at 92% 10%, rgba(93,136,187,.22), transparent 64%),
    radial-gradient(820px 760px at 52% 96%, rgba(161,168,178,.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 48%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

/* =========================
   Rules alignment (left)
   ========================= */
#rules .acc__btn span{ text-align:left; }
#rules .acc__title,
#rules .acc__meta{ text-align:left; }
#rules .acc__body{ text-align:left; }

/* ===== Button palette: remove brown/gold, keep metallic silver-blue ===== */
.btn{
  border-color: rgba(210,225,238,.26);
}
.btn:hover{
  border-color: rgba(210,225,238,.34);
}
