:root {
  --ink: #10202c;
  --muted: #5f7080;
  --paper: #f7fafc;
  --panel: #ffffff;
  --line: #dce7ee;
  --blue: #1d79c2;
  --cyan: #29b7d8;
  --green: #12ad76;
  --amber: #e4a11b;
  --red: #d65445;
  --shadow: 0 24px 70px rgba(22, 42, 61, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 3.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(237, 248, 252, 0.9), rgba(247, 250, 252, 0.96) 32rem),
    var(--paper);
  font-family: Inter, Arial, sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px !important;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px !important;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px !important;
  }
}

@media (min-width: 640px) {
  .container {
    max-width: 640px !important;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 30px;
  }
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1280px !important;
}

.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1rem 0;
  background: rgba(247, 250, 252, 0.82);
  border-bottom: 1px solid rgba(220, 231, 238, 0.8);
  backdrop-filter: blur(18px);
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 2rem;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

.brand-logo path {
  fill: none;
  stroke: #23c3ee;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo text {
  fill: #23c3ee;
  font-family: Inter, Arial, sans-serif;
  font-size: 7.4px;
  font-weight: 800;
  letter-spacing: 0;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.topbar nav a:hover {
  color: var(--blue);
}

.topbar nav a.active {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16, 32, 44, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-open .menu-overlay {
  display: block;
  opacity: 1;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.4rem);
  padding-top: 1.25rem;
  padding-bottom: 7rem;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-media::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  right: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
  opacity: 0.7;
}

.hero-media {
  overflow: visible !important;
}

.hero-media img {
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.25rem;
  max-width: 11ch;
  font-size: clamp(3.4rem, 9vw, 7.7rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text,
.section-heading p {
  max-width: 45rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(16, 32, 44, 0.25);
}

.secondary-action {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.inactive-action {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(220, 231, 238, 0.5);
  border: 1.5px dashed var(--muted);
  cursor: not-allowed;
  opacity: 0.75;
}

.hero-media,
.feature-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 238, 0.9);
  border-radius: 8px;
  background: #e8f1f6;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left top;
}

.live-strip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  color: #fff;
  background: rgba(16, 32, 44, 0.86);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(18, 173, 118, 0.8);
  animation: pulse 1.7s infinite;
}

.down-button {
  position: fixed;
  left: 50%;
  bottom: clamp(1.15rem, 4vh, 2.5rem);
  z-index: 18;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.down-button.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 0.45rem);
}

.down-button span {
  width: 0.85rem;
  height: 0.85rem;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: translateY(-0.18rem) rotate(45deg);
}

.contributors-section {
  background: #10202c;
  color: #fff;
}

.contributors-section .eyebrow {
  color: #7fe6ff;
}

.contributors-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.contributors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.contributor-card {
  position: relative;
  min-height: 16rem;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border: 1px solid rgba(127, 230, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    #142b3b;
}

/* Comet canvas — drawn by JS, extends 4px beyond card border */
.card-comet {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  pointer-events: none;
  z-index: 2;
}

.contributor-card:first-child {
  grid-row: auto;
}

.contributor-card::before,
.contributor-card::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, #7fe6ff, transparent);
  opacity: 0.72;
  transform: rotate(-24deg);
}

.contributor-card::before {
  top: 1.15rem;
  right: -2.5rem;
  width: 10rem;
  height: 2px;
}

.contributor-card::after {
  right: 1.5rem;
  bottom: 1rem;
  width: 4.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.contributor-card h3 {
  position: relative;
  display: inline-block;
  margin: 0 0 0.2rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.contributor-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 999px;
}

.contributor-names {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin-top: 0.75rem;
}

.contributor-names.is-ideas {
  grid-template-columns: 1fr;
  gap: 0;
}

.idea-row {
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(127, 230, 255, 0.16);
}

.idea-row:last-child {
  border-bottom: none;
}

.idea-arrow {
  color: rgba(255, 255, 255, 0.45);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.idea-name {
  display: flex;
  align-items: flex-start;
  color: #eafcff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.idea-name::before {
  content: "";
  flex: 0 0 auto;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #7fe6ff;
  box-shadow: 0 0 16px rgba(127, 230, 255, 0.45);
}

.idea-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contributor-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contributor-name {
  display: flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0;
  color: #eafcff;
  border-bottom: 1px solid rgba(127, 230, 255, 0.16);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.contributor-name::before {
  content: "";
  flex: 0 0 auto;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: #7fe6ff;
  box-shadow: 0 0 16px rgba(127, 230, 255, 0.45);
}

.contributor-name.is-empty {
  color: rgba(255, 255, 255, 0.68);
  border-style: dashed;
}

.contributor-name.is-empty::before {
  background: var(--amber);
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.feature-image {
  position: sticky;
  top: 6rem;
}

.feature-cards,
.progress-board {
  display: grid;
  gap: 1rem;
}

.feature-card,
.progress-card {
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(22, 42, 61, 0.07);
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.feature-card:nth-child(3n + 2) .feature-icon {
  background: var(--green);
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--amber);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.04rem;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Progress section ── */
.progress-section {
  background: #f7fafc;
}

.progress-board {
  display: flex;
  flex-direction: column;
  max-width: 44rem;
  margin-top: 2rem;
}

.progress-row {
  display: grid;
  grid-template-columns: 1.3rem 2rem 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.progress-row:last-child {
  border-bottom: none;
}

.progress-check {
  display: flex;
  align-items: center;
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}

.progress-check svg {
  width: 100%;
  height: 100%;
}

.progress-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.progress-label {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
}

/* done */
.status-done .progress-check {
  color: var(--green);
}

.status-done .progress-label {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(95, 112, 128, 0.4);
  font-weight: 500;
}

.status-done .progress-num {
  color: var(--green);
  opacity: 0.7;
}

/* active — highlighted */
.status-active .progress-check {
  color: var(--blue);
}

.status-active .progress-label {
  color: var(--ink);
  font-weight: 700;
}

.status-active .progress-num {
  color: var(--blue);
}

/* planned */
.status-planned .progress-check {
  color: #c8d8e4;
}

.status-planned .progress-label {
  color: var(--muted);
  font-weight: 500;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ── Footer ── */
.site-footer {
  background: #07141d;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem 3rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 7rem;
  height: auto;
}

.footer-logo path {
  fill: none;
  stroke: #23c3ee;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-logo text {
  fill: #23c3ee;
  font-family: Inter, Arial, sans-serif;
  font-size: 7.4px;
  font-weight: 800;
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
  font-size: 0.88rem;
}

.footer-col-label {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col nav a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 140ms;
}

.footer-col nav a:hover {
  color: #fff;
}

.footer-col-body {
  margin: 0 0 0.9rem;
  line-height: 1.65;
}

.footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 150ms, border-color 150ms;
}

.footer-tg:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.footer-tg svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 0 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-copyright {
  margin: 0;
}

.credit-name {
  display: inline-block;
}

/* ── Founder message section ── */
.founder-section {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3.5rem, 5vw, 4.5rem) 0;
}

.founder-section .section-heading {
  margin-bottom: 1.5rem;
}

.founder-section .section-heading h2 {
  color: #fff;
}

.founder-card {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.93rem, 1.6vw, 1.05rem);
  line-height: 1.8;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.founder-avatar {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d79c2, #23c3ee);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.founder-name {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.founder-tag {
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.founder-greeting {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.founder-card p {
  margin-top: 0;
}

.founder-card strong {
  color: #fff;
  font-weight: 700;
}

.founder-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.founder-features li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.founder-features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #23c3ee;
  font-weight: 700;
}

.founder-why {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #23c3ee;
  border-radius: 0 8px 8px 0;
}

.founder-why-label {
  margin: 0 0 0.5rem;
  color: #23c3ee;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-cta {
  margin-top: 1.5rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.founder-link {
  color: #7fe6ff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  border-bottom: 1px solid rgba(127, 230, 255, 0.3);
}

.founder-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.8rem rgba(18, 173, 118, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(18, 173, 118, 0);
  }
}

@media (max-width: 1020px) {

  .hero-container,
  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 6rem;
  }

  .feature-image {
    position: relative;
    top: auto;
  }

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

  .contributor-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: center;
    padding: 0.7rem 0.75rem;
    backdrop-filter: none;
    background: rgba(247, 250, 252, 0.98);
  }

  .brand-logo {
    width: 5.7rem;
    height: 1.9rem;
  }

  .menu-toggle {
    display: block;
  }

  .topbar nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 260px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(16, 32, 44, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav-open .topbar nav {
    transform: translateX(0);
  }

  .topbar nav a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(220, 231, 238, 0.5);
  }

  .nav-open .icon-menu {
    display: none;
  }

  .nav-open .icon-close {
    display: block !important;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 6.5rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 3;
  }

  .hero::before {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.35rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .down-button {
    display: none;
  }

  .down-button.is-hidden {
    display: none;
  }

  .primary-action,
  .secondary-action {
    justify-content: center;
    width: 100%;
  }

  .hero-media img {
    min-height: 0;
  }

  .contributors-grid,
  .progress-board {
    grid-template-columns: 1fr;
  }

  .contributor-names {
    grid-template-columns: 1fr;
  }

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

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-copyright {
    line-height: 1.6;
  }

  .copyright-part,
  .credit-part {
    display: block;
  }

  .divider {
    display: none;
  }
}