:root {
  color-scheme: dark;
  --bg: #070a0d;
  --bg-soft: #0d1117;
  --panel: #10161d;
  --panel-2: #0c1218;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(91, 242, 196, 0.28);
  --text: #eef4f5;
  --muted: #92a2a7;
  --muted-2: #65747a;
  --accent: #55f0c3;
  --accent-soft: rgba(85, 240, 195, 0.12);
  --bitcoin: #f3a73d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(85, 240, 195, 0.12), transparent 26rem),
    linear-gradient(180deg, #080b0f 0%, #050608 100%);
  color: var(--text);
}

html.is-framed body {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.language-switch {
  display: inline-flex;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 10px;
}

.language-switch a[aria-current="page"] {
  color: var(--accent);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.96fr);
  gap: 26px;
  align-items: center;
  padding: 42px 0 24px;
}

.hero-copy {
  min-height: 405px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(50px, 5.4vw, 78px);
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 600px;
  color: #cbd8db;
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions,
.listen-links,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.chips a,
.listen-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 0 16px;
}

.button.primary {
  background: var(--accent);
  color: #02100c;
}

.button.secondary,
.chips a,
.listen-links a {
  border: 1px solid var(--border);
  color: #dbe6e8;
  background: rgba(255, 255, 255, 0.035);
}

.listen-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.market-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
}

.market-label,
.market-time {
  font-size: 12px;
}

.price-pill {
  --coin-color: var(--bitcoin);
  --coin-border: rgba(243, 167, 61, 0.28);
  --coin-bg: rgba(243, 167, 61, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--coin-border);
  border-radius: 8px;
  background: var(--coin-bg);
  padding: 0 10px;
  font-variant-numeric: tabular-nums;
}

.price-pill.ethereum {
  --coin-color: #8ea2ff;
  --coin-border: rgba(142, 162, 255, 0.3);
  --coin-bg: rgba(142, 162, 255, 0.08);
}

.crypto-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
}

.price-pill strong {
  color: var(--coin-color);
}

.trust-note {
  max-width: 560px;
  margin-top: 22px;
  border: 1px solid var(--border);
  border-left-color: var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 14px 16px;
}

.trust-note strong {
  color: var(--text);
}

.feature-card,
.panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.feature-card {
  overflow: hidden;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 565px;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(85, 240, 195, 0.18), transparent 55%),
    #111820;
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 18px 20px;
}

.feature-meta h2 {
  margin-bottom: 0;
}

.feature-meta p {
  color: var(--muted);
  margin-bottom: 0;
}

.content-grid,
.lower-grid {
  display: grid;
  gap: 18px;
}

.content-grid {
  grid-template-columns: 1.15fr 0.85fr 1fr;
  padding: 10px 0 18px;
}

.lower-grid {
  grid-template-columns: 0.95fr 1.05fr;
  padding-bottom: 28px;
}

.panel {
  padding: 22px;
}

.panel p {
  color: var(--muted);
  line-height: 1.55;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.panel-heading a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.newsletter-embed {
  width: 100%;
  height: 142px;
  margin: 2px 0 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
}

.post-list,
.channel-list {
  display: grid;
  gap: 10px;
}

.post-list a,
.channel-list a {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  padding: 12px;
}

.channel-list a {
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.channel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  padding: 7px;
  fill: #fff;
}

.x-icon {
  background: #f5f7f8;
  fill: #020507;
}

.linkedin-icon {
  background: #0a66c2;
}

.substack-icon {
  background: #ff6719;
}

.instagram-icon {
  background:
    radial-gradient(circle at 30% 105%, #fdf497 0 18%, #fd5949 45%, #d6249f 64%, #285aeb 100%);
}

.medium-icon {
  background: #f5f7f8;
  fill: #020507;
}

.channel-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.post-list span,
.channel-list span,
.project-card small {
  color: var(--muted-2);
  font-size: 12px;
}

.post-list strong,
.channel-list strong {
  font-size: 14px;
  line-height: 1.35;
}

.agent-panel ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.agent-panel a {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

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

.project-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 16px;
}

.project-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.project-card span {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}

.project-card strong {
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 24px 0 34px;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer strong {
  color: #cfdadd;
}

.site-footer code {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
  justify-content: flex-end;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero,
  .content-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .feature-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    white-space: normal;
  }

  .hero-actions,
  .project-cards,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: start;
  }
}
