
:root{
  --bg:#fff;
  --surface:#ffffff;
  --surface-2:#faf7ff;
  --text:#12131a;
  --muted:#5a5f73;
  --brand:#7c3aed;
  --brand-2:#ec4899;
  --border:#e7e7ef;
  --shadow:0 10px 30px rgba(15, 23, 42, .08);
  --radius:18px;
  --max:1100px;
  --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{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.6}

html, body{width:100%;overflow-x:hidden}
img, svg{max-width:100%;height:auto}

a{color:inherit}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:18px;top:12px;width:auto;height:auto;background:#fff;padding:10px 12px;border:1px solid var(--border);border-radius:12px;z-index:9999}
.topbar{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(180%) blur(10px);
  background:rgba(255,255,255,.85);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 0;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand svg{width:34px;height:34px}
.brand .name{display:flex;flex-direction:column;line-height:1.1}
.brand .name strong{font-size:15px;letter-spacing:.2px}
.brand .name span{font-size:12px;color:var(--muted)}
.menu{display:flex;gap:12px;align-items:center}
.menu a{padding:9px 10px;border-radius:12px;text-decoration:none;color:var(--muted);font-weight:600;font-size:14px}
.menu a:hover{background:var(--surface-2);color:var(--text)}
.search-wrap{position:relative;display:none}
.search-wrap input{
  width:280px;padding:10px 12px;border-radius:14px;border:1px solid var(--border);
  background:#fff;outline:none;
}
.search-results{
  position:absolute;left:0;right:0;top:44px;background:#fff;border:1px solid var(--border);
  border-radius:14px;box-shadow:var(--shadow);max-height:340px;overflow:auto;display:none;
}
.search-results a{display:block;padding:10px 12px;text-decoration:none;border-bottom:1px solid var(--border)}
.search-results a:last-child{border-bottom:0}
.search-results a:hover{background:var(--surface-2)}
.hamburger{
  width:44px;height:44px;border-radius:14px;border:1px solid var(--border);
  background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.hamburger svg{width:22px;height:22px}
.mobile-menu{
  display:none;border-top:1px solid var(--border);padding:10px 0 14px 0;
}
.mobile-menu a{
  display:block;text-decoration:none;color:var(--text);
  padding:12px 10px;border-radius:14px;font-weight:700;
}
.mobile-menu a:hover{background:var(--surface-2)}
.hero{
  padding:56px 0 28px 0;
  background:radial-gradient(1200px 450px at 15% 0%, rgba(124,58,237,.14), transparent 60%),
             radial-gradient(1100px 420px at 85% 10%, rgba(236,72,153,.12), transparent 55%);
}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:stretch}
.card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-card{padding:22px}
.hero h1{margin:0 0 10px 0;font-size:40px;line-height:1.15;letter-spacing:-.6px}
.hero p{margin:0;color:var(--muted);font-size:16px}
.hero .cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:11px 14px;border-radius:14px;border:1px solid var(--border);
  text-decoration:none;font-weight:800;font-size:14px;
}
.btn.primary{
  border-color:transparent;color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
}
.btn.secondary{background:#fff}
.pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.pill{font-size:12px;font-weight:800;color:#1f2937;background:var(--surface-2);border:1px solid var(--border);padding:8px 10px;border-radius:999px}
.kpi{padding:18px}
.kpi h2{margin:0 0 8px 0;font-size:14px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.8px}
.kpi svg{width:100%;height:auto}
.section{padding:26px 0}
.section h2{margin:0 0 12px 0;font-size:22px;letter-spacing:-.2px}
.grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;
}
.post-card{padding:16px;display:flex;flex-direction:column;gap:10px}
.post-card .meta{display:flex;gap:8px;flex-wrap:wrap}
.badge{font-size:11px;font-weight:900;color:rgba(124,58,237,.95);background:rgba(124,58,237,.08);border:1px solid rgba(124,58,237,.20);padding:6px 8px;border-radius:999px}
.post-card h3{margin:0;font-size:16px;line-height:1.25}
.post-card p{margin:0;color:var(--muted);font-size:14px}
.post-card a{margin-top:auto}
.article{
  padding:28px 0 44px 0;
}
.article .wrap{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start}
.article-card{padding:22px}
.article h1{margin:0 0 8px 0;font-size:34px;line-height:1.2;letter-spacing:-.5px}
.article .sub{color:var(--muted);margin:0 0 14px 0}
.article-content h2{margin-top:22px}
.article-content ul{padding-left:18px}
.related{padding:16px}
.related h3{margin:0 0 10px 0;font-size:15px}
.related a{display:block;padding:10px 10px;border-radius:14px;text-decoration:none;border:1px solid var(--border);margin-bottom:10px}
.related a:hover{background:var(--surface-2)}
.side-search{padding:16px}
.side-search input{width:100%;padding:10px 12px;border-radius:14px;border:1px solid var(--border);outline:none}
.footer{
  border-top:1px solid var(--border);
  padding:22px 0;color:var(--muted);font-size:14px;
}
.footer a{text-decoration:none}
.cookie-banner{
  position:fixed;left:14px;right:14px;bottom:14px;z-index:100;
  background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);
  padding:14px;display:none;
}
.cookie-banner .row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.cookie-banner p{margin:0;color:var(--muted);font-size:13px;max-width:760px}
.cookie-banner .actions{display:flex;gap:10px}
.cookie-banner button{
  border:1px solid var(--border);background:#fff;border-radius:14px;padding:10px 12px;
  font-weight:900;cursor:pointer;
}
.cookie-banner button.accept{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-2))}
@media (min-width: 860px){
  .search-wrap{display:block}
  .hamburger{display:none}
  .mobile-menu{display:none !important}
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr)}
  .article .wrap{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .grid{grid-template-columns:1fr}
  .hero h1{font-size:34px}
}

@media (max-width: 859px){
  .menu{display:none !important}
  .search-wrap{display:none !important}
  .hamburger{display:flex}
  .mobile-menu{width:100%}
}

.start-here .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
.start-here .card h3{margin-top:0}
.callout{margin-top:18px}
.faq details{border:1px solid var(--border);border-radius:16px;padding:12px 14px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.06);margin:12px 0}
.faq summary{cursor:pointer;font-weight:900}
.faq p{margin:10px 0 0 0;color:var(--muted)}
.section{padding:34px 0}

@media (max-width: 980px){
  .start-here .cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 560px){
  .start-here .cards{grid-template-columns:1fr}
}

.meta .date{margin-left:10px;color:var(--muted);font-weight:800;font-size:12px}


/* --- Revision 10 polish fixes --- */
html, body { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 22px;
  align-items:start;
}

.hero-right{ display:flex; flex-direction:column; gap: 18px; }

.hero-card .lead{ font-size: 18px; color: var(--muted); margin-top: 10px; }

.about-teaser{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.about-teaser h2{ margin:0 0 8px 0; font-size: 16px; }
.about-teaser p{ margin:0; color: var(--muted); }
.text-link{
  display:inline-block;
  margin-top: 10px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}
.text-link:hover{ text-decoration: underline; }

.start-here h2{ margin-top:0; text-align:center; }
.start-list{ display:flex; flex-direction:column; gap: 12px; margin-top: 12px; }
.start-item{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  justify-content:space-between;
  text-decoration:none;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
}
.start-item:hover{ transform: translateY(-1px); }
.start-meta{ flex:1; min-width: 0; }
.start-title{ font-weight: 800; line-height: 1.2; }
.start-desc{ margin-top: 6px; color: var(--muted); line-height: 1.4; }
.start-cta{
  flex: 0 0 auto;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}

.section.faq details{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.section.faq summary{
  cursor:pointer;
  font-weight: 800;
}
.section.faq summary::-webkit-details-marker{ display:none; }

/* Fix menu/spacing on mobile */
@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-right{ order: 2; }
}


/* About / static pages */
.page{ padding: 10px 0 28px; }
.page-header{ margin: 18px 0 16px; }
.page-header .lead{ margin-top: 10px; }
.page-section{ margin-top: 18px; }
.clean-list{ padding-left: 18px; margin: 10px 0 0; }
.clean-list li{ margin: 8px 0; color: var(--muted); }
.link-card{ display:block; text-decoration:none; color: inherit; }
.link-card:hover{ transform: translateY(-1px); }
