:root {
  --blue: #0D6DC4;
  --lime: #B5E700;
  --navy: #0A1628;
  --navy-light: #101c2e;
  --navy-mid: #142032;
  --navy-surface: #1f2a3d;
  --text: #d7e3fc;
  --text-muted: #8b919d;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Hanken Grotesk', sans-serif; }

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 72px;
  background: rgba(16, 28, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 109, 196, 0.2);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav { display: flex; gap: 32px; align-items: center; }

.nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover { color: var(--lime); }
.nav a.active { color: var(--lime); border-bottom: 2px solid var(--lime); padding-bottom: 2px; }

.btn-pill {
  padding: 10px 28px;
  background: var(--lime);
  color: var(--navy);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
}

.btn-pill:hover { background: #c8f033; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
}

.hero-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 40px;
}

.hero-content { max-width: 680px; position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(13, 109, 196, 0.3);
  border-radius: 20px;
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 span { color: var(--blue); }

.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
}

/* Email Form */
.form-wrap { max-width: 460px; margin: 0 auto; }

.email-form { display: flex; gap: 10px; }

.input-group {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  z-index: 1;
}

.email-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: var(--navy-light);
  border: 1px solid rgba(165, 200, 255, 0.12);
  border-radius: 50px;
  color: var(--text);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus { border-color: var(--blue); }

.email-form .btn-pill {
  padding: 14px 28px;
  font-size: 13px;
  white-space: nowrap;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* About Section — LEFT ALIGNED */
.about {
  padding: 96px 24px;
  background: var(--navy-light);
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
}

.about p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: justify;
}

.about-highlight {
  display: block;
  margin-top: 20px;
  padding: 20px 28px;
  background: var(--navy-mid);
  border-left: 4px solid var(--blue);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.about-highlight strong { color: var(--blue); }

/* Stats Bar */
.stats {
  padding: 48px 24px;
  background: var(--navy);
  border-top: 1px solid rgba(165, 200, 255, 0.06);
  border-bottom: 1px solid rgba(165, 200, 255, 0.06);
}

.stats-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-number.blue { color: var(--blue); }
.stat-number.lime { color: var(--lime); }
.stat-number.white { color: var(--white); }

.stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Topics Section — LEFT ALIGNED */
.topics {
  padding: 96px 24px;
  background: var(--navy);
}

.topics-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--navy-mid);
  border: 1px solid rgba(165, 200, 255, 0.06);
}

.topic-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 109, 196, 0.15);
  border-radius: 8px;
  font-size: 16px;
}

.topic-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.topic-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Speakers Section — LEFT ALIGNED */
.speakers-section {
  padding: 96px 24px;
  background: var(--navy-light);
}

.speakers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  border-left: 4px solid var(--blue);
  padding-left: 24px;
  margin-bottom: 48px;
  text-align: left;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
}

.section-header p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.speaker-card {
  padding: 24px;
  background: var(--navy-mid);
  border: 1px solid rgba(165, 200, 255, 0.06);
  transition: border-color 0.3s;
}

.speaker-card:hover { border-color: rgba(13, 109, 196, 0.3); }

.speaker-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.speaker-card .speaker-title {
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 8px;
}

.speaker-card .speaker-bio {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Story Section — LEFT ALIGNED */
.story {
  padding: 96px 24px;
  background: var(--navy);
}

.story-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--navy-mid);
  border: 1px solid rgba(165, 200, 255, 0.08);
  padding: 40px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s;
  display: block;
  text-align: left;
}

.card:hover { border-color: rgba(13, 109, 196, 0.4); }

.card-year {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 80px;
  font-weight: 800;
  color: rgba(165, 200, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.card-tag.blue { color: var(--blue); }
.card-tag.lime { color: var(--lime); }

.card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-align: justify;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap 0.3s;
}

.card-link.blue { color: var(--blue); }
.card-link.lime { color: var(--lime); }

.card:hover .card-link { gap: 14px; }

/* Return Section */
.return {
  padding: 96px 24px;
  background: var(--navy-light);
  text-align: center;
}

.return-inner { max-width: 640px; margin: 0 auto; }

.return h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}

.return p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* Footer */
.footer {
  padding: 48px 24px;
  background: var(--navy);
  border-top: 1px solid rgba(165, 200, 255, 0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 8px;
}

.footer-col a:hover { color: var(--blue); }

.footer-ecosystem {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(165, 200, 255, 0.06);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-ecosystem a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-ecosystem a:hover { color: var(--lime); }

/* Ghost specific */
.gh-content a { color: var(--blue); }
.gh-post-meta { color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .header { padding: 0 16px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; gap: 24px; align-items: center; }
  /* On mobile, keep centered for readability */
  .about p, .card p { text-align: left; }
}

/* Ghost required classes */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: auto calc(50% - 42.5vw);
  max-width: none;
}

.kg-width-full {
  position: relative;
  width: 100vw;
  margin: auto calc(50% - 50vw);
  max-width: none;
}

.kg-width-wide img,
.kg-width-full img {
  width: 100%;
  height: auto;
}

.kg-bookmark-card { border: 1px solid rgba(165, 200, 255, 0.1); padding: 16px; }
.kg-code-card { background: var(--navy-light); padding: 16px; border-radius: 4px; }
figcaption { color: var(--text-muted); font-size: 13px; margin-top: 8px; text-align: center; }
