/* =========================================================
   CO2 Locator — Canonical UI Skin v0.1
   Built from Helium v2.6 architecture + upgraded “tool UI” skin
   Goal: one file, sitewide, WP/Astra full-width glue, modern depth
   ========================================================= */

/* =========================
   TOKENS
   ========================= */
:root{
  /* CO2 palette: deep blue-black + mint/teal */
  --bg:#070b10; --bg2:#08111a; --bg3:#0a1724;
  --card: rgba(18, 26, 37, .78);
  --card2: rgba(14, 20, 30, .72);

  --ink:#eaf3ff; --muted:#a8b7c9;

  --accent:#43f0c6;
  --accentGlow: rgba(67,240,198,.32);

  --accent-2:#6ad1ff;
  --accent-2-glow: rgba(106,209,255,.28);

  --line: rgba(140, 170, 200, .16);

  --shadow1: 0 10px 30px rgba(0,0,0,.45);
  --shadow2: 0 18px 55px rgba(0,0,0,.55);

  --hl-max: 1320px;
  --hl-pad: 16px;
  --hl-pad-lg: 24px;

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

@media (max-width: 700px){
  :root{
    --hl-pad: 10px;
    --hl-pad-lg: 14px;
  }
}

@media(prefers-color-scheme:light){
  :root{ color-scheme:dark light; }
}

/* =========================
   GLOBAL SAFETY: avoid 1–2px side scroll
   ========================= */
html, body{ overflow-x: clip; }

/* =========================
   WP/Astra GLUE (ONLY CO2 pages)
   Add body class: co2-page
   ========================= */

/* Dark canvas + subtle lighting */
body.co2-page,
body.hl-page.co2-page{
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(67,240,198,.18), transparent 60%),
    radial-gradient(900px 520px at 92% 10%, rgba(106,209,255,.16), transparent 58%),
    linear-gradient(180deg,var(--bg) 0%, var(--bg2) 55%, var(--bg3) 100%) !important;
  color:var(--ink) !important;
}

/* Astra/WP containers: kill side gutters */
body.co2-page #page,
body.co2-page #content,
body.co2-page .site,
body.co2-page .site-content,
body.co2-page .content-area,
body.co2-page .site-main,
body.co2-page article,
body.co2-page .ast-container,
body.co2-page .ast-container-fluid,
body.co2-page .entry-content{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Gutenberg wrappers that love constrained widths */
body.co2-page .is-layout-constrained,
body.co2-page .wp-block-group,
body.co2-page .wp-block-group__inner-container,
body.co2-page .wp-block-columns,
body.co2-page .wp-block-column{
  max-width:none !important;
}

/* Hide WP title/header on CO2 pages */
body.co2-page .entry-header,
body.co2-page .entry-title,
body.co2-page h1.entry-title,
body.co2-page .ast-page-title{
  display:none !important;
}

/* If a CO2 page embeds your app iframe and someone forgets the shell */
body.co2-page .entry-content iframe[title*="CO2 Locator"],
body.co2-page .entry-content iframe[src*="/co2/"]{
  display:block;
  width:100% !important;
  min-width:100% !important;
  height:80vh !important;
  min-height:70vh !important;
  border:0 !important;
  background:#0e131b;
  color-scheme:dark;
}

/* =========================
   BASE
   ========================= */
a{ color:inherit; }
.hl-shell, .hl-shell *{ box-sizing:border-box; }

.hl-fullbleed{
  width:100%;
  margin:0;
  overflow-x: clip;
  color: var(--ink);
}
.hl-fullbleed h1,
.hl-fullbleed h2,
.hl-fullbleed h3{ color: var(--ink) !important; }
.hl-fullbleed p,
.hl-fullbleed .hl-small{ color: var(--muted); }

/* Core centered shell */
.hl-shell{
  width:100%;
  max-width:var(--hl-max);
  margin:0 auto;
  padding:0px var(--hl-pad) 0 var(--hl-pad);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial;
}
@media(min-width:1024px){
  .hl-shell{ padding-left:var(--hl-pad-lg); padding-right:var(--hl-pad-lg); }
}
.hl-inner{ width:100%; margin:0 auto; }

/* =========================
   SURFACES (main blocks)
   ========================= */
.hl-wrap,
.hl-body-wrap,
.hl-wrap-bg,
.hl-live-block{
  border:1px solid var(--line);
  box-shadow: var(--shadow1);
  backdrop-filter: blur(10px);
}

.hl-wrap{
  border-radius:var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(16,22,32,.82) 0%, rgba(10,16,24,.82) 100%);
  padding:24px var(--hl-pad);
}
@media(min-width:1024px){
  .hl-wrap{ padding-left:var(--hl-pad-lg); padding-right:var(--hl-pad-lg); }
}

.hl-body-wrap{
  border-radius:var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(12,18,28,.78) 0%, rgba(8,14,22,.80) 100%);
  padding:24px var(--hl-pad) 32px var(--hl-pad);
  margin-top:24px;
}
@media(min-width:1024px){
  .hl-body-wrap{ padding-left:var(--hl-pad-lg); padding-right:var(--hl-pad-lg); }
}

.hl-wrap-bg{
  border-radius:var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(10,16,24,.75) 0%, rgba(8,14,22,.78) 100%);
  padding:16px;
  margin-top:16px;
}
@media(min-width:1024px){
  .hl-wrap-bg{ padding:24px; }
}

/* =========================
   TYPOGRAPHY
   ========================= */
.hl-logo{
  font-weight:900;
  font-size:22px;
  letter-spacing:.3px;
  text-decoration:none;
  color:var(--ink);
  display:inline-flex;
  gap:8px;
  align-items:center;
}

.hl-head{ margin-top:12px; max-width:900px; }
.hl-head h1{
  margin:8px 0 10px 0;
  font-size:clamp(26px,3.7vw,38px);
  line-height:1.10;
  letter-spacing:.2px;
  color:var(--ink);
}
.hl-head p{
  margin:0;
  color:var(--muted);
  max-width:78ch;
  font-size:15px;
  line-height:1.55;
}
.hl-note{ color:var(--muted); font-size:12px; margin-top:8px; }

.hl-section{ margin-top:22px; }
.hl-section:first-of-type{ margin-top:0; }
.hl-section h1,.hl-section h2,.hl-section h3{
  color:var(--ink) !important; margin:.3rem 0 .55rem;
}
.hl-section h2{ font-size:22px; margin:0 0 8px 0; }
.hl-small{ font-size:13px; color:var(--muted) !important; line-height:1.55; }

/* Ensure theme can’t turn text dark inside containers */
.hl-shell, .hl-body-wrap, .hl-wrap-bg, .hl-live-block{ color:var(--ink); }
.hl-shell p, .hl-shell li,
.hl-body-wrap p, .hl-body-wrap li,
.hl-wrap-bg p, .hl-wrap-bg li,
.hl-live-block p, .hl-live-block li{ color:var(--ink); }

/* =========================
   BUTTONS
   ========================= */
.hl-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

.hl-btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:var(--radius-sm);
  font-weight:800;
  text-decoration:none;
  border:1px solid rgba(140,170,200,.18);
  font-size:15px;
  line-height:1.2;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}

.hl-btn.primary{
  background: linear-gradient(180deg, rgba(67,240,198,1) 0%, rgba(28,210,185,1) 100%);
  color:#001014 !important;
  border-color:transparent;
  box-shadow: 0 14px 34px rgba(67,240,198,.22), inset 0 -1px 0 rgba(0,0,0,.2);
}
.hl-btn.primary:hover{
  transform:translateY(-1px);
  box-shadow: 0 18px 46px rgba(67,240,198,.30);
}

.hl-btn.ghost{
  background: rgba(255,255,255,.03);
  color:var(--ink);
}
.hl-btn.ghost:hover{
  background: rgba(67,240,198,.12);
  border-color: rgba(67,240,198,.35);
  box-shadow: 0 14px 38px rgba(0,0,0,.45);
}

/* Micro-button inline links */
.hl-chip-link{
  display:inline-block;
  padding:4px 8px;
  border:1px solid rgba(67,240,198,.55);
  border-radius:8px;
  font-size:13px;
  color:var(--accent);
  text-decoration:none;
  margin:0 3px;
  line-height:1.2;
  font-weight:700;
  background: rgba(67,240,198,.08);
  transition:all .15s ease;
}
.hl-chip-link:hover{
  background:var(--accent);
  color:#001014;
  border-color:var(--accent);
  box-shadow:0 0 16px var(--accentGlow);
}

/* =========================
   GRIDS + CARDS
   ========================= */
.hl-grid{ display:grid; gap:12px; margin-top:14px; }
@media(min-width:900px){ .hl-grid.cols-3{ grid-template-columns:repeat(3,1fr); } }

.hl-card{
  background:
    linear-gradient(180deg, rgba(18,26,37,.70) 0%, rgba(12,18,28,.72) 100%);
  border:1px solid rgba(140,170,200,.14);
  border-radius:var(--radius-md);
  padding:14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.hl-card h3{ margin:0 0 6px 0; font-size:18px; color:var(--ink); }
.hl-card p{ margin:0; color:var(--muted); font-size:14px; line-height:1.55; }
.hl-card:hover{
  border-color: rgba(67,240,198,.26);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}

/* Two-up layout */
.hl-two-up{ display:grid; gap:12px; }
@media (min-width: 900px){
  .hl-two-up{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Checklist spacing */
.hl-checklist{ margin:8px 0 0; padding-left:18px; }
.hl-checklist li{ margin:4px 0; }

/* =========================
   HERO LAYOUTS
   ========================= */
.hl-hero-grid,
.hl-state-hero{
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:flex-start;
}
@media(min-width:900px){
  .hl-hero-grid,
  .hl-state-hero{
    flex-direction:row;
    align-items:stretch;
    justify-content:space-between;
  }
}
/* inside WP, go side-by-side sooner */
@media(min-width:760px){
  body.co2-page .hl-hero-grid,
  body.co2-page .hl-state-hero{
    flex-direction:row;
    align-items:stretch;
    justify-content:space-between;
  }
}

.hl-hero-main,
.hl-state-hero-main{ flex:1 1 58%; }

.hl-hero-art,
.hl-state-hero-art{
  flex:1 1 42%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:12px;
  width:100%;
}
@media(min-width:900px){
  .hl-hero-art,
  .hl-state-hero-art{ margin-top:0; }
}

.hl-hero-art-link{ display:block; width:100%; }
.hl-hero-art-link img,
.hl-state-hero-art img{
  width:100%;
  height:auto;
  border-radius:var(--radius-lg);
  border:1px solid rgba(140,170,200,.16);
  background: rgba(0,0,0,.25);
  object-fit:contain;
  padding:6px;
  box-shadow: var(--shadow2);
  display:block;
  transition:transform .12s ease, box-shadow .12s ease;
}

/* stacked: keep image chill */
.hl-hero-art-link img,
.hl-state-hero-art img{
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}
/* side-by-side: fill column */
@media(min-width:760px){
  body.co2-page .hl-hero-art-link img,
  body.co2-page .hl-state-hero-art img{
    max-width:100%;
    margin:0;
  }
}

/* =========================
   USE-CASE PILLS (CO2)
   ========================= */
.co2-pill-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.co2-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(140,170,200,.18);
  background: rgba(255,255,255,.03);
  color: var(--ink);
  text-decoration:none;
  font-weight:900;
  letter-spacing:.2px;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.co2-pill:hover{
  transform: translateY(-1px);
  border-color: rgba(67,240,198,.35);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.co2-pill .dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accentGlow);
}

/* =========================
   STATE CHIPS + SELECT
   (kept compatible with your Helium homepage scripts)
   ========================= */
.state-chip{
  display:inline-block;
  text-align:center;
  text-decoration:none;
  padding:10px 12px;
  border:1px solid rgba(140,170,200,.18);
  border-radius:999px;
  font-weight:900;
  letter-spacing:.3px;
  color:var(--ink);
  background: rgba(255,255,255,.03);
  transition:all .15s ease;
  font-size:14px;
  line-height:1.2;
}
.state-chip:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(0,0,0,.45);
  background: rgba(67,240,198,.12);
  border-color: rgba(67,240,198,.35);
}
.state-chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.chip-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px; }

.state-chip-primary{
  background: linear-gradient(180deg, rgba(67,240,198,1) 0%, rgba(28,210,185,1) 100%);
  color:#001014;
  border-color:transparent;
  box-shadow: 0 14px 34px rgba(67,240,198,.22);
}
.state-chip-primary:hover{
  background: linear-gradient(180deg, rgba(67,240,198,1) 0%, rgba(28,210,185,1) 100%);
  color:#001014;
  box-shadow: 0 18px 46px rgba(67,240,198,.30);
}

/* Denser chips on phones */
@media (max-width: 620px){
  .chip-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .state-chip-row{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .state-chip{ width:100%; font-size:13px; padding:10px 10px; line-height:1.15; }
}
@media (max-width: 420px){
  .chip-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .state-chip-row{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.state-jump-select{
  -webkit-appearance:none; appearance:none;
  background: rgba(255,255,255,.03) !important;
  color:var(--ink) !important;
  border:1px solid rgba(140,170,200,.18) !important;
  border-radius:10px;
  padding:10px 12px;
}
.state-jump-select:focus{
  outline:none;
  border-color: rgba(67,240,198,.45) !important;
  box-shadow:0 0 0 3px rgba(67,240,198,.18);
}
.state-jump-select option{ color:var(--ink); background:#0e131b; }

/* Collapsible "All states" chips */
.state-chips-wrapper{
  margin-top:12px;
  border:1px solid rgba(140,170,200,.18);
  border-radius:var(--radius-lg);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.state-chips-summary{
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  font-weight:900;
  list-style:none;
}
.state-chips-summary::-webkit-details-marker{ display:none; }

.state-chips-cta{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(67,240,198,.45);
  background: rgba(67,240,198,.12);
  color: var(--accent);
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.state-chips-wrapper[open] .state-chips-cta{
  background: var(--accent);
  color:#001014;
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(67,240,198,.22);
}
.state-chips-wrapper .states-grid{
  padding:12px 12px 14px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(64px, 1fr));
  gap:8px;
}

/* =========================
   LIVE DIRECTORY BLOCK + IFRAME SHELL
   ========================= */
.hl-live-block{
  margin:24px auto 48px auto;
  border-radius:var(--radius-lg);
  background: linear-gradient(180deg, rgba(12,18,28,.78) 0%, rgba(8,14,22,.80) 100%);
  color:var(--ink);
  padding:24px var(--hl-pad) 0 var(--hl-pad);
}
@media(min-width:1024px){
  .hl-live-block{ padding-left:var(--hl-pad-lg); padding-right:var(--hl-pad-lg); }
}
.hl-live-head{ max-width:900px; }
.hl-live-head h2{ margin:0 0 12px 0; font-size:22px; line-height:1.2; font-weight:800; color:var(--ink); }
.hl-live-head p{ margin:0 0 16px 0; color:var(--muted) !important; font-size:14px; line-height:1.5; max-width:70ch; }

/* Mobile full-bleed for live block */
@media (max-width: 900px){
  body.co2-page .hl-live-block{
    width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  body.co2-page .hl-live-block > .hl-live-head{
    margin-left:var(--hl-pad) !important;
    margin-right:var(--hl-pad) !important;
  }
}

/* Iframe shell */
.hl-iframe-shell{
  background: rgba(0,0,0,.22);
  margin-top:12px;
  border-top:1px solid rgba(140,170,200,.16);
  position:relative;
  width:100%;
  min-height:80vh;
  overflow:hidden;
}
@media(min-width:1024px){
  .hl-iframe-shell{
    border:1px solid rgba(140,170,200,.16);
    border-radius:var(--radius-md);
  }
}
.hl-iframe-shell iframe{
  display:block;
  width:100% !important;
  min-width:100% !important;
  border:0 !important;
  height:80vh !important;
  min-height:80vh !important;
  background:#0e131b;
  color-scheme:dark;
}
@media(min-width:1024px){ .hl-iframe-shell iframe{ border-radius:12px; } }
@media(min-width:1280px){ .hl-iframe-shell iframe{ height:85vh !important; min-height:85vh !important; } }

/* =========================
   FAQ + ACCORDIONS
   ========================= */
details.hl-faq{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(140,170,200,.18);
  border-radius:var(--radius-sm);
  padding:10px;
}
details.hl-faq + details.hl-faq{ margin-top:8px; }
details.hl-faq summary{
  cursor:pointer;
  font-weight:800;
  color:var(--ink);
  font-size:15px;
  line-height:1.35;
  outline:none;
}
.hl-faq-text{ margin-top:6px; font-size:13px; color:var(--muted) !important; line-height:1.5; }

.hl-accord details{ border:1px solid rgba(140,170,200,.18); border-radius:var(--radius-md); margin:10px 0; background: rgba(255,255,255,.03); }
.hl-accord summary{ cursor:pointer; padding:12px 14px; font-weight:900; list-style:none}
.hl-accord summary::-webkit-details-marker{ display:none; }
.hl-accord .hl-faq-text{ padding:0 14px 12px 14px; color:var(--muted) !important; }

/* =========================
   FOOTER
   ========================= */
.hl-footer{
  margin-top:28px;
  font-size:12px;
  color:var(--muted) !important;
  text-align:left;
  line-height:1.5;
}
.hl-footer a{ color:var(--accent); text-decoration:none; }
.hl-footer a:hover{ text-decoration:underline; }

.site-footer-nav{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  justify-content:flex-start;
  font-size:14px;
  opacity:.9;
}
.site-footer-nav a{ color:var(--accent); }
.site-footer-nav span{ color:var(--muted) !important; }

/* RankMath breadcrumbs (if present) */
.rm-breadcrumbs { margin:8px 0 12px; font-size:14px; opacity:.9 }
.rm-breadcrumbs a:hover { text-decoration:underline }

/* =========================
   MOBILE FULL-BLEED FOR MAIN BLOCKS
   (matches your Helium behavior)
   ========================= */
@media (max-width: 900px){
  body.co2-page .hl-shell{
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.co2-page .hl-wrap,
  body.co2-page .hl-body-wrap,
  body.co2-page .hl-wrap-bg{
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-left: var(--hl-pad) !important;
    padding-right: var(--hl-pad) !important;

    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
  }
}

/* =========================
   GUIDES LIST BLOCK (from Helium, kept)
   ========================= */
.hl-guides{ margin-top:24px; }
.hl-guides-list{ list-style:none; margin:12px 0 0; padding:0; }
.hl-guides-list li{
  margin-bottom:12px;
  padding:10px 12px;
  border-radius:var(--radius-sm);
  background: rgba(255,255,255,.03);
  border:1px solid rgba(140,170,200,.18);
}
.hl-guides-list li strong{ font-size:14px; }
.hl-guide-actions{ margin-top:8px; display:flex; flex-wrap:wrap; gap:8px; }

/* Meta / brag text */
.hl-meta{
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.hl-meta-link{ text-decoration: none; }
.hl-meta-link:hover,
.hl-meta-link:focus{ text-decoration: underline; }

/* === CO2: Link styling (readability + no weird underline) === */
.hl-fullbleed a{
  color: inherit;
  text-decoration: none;
}

.hl-fullbleed a:hover{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* When links live inside content, give them a subtle accent so they’re discoverable */
.hl-body-wrap a:not(.hl-btn):not(.state-chip):not(.co2-pill):not(.hl-chip-link),
.hl-wrap-bg a:not(.hl-btn):not(.state-chip):not(.co2-pill):not(.hl-chip-link){
  color: rgba(67,240,198,.92);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hl-body-wrap a:not(.hl-btn):not(.state-chip):not(.co2-pill):not(.hl-chip-link):hover,
.hl-wrap-bg a:not(.hl-btn):not(.state-chip):not(.co2-pill):not(.hl-chip-link):hover{
  color: var(--accent);
  text-decoration-thickness: 3px;
}

/* Better keyboard focus */
.hl-fullbleed a:focus-visible,
.hl-fullbleed button:focus-visible,
.hl-fullbleed input:focus-visible,
.hl-fullbleed select:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(67,240,198,.20);
  border-radius: 10px;
}
/* === CO2: Inputs (use for picker + search + filters) === */
.hl-input,
.hl-select{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: rgba(255,255,255,.03);
  color: var(--ink);
  border: 1px solid rgba(140,170,200,.18);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.2;
  min-height: 42px;
}

.hl-input::placeholder{ color: rgba(168,183,201,.65); }

.hl-input:focus,
.hl-select:focus{
  outline: none;
  border-color: rgba(67,240,198,.45);
  box-shadow: 0 0 0 3px rgba(67,240,198,.18);
}
/* === CO2: Tiny utilities (reduce inline styles) === */
.hl-center{ text-align: center; }
.hl-tight{ padding: 16px !important; }
.hl-mt-16{ margin-top: 16px !important; }
.hl-mt-24{ margin-top: 24px !important; }
.hl-max-70ch{ max-width: 70ch; }
/* === CO2: Readability bump === */
.hl-head p,
.hl-card p,
.hl-small{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hl-head p{ color: rgba(168,183,201,.92); }
.hl-small{ color: rgba(168,183,201,.85) !important; }

/* === CO2 v0.2: Search Card === */
.hl-search-card{
  margin-top: 14px;
  border: 1px solid rgba(140,170,200,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  padding: 14px;
}

.hl-search-grid{
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr auto;
  gap: 10px;
  align-items: center;
}
@media (max-width: 900px){
  .hl-search-grid{ grid-template-columns: 1fr; }
}

.hl-field label{
  display:block;
  font-size: 13px;
  color: rgba(168,183,201,.85);
  margin: 0 0 6px 2px;
  font-weight: 600;
}

.hl-input, .hl-select{
  width: 100%;
  background: rgba(255,255,255,.03);
  color: var(--ink);
  border: 1px solid rgba(140,170,200,.18);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 42px;
}
.hl-input::placeholder{ color: rgba(168,183,201,.60); }
.hl-input:focus, .hl-select:focus{
  outline: none;
  border-color: rgba(67,240,198,.45);
  box-shadow: 0 0 0 3px rgba(67,240,198,.18);
}

/* === CO2 v0.2: Featured tiles === */
.co2-tiles{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
@media (min-width: 900px){
  .co2-tiles{ grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.co2-tile{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(140,170,200,.18);
  background: rgba(255,255,255,.02);
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.co2-tile:hover{
  transform: translateY(-1px);
  border-color: rgba(67,240,198,.45);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.co2-ico{
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(67,240,198,.25);
  background: rgba(67,240,198,.10);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.co2-tile strong{
  font-size: 14px;
  color: var(--ink);
}

/* === CO2 v0.2: Trust strip === */
.hl-trust-strip{
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px){
  .hl-trust-strip{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hl-trust{
  border: 1px solid rgba(140,170,200,.14);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 10px 12px;
  color: rgba(168,183,201,.90);
  font-size: 13px;
  line-height: 1.35;
}

/* === CO2 v0.2: Guide list thumbnails === */
.hl-guides-list li{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
}
@media (max-width: 700px){
  .hl-guides-list li{ grid-template-columns: 1fr; }
}
.hl-guide-thumb{
  width: 96px; height: 96px;
  border-radius: 14px;
  border: 1px solid rgba(140,170,200,.18);
  background: rgba(255,255,255,.03);
  object-fit: cover;
}
/* === Fix: use-case tiles text overflow === */
.co2-tile{
  min-width: 0;                 /* allows text to shrink inside grid cells */
  overflow: hidden;
}

.co2-tile strong{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;      /* prevents spill */
  white-space: nowrap;          /* keep single line */
  display: block;
}

@media (max-width: 900px){
  .co2-tile strong{
    white-space: normal;        /* on mobile allow wrap */
  }
}
/* === Buttons: slightly softer text (still high contrast) === */
.hl-btn.ghost{
  color: rgba(232,240,255,.92);     /* soft white */
}

.hl-btn{
  letter-spacing: .1px;
}
.hl-btn.ghost{
  border-color: rgba(67,240,198,.22);
  background: rgba(67,240,198,.06);
}
.hl-btn.ghost:hover{
  background: rgba(67,240,198,.16);
  border-color: rgba(67,240,198,.35);
}
.hl-btn { text-decoration: none !important; }

