:root {
  color-scheme: dark;
  --bg-0: #05070d;
  --bg-1: #0a1220;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.10);
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(78, 158, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 80% 15%, rgba(175, 108, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 55% 85%, rgba(64, 230, 188, 0.12), transparent 28rem),
    linear-gradient(135deg, var(--bg-0), var(--bg-1));
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 96px;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-content: center;
  gap: 24px;
}

.eyebrow {
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.button.primary {
  background: rgba(255, 255, 255, 0.92);
  color: #07101c;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.panel {
  margin: 64px 0;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(24px);
}

.panel h2,
.principles h3 {
  margin-top: 0;
}

.panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.panel p {
  max-width: 900px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.principles article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

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

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 42px;
  }

  .hero {
    min-height: 72vh;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  h1 {
    letter-spacing: -0.055em;
  }
}


/* Extended proposal section added to continue the scroll experience */
.proposal-extension {
  margin-top: 56px;
}

.eyebrow-lower {
  margin-bottom: 26px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.extension-title {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(3rem, 7.6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.extension-lead {
  max-width: 960px;
  margin: 0 0 52px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.proposal-panel {
  padding-top: clamp(32px, 5vw, 54px);
  padding-bottom: clamp(32px, 5vw, 54px);
}

.proposal-quote {
  max-width: 980px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.proposal-card-stack {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}

.proposal-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.proposal-card h3 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.035em;
}

.proposal-card p,
.founder-card p,
.extension-footer {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.founder-card {
  margin-top: 28px;
  padding: 12px 2px 0;
}

.founder-card p + p {
  margin-top: 10px;
}

.founder-button {
  margin-top: 34px;
  min-height: 62px;
  padding: 0 28px;
  background: #b4d6ff;
  color: #07101c;
  border-color: transparent;
  font-weight: 700;
  font-size: 1rem;
}

.founder-email {
  margin-top: 24px !important;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text);
  word-break: break-word;
}

.extension-footer {
  max-width: 1040px;
  margin: 54px 0 0;
}

@media (max-width: 820px) {
  .proposal-extension {
    margin-top: 40px;
  }

  .extension-title {
    margin-bottom: 18px;
    line-height: 0.98;
  }

  .extension-lead {
    margin-bottom: 34px;
  }

  .proposal-quote {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .proposal-card {
    padding: 24px;
    border-radius: 28px;
  }

  .proposal-card h3 {
    font-size: clamp(1.45rem, 6vw, 2rem);
    margin-bottom: 12px;
  }

  .founder-button {
    width: 100%;
    justify-content: center;
  }

  .extension-footer {
    margin-top: 40px;
  }
}


/* Manifest popup modal — added without changing existing page layout */
.cmf-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cmf-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.cmf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cmf-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 980px);
  overflow: auto;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 0%, rgba(118, 169, 255, 0.18), transparent 25rem),
    radial-gradient(circle at 90% 12%, rgba(175, 108, 255, 0.16), transparent 24rem),
    rgba(14, 20, 32, 0.92);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.55);
  color: var(--text);
  outline: none;
}

.cmf-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 46px;
  height: 46px;
  margin: -12px -12px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cmf-modal-close:hover,
.cmf-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.cmf-modal-kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.cmf-modal-panel h2 {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.cmf-modal-panel h3 {
  margin: 34px 0 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

.cmf-modal-content {
  clear: both;
}

.cmf-modal-content p,
.cmf-modal-content blockquote {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.cmf-modal-content blockquote {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 3px solid rgba(180, 214, 255, 0.68);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
}

html.cmf-modal-open,
body.cmf-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .cmf-modal {
    padding: 12px;
    align-items: end;
  }

  .cmf-modal-panel {
    max-height: 88vh;
    border-radius: 28px;
  }

  .cmf-modal-close {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}
