:root {
  --bg: #0c0c0d;
  --panel: #161618;
  --panel-2: #1f1f22;
  --text: #f2f2f3;
  --muted: #b7b7bd;
  --line: #2f2f35;
  --accent: #a78bfa;
  --accent-2: #34d399;
  --focus: #f59e0b;
}
* { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }
body {
  font-family: Inter, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #0a0a0b 0%, #101113 100%);
  color: var(--text);
  line-height: 1.6;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: .8rem; top: .8rem; background: #fff; color: #000; padding: .45rem .7rem; border-radius: 8px; z-index: 999; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(8px);
}
.brand { font-weight: 800; letter-spacing: .02em; }
.topbar nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.topbar a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.topbar a:hover { color: var(--text); }
.layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: .95rem;
  grid-template-columns: 1fr;
}
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}
.hero h1 {
  margin: .35rem 0 .5rem;
  line-height: 1.12;
  font-size: clamp(1.8rem, 5vw, 3rem);
}
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--accent-2);
  font-weight: 700;
}
.lead { color: var(--muted); max-width: 72ch; }
.ctaRow { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .9rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  padding: .42rem .88rem;
  font-weight: 700;
  background: #212127;
}
.btn.primary { background: var(--accent); border-color: transparent; color: #1b1238; }
.btn:hover { filter: brightness(1.06); }
.btn:focus, .miniApp:focus, .miniLink:focus, .topbar a:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.story {
  border-left: 4px solid var(--accent);
}
.story p { margin: .6rem 0; }
ul { margin: .4rem 0 0 1.1rem; }
li { margin: .25rem 0; }
.sidebar { display: grid; gap: .95rem; }
.sideCard h2 { margin-top: 0; margin-bottom: .65rem; font-size: 1.03rem; }
.miniApp {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .68rem;
  background: #1f2030;
}
.miniApp span { display: block; font-size: .86rem; color: var(--muted); margin-top: .18rem; }
.miniLink {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .5rem .65rem;
  margin-bottom: .45rem;
  font-size: .9rem;
  background: #1b1b20;
}
.small { font-size: .85rem; }
.muted { color: var(--muted); }
.footer {
  max-width: 1120px;
  margin: .15rem auto 1.3rem;
  padding: 0 1rem;
  color: var(--muted);
  font-size: .9rem;
}
@media (min-width: 940px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      "hero sidebar"
      "story sidebar"
      "mission sidebar"
      "pipeline sidebar";
    align-items: start;
  }
  .hero { grid-area: hero; }
  .sidebar { grid-area: sidebar; position: sticky; top: 72px; }
  #story { grid-area: story; }
  #mission { grid-area: mission; }
  .layout > section.card:last-of-type { grid-area: pipeline; }
}
