:root{
  --bg: #f6f7fb;
  --ink: #12162a;
  --muted: rgba(18,22,42,.72);
  --muted2: rgba(18,22,42,.56);
  --card: #ffffff;
  --line: rgba(18,22,42,.10);

  --brand: #1a73e8;     /* crisp editorial blue */
  --brand2: #00b894;    /* subtle “savings” green */
  --warm: #ffb000;      /* accent */
  --shadow: 0 10px 30px rgba(18,22,42,.10);
  --shadow2: 0 18px 50px rgba(18,22,42,.12);

  --r: 16px;
  --r2: 22px;

  --max: 1140px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(26,115,232,.08), transparent 55%),
    radial-gradient(700px 400px at 85% 10%, rgba(0,184,148,.08), transparent 55%),
    var(--bg);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.wrap{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  background: #0f142a;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
}
.topbar-left{ display:flex; align-items:center; gap: 10px; min-width: 0; }
.topbar-note{ color: rgba(255,255,255,.75); white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }

.badge{
  display:inline-flex;
  align-items:center;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.tiny-link{
  color: rgba(255,255,255,.78);
  padding: 6px 8px;
  border-radius: 10px;
}
.tiny-link:hover{
  text-decoration:none;
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,247,251,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.logo-mark{
  width: 40px; height: 40px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,115,232,.14), rgba(0,184,148,.14));
  border: 1px solid rgba(18,22,42,.12);
  box-shadow: var(--shadow);
}
.logo-mark.mini{ width: 36px; height: 36px; border-radius: 14px; }

.logo-text{ display:grid; gap: 2px; min-width:0; }
.logo-name{
  font-weight: 900;
  letter-spacing: -0.02em;
}
.dot{ color: rgba(18,22,42,.52); }
.logo-sub{
  font-size: .92rem;
  color: var(--muted2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-link{
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 650;
}
.nav-link:hover{
  text-decoration:none;
  background: rgba(26,115,232,.08);
  color: var(--ink);
}

.header-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}
.icon-btn{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(18,22,42,.06);
}
.icon-btn:hover{ filter: brightness(0.99); }

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(26,115,232,.22);
}
.cta:hover{ text-decoration:none; filter: brightness(1.03); }

.menu{
  display:none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
  box-shadow: 0 6px 16px rgba(18,22,42,.06);
}

/* Search overlay */
.search{
  position: fixed;
  inset: 0;
  background: rgba(15,20,42,.55);
  display: none;
  align-items: start;
  justify-content: center;
  padding: 90px 20px 20px;
  z-index: 80;
}
.search.open{ display:flex; }
.search-panel{
  width: min(640px, 100%);
  background: #fff;
  border-radius: var(--r2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  padding: 14px;
}
.search-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 6px 6px 10px;
}
.search-input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(18,22,42,.16);
  padding: 12px 12px;
  font-size: 1rem;
  outline: none;
}
.search-input:focus{ border-color: rgba(26,115,232,.50); box-shadow: 0 0 0 4px rgba(26,115,232,.12); }
.hint{ margin: 10px 6px 0; color: var(--muted2); font-size: .95rem; }

/* Hero */
.hero{ padding: 24px 0 12px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
  align-items: start;
}

.lead-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: var(--shadow2);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.lead-card::before{
  content:"";
  position:absolute;
  inset: -2px -2px auto -2px;
  height: 10px;
  background: linear-gradient(90deg, var(--brand), var(--brand2), var(--warm));
  opacity: .95;
}
.lead-top{
  display:flex;
  gap: 8px;
  align-items:center;
  padding-top: 6px;
}

.pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26,115,232,.08);
  border: 1px solid rgba(26,115,232,.18);
  color: rgba(18,22,42,.76);
  font-weight: 750;
  font-size: .86rem;
}
.pill.alt{
  background: rgba(0,184,148,.08);
  border-color: rgba(0,184,148,.18);
}

h1{
  margin: 12px 0 10px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 70ch;
}

.lead-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(18,22,42,.14);
  background: #fff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(18,22,42,.06);
}
.btn:hover{ text-decoration:none; filter: brightness(0.99); }
.btn.primary{
  border-color: rgba(26,115,232,.22);
  background: rgba(26,115,232,.10);
}

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat{
  border: 1px dashed rgba(18,22,42,.18);
  border-radius: 16px;
  padding: 10px;
  background: rgba(18,22,42,.02);
}
.stat-k{
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}
.stat-v{ color: var(--muted2); font-weight: 650; }

/* Right rail */
.rail-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  padding: 14px;
}
.rail-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.rail-link{ color: rgba(26,115,232,.92); font-weight: 750; }
.rail-link:hover{ text-decoration: underline; }

.rail-item{
  display:block;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(18,22,42,.10);
  background: rgba(18,22,42,.02);
  margin-bottom: 10px;
}
.rail-item:hover{
  text-decoration:none;
  border-color: rgba(26,115,232,.25);
  background: rgba(26,115,232,.06);
}
.rail-title{ display:block; font-weight: 850; letter-spacing: -0.01em; }
.rail-meta{ display:block; color: var(--muted2); font-size: .92rem; margin-top: 2px; }

.rail-divider{
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}

.network-title{ font-weight: 900; margin-bottom: 8px; }
.network-links{ display:flex; flex-wrap: wrap; gap: 8px; }
.chip{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,22,42,.12);
  background: #fff;
  font-weight: 750;
  color: rgba(18,22,42,.74);
}
.chip:hover{ text-decoration:none; border-color: rgba(0,184,148,.25); background: rgba(0,184,148,.06); }

/* Channels */
.channels{ padding: 10px 0 8px; }
.section-head{
  display:flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 10px;
}
.section-head h2{ margin: 0; letter-spacing: -0.02em; }
.section-head p{ margin: 0; color: var(--muted2); max-width: 70ch; }

.section-head.row{ padding-top: 18px; }

.channel-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.channel{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 24px rgba(18,22,42,.06);
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items: center;
}
.channel:hover{
  text-decoration:none;
  border-color: rgba(26,115,232,.22);
  transform: translateY(-1px);
  transition: transform .12s ease;
}
.channel-icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(26,115,232,.10);
  border: 1px solid rgba(26,115,232,.18);
}
.channel-body{ min-width: 0; }
.channel-title{ font-weight: 900; letter-spacing: -0.01em; }
.channel-desc{ color: var(--muted2); font-size: .95rem; margin-top: 2px; }
.arrow{ margin-left: auto; color: rgba(18,22,42,.40); font-weight: 900; }

/* Features */
.features{ padding: 10px 0 0; }
.ghost-link{
  color: rgba(26,115,232,.92);
  font-weight: 850;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(26,115,232,.18);
  background: rgba(26,115,232,.06);
}
.ghost-link:hover{ text-decoration:none; filter: brightness(0.99); }

.feature-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}
.feature-big{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: var(--shadow2);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.feature-big::after{
  content:"";
  position:absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 30% 30%, rgba(255,176,0,.18), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(0,184,148,.16), transparent 55%);
  border-radius: 999px;
  transform: rotate(12deg);
}
.kicker{
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: .80rem;
  color: rgba(18,22,42,.62);
}
.feature-big h3{ margin: 10px 0 8px; font-size: 1.5rem; letter-spacing: -0.02em; }
.feature-big p{ margin: 0 0 12px; color: var(--muted); max-width: 70ch; }

.feature-stack{
  display:grid;
  gap: 12px;
}
.feature-small{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  padding: 14px;
}
.feature-small h3{ margin: 8px 0 6px; letter-spacing: -0.01em; }
.feature-small p{ margin: 0 0 10px; color: var(--muted2); }

.meta{ display:flex; flex-wrap: wrap; gap: 8px; }
.tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,22,42,.12);
  background: rgba(18,22,42,.02);
  color: rgba(18,22,42,.70);
  font-weight: 750;
  font-size: .86rem;
}

/* Callout */
.callout{
  padding: 16px 0 26px;
}
.callout-inner{
  background: linear-gradient(90deg, rgba(26,115,232,.10), rgba(0,184,148,.10));
  border: 1px solid rgba(18,22,42,.12);
  border-radius: var(--r2);
  box-shadow: var(--shadow2);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}
.callout-inner h2{ margin: 0 0 6px; letter-spacing: -0.02em; }
.callout-inner p{ margin: 0; color: var(--muted); max-width: 70ch; }
.callout-actions{ display:flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.footer{ padding: 18px 0 30px; border-top: 1px solid var(--line); }
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
}
.foot-brand{ display:flex; align-items:center; gap: 10px; margin-bottom: 8px; }
.foot-title{ font-weight: 950; letter-spacing: -0.02em; }
.foot-sub{ color: var(--muted2); font-size: .95rem; }
.foot-note{ margin: 0; color: var(--muted2); max-width: 70ch; }

.foot-col{ display:grid; gap: 8px; align-content: start; }
.foot-col strong{ font-weight: 950; }
.foot-col a{ color: var(--muted); }
.foot-col a:hover{ color: rgba(26,115,232,.95); text-decoration:none; }

.foot-bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted2);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .channel-grid{ grid-template-columns: repeat(2, 1fr); }
  .feature-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .topbar-right{ display:none; }
  .nav{ display:none; }
  .menu{ display:inline-flex; }
  .channel-grid{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr; }
  .callout-inner{ flex-direction: column; align-items: start; }
  .footer-grid{ grid-template-columns: 1fr; }
}

