/* EarthRise Accelerator static site */

:root {
  --ink: #233044;
  --ink-soft: #536075;
  --muted: #788497;
  --line: #e6ebef;
  --sky: #49e6e2;
  --green: #35b94f;
  --burgundy: #7a0b39;
  --cream: #fbfaf7;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(28, 42, 62, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(73, 230, 226, 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(53, 185, 79, 0.12), transparent 40rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.82);
  border-bottom: 1px solid rgba(230, 235, 239, 0.75);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
  display: block;
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(35, 48, 68, 0.14);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(35, 48, 68, 0.18);
}

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

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 64px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--burgundy), var(--green), var(--sky));
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 4.4vw, 4.35rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  max-width: 840px;
}

h1 .lighter {
  font-weight: 300;
  letter-spacing: -0.075em;
}

.lede {
  max-width: 700px;
  margin: 28px 0 0;
  font-size: clamp(1.14rem, 2vw, 1.35rem);
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(230, 235, 239, 0.88);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}

.logo-lockup {
  width: min(100%, 410px);
  margin: 0 auto;
  display: block;
}

.stat-row {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(251, 250, 247, 0.86);
  border: 1px solid rgba(230, 235, 239, 0.8);
}

.stat strong {
  display: block;
  font-size: 1.42rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-header {
  max-width: 800px;
  margin-bottom: 32px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-header p {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

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

.card {
  min-height: 230px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 235, 239, 0.9);
}

.card .number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(73, 230, 226, 0.18);
  color: var(--ink);
  font-weight: 900;
}

.card h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.028em;
}

.card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.panel {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(230, 235, 239, 0.88);
  box-shadow: var(--shadow);
}

.panel p:first-child {
  margin-top: 0;
}

.panel p:last-child {
  margin-bottom: 0;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "→";
  color: var(--green);
  font-weight: 900;
}

.band {
  width: min(var(--max), calc(100% - 40px));
  margin: 44px auto 88px;
  padding: 44px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(36, 48, 68, 0.96), rgba(45, 62, 86, 0.96)),
    var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(73, 230, 226, 0.32), transparent 68%);
}

.band-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.band h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.band p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  max-width: 720px;
}

.band .button {
  background: var(--white);
  color: var(--ink);
  border: 0;
}

.site-footer {
  border-top: 1px solid rgba(230, 235, 239, 0.9);
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-inner a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .band-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 68px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    padding: 50px 0 42px;
  }

  .hero-card {
    padding: 26px 20px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 46px 0;
  }

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

  .card {
    min-height: auto;
  }

  .band {
    padding: 30px 24px;
    margin-bottom: 58px;
  }
}

.small-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.small-note a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 48, 68, 0.28);
}

.small-note a:hover {
  border-bottom-color: var(--ink);
}

.focus-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(73, 230, 226, 0.12);
  color: var(--ink);
}

.focus-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svi-panel {
  display: block;
}



.footer-inner {
  justify-content: center;
  text-align: center;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(83, 96, 117, 0.28);
}

.site-footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 640px) {
  }

/* V7 updates */

.origins-section {
  position: relative;
}

.origins-section .section-header {
  max-width: none;
  padding: 42px;
  border-radius: 34px;
  border: 1px solid rgba(230, 235, 239, 0.9);
  background:
    linear-gradient(135deg, rgba(251, 250, 247, 0.92), rgba(251, 250, 247, 0.78)),
    radial-gradient(circle at 88% 16%, rgba(73, 230, 226, 0.24), transparent 22rem),
    linear-gradient(142deg, transparent 0 54%, rgba(53, 185, 79, 0.22) 54% 68%, rgba(122, 11, 57, 0.13) 68% 100%);
  box-shadow: 0 20px 70px rgba(28, 42, 62, 0.08);
  overflow: hidden;
}

.origins-section .section-header::after {
  content: "";
  position: absolute;
  inset: auto 42px 34px auto;
  width: 220px;
  height: 120px;
  opacity: 0.26;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(53, 185, 79, 0.95) 44% 56%, transparent 56%),
    linear-gradient(45deg, transparent 0 52%, rgba(122, 11, 57, 0.75) 52% 64%, transparent 64%);
  border-radius: 24px;
  pointer-events: none;
}

.svi-left {
  display: block;
}

.svi-list-panel {
  padding: 38px;
}

.svi-intro {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.svi-intro a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 48, 68, 0.28);
}

.svi-intro a:hover {
  border-bottom-color: var(--ink);
}

.role-kicker {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  letter-spacing: 0.16em;
}

@media (max-width: 920px) {
  }

@media (max-width: 640px) {
  .origins-section .section-header {
    padding: 30px 24px;
  }

  .svi-list-panel {
    padding: 28px 22px;
  }
}

/* V8 updates */

.origins-section .section-header {
  position: relative;
  min-height: 390px;
  display: grid;
  align-content: end;
  max-width: none;
  padding: 48px;
  border-radius: 34px;
  border: 1px solid rgba(230, 235, 239, 0.9);
  background-image:
    linear-gradient(90deg, rgba(25, 38, 56, 0.78), rgba(25, 38, 56, 0.46), rgba(25, 38, 56, 0.08)),
    url("origins-landscape.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 80px rgba(28, 42, 62, 0.14);
  overflow: hidden;
}

.origins-section .section-header::after {
  display: none;
}

.origins-section .kicker,
.origins-section h2,
.origins-section .section-header p {
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.origins-section .section-header p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.origins-section .section-header a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}

.origins-section .section-header a:hover {
  border-bottom-color: #ffffff;
}

@media (max-width: 920px) {
  }

@media (max-width: 640px) {
  .origins-section .section-header {
    min-height: 360px;
    padding: 30px 24px;
    background-position: center;
  }

  }

/* V9 collaboration principles redesign */

.principles-showcase {
  padding-top: 78px;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: 64px;
  align-items: center;
}

.principles-copy h2 {
  max-width: 620px;
}

.principles-copy > p {
  margin: 22px 0 0;
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
}

.principles-copy a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 48, 68, 0.32);
}

.principles-copy a:hover {
  border-bottom-color: var(--ink);
}

.framework-strip {
  margin-top: 48px;
  padding: 28px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 235, 239, 0.94);
  box-shadow: 0 20px 64px rgba(28, 42, 62, 0.08);
}

.framework-strip h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.028em;
}

.framework-accent {
  width: 64px;
  height: 3px;
  margin: 14px 0 18px;
  border-radius: 999px;
  background: var(--burgundy);
}

.framework-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.framework-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--ink);
  text-align: center;
  border-left: 1px solid rgba(35, 48, 68, 0.12);
}

.framework-item:first-child {
  border-left: 0;
}

.framework-item svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--burgundy);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.framework-item span {
  display: block;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.principles-book {
  display: grid;
  place-items: center;
}

.principles-book img {
  width: min(390px, 100%);
  height: auto;
  filter: drop-shadow(0 26px 42px rgba(35, 48, 68, 0.22));
}

@media (max-width: 980px) {
  .principles-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .principles-book {
    justify-content: start;
  }

  .principles-book img {
    width: min(300px, 70vw);
  }
}

@media (max-width: 720px) {
  .framework-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .framework-item:nth-child(odd) {
    border-left: 0;
  }

  .framework-item:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .framework-strip {
    padding: 24px 20px;
  }

  .framework-icons {
    grid-template-columns: 1fr;
  }

  .framework-item {
    border-left: 0;
    border-top: 1px solid rgba(35, 48, 68, 0.12);
    padding: 18px 0 0;
  }

  .framework-item:first-child {
    border-top: 0;
    padding-top: 0;
  }
}


/* V10 Platform refresh */

.platform-lockup {
  width: min(100%, 497px);
}

.framework-strip {
  margin-top: 48px;
  padding: 28px 30px 36px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 235, 239, 0.94);
  box-shadow: 0 20px 64px rgba(28, 42, 62, 0.08);
}

.framework-accent {
  width: 170px;
  height: 3px;
  margin: 14px 0 24px;
  border-radius: 999px;
  background: var(--burgundy);
}

.framework-icons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: start;
}

.framework-icons::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 11, 57, 0.95), rgba(122, 11, 57, 0.35), rgba(122, 11, 57, 0.95));
}

.framework-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0 18px 18px;
  color: var(--ink);
  text-align: center;
  border-left: 1px solid rgba(35, 48, 68, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
}

.framework-item:first-child {
  border-left: 0;
}

.framework-item svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--burgundy);
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.framework-item span {
  display: block;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

@media (max-width: 720px) {
  .framework-icons::after {
    display: none;
  }
}


/* V13 mobile fixes */

@media (max-width: 720px) {
  .framework-strip {
    padding: 28px 24px;
  }

  .framework-accent {
    width: 150px;
    margin-bottom: 20px;
  }

  .framework-icons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .framework-icons::after {
    display: none;
  }

  .framework-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    justify-items: start;
    gap: 16px;
    padding: 16px 0;
    text-align: left;
    border-left: 0;
    border-top: 1px solid rgba(35, 48, 68, 0.12);
    background: transparent;
  }

  .framework-item:first-child {
    border-top: 0;
    padding-top: 4px;
  }

  .framework-item svg {
    width: 38px;
    height: 38px;
  }

  .framework-item span {
    font-size: 1rem;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .stat-row {
    gap: 14px;
  }

  .stat span br {
    display: none;
  }
}


/* V14 desktop-only stat break */

@media (min-width: 641px) {
  .desktop-break {
    display: inline;
  }
}

@media (max-width: 640px) {
  .desktop-break {
    display: none;
  }
}


/* V15 stat line-break fix */

br.desktop-break {
  display: block;
}

@media (max-width: 640px) {
  br.desktop-break {
    display: none;
  }
}
