:root {
  --bg: #08111f;
  --bg-soft: #0d1728;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f3f6fb;
  --muted: #b7c2d3;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #8fd3ff;
  --accent-strong: #5fb8ff;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(95, 184, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #09111d 0%, #0b1322 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(8, 17, 31, 0.78);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  height: 42px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  font-size: 14px;
  color: var(--muted);
}

nav a:hover,
nav a.active {
  color: var(--text);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  position: relative;
  padding: 88px 0 56px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 10px;
  width: 320px;
  height: 320px;
  background: url('/assets/6leaf-sub.png') no-repeat center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.03);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 820px;
}

.hero-copy p {
  font-size: 1.1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button,
.button-secondary {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #06111d;
}

.button:hover {
  transform: translateY(-1px);
  color: #06111d;
}

.button-secondary {
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(255,255,255,0.07);
}

.section {
  padding: 28px 0 36px;
}

.section-header {
  margin-bottom: 18px;
}

.section-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 22px;
}

.card p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li {
  margin-bottom: 10px;
}

.kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.kpi {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.03);
  font-size: 14px;
  color: var(--text);
}

.cta {
  margin-top: 18px;
  font-weight: 700;
  color: var(--text);
}

.contact-panel {
  margin-top: 10px;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 64px;
  }

  .hero::after {
    width: 220px;
    height: 220px;
    opacity: 0.06;
  }

}
.article-body h1,
.article-body h2,
.article-body h3 {
  margin-top: 1.4em;
}

.article-body p,
.article-body ul,
.article-body ol {
  max-width: 800px;
}

.article-body a {
  color: var(--accent);
}

.article-body strong {
  color: var(--text);
}

.featured-insight {
  background: linear-gradient(135deg, rgba(143, 211, 255, 0.10), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(143, 211, 255, 0.18);
}

.featured-insight h3 {
  font-size: 1.8rem;
  line-height: 1.15;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.meta-pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--accent);
}

.post-link:hover {
  color: var(--text);
}

.empty-state {
  text-align: center;
  padding: 32px;
}

.home-latest-card {
  min-height: 100%;
}
