/* Homepage — platform story (Arena lives on /arena) */

.home-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.home-main,
.home-main * {
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.home-brand,
.home-hero__title,
.home-section__title,
.home-pillar h3,
.home-usecase h3,
.home-district__title,
.home-district__mark,
.home-anchor-callout__title,
.home-dual__lane h3,
.home-flow strong,
.home-pipeline strong,
.home-journey strong,
.home-street-principle,
.home-stats dt,
.home-founding__stats dt,
.home-prelaunch__sign {
  font-family: Syne, "DM Sans", sans-serif;
}

/* —— Pre-launch —— */
.home-prelaunch {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(212, 176, 106, 0.35);
  background: linear-gradient(90deg, rgba(69, 46, 10, 0.55), rgba(2, 6, 23, 0.95));
}

.home-prelaunch__sign {
  margin: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1c1408;
  background: #d4b06a;
}

.home-prelaunch__msg {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #e7d5a8;
}

/* —— Hero —— */
.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(52, 211, 153, 0.12);
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(16, 185, 129, 0.18), transparent 55%),
    radial-gradient(900px 500px at 10% 90%, rgba(6, 78, 59, 0.45), transparent 50%),
    linear-gradient(180deg, #020617 0%, #0a1620 55%, #07140f 100%);
}

.home-hero__glow {
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 70%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.14), transparent 70%);
  animation: home-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
}

@media (min-width: 960px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding: 4.5rem 1.5rem 4rem;
    gap: 3rem;
  }
}

.home-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #34d399;
  animation: home-rise 0.7s ease both;
}

.home-hero__title {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #f8fafc;
  animation: home-rise 0.8s 0.05s ease both;
}

.home-hero__lede {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #94a3b8;
  animation: home-rise 0.8s 0.1s ease both;
}

.home-hero__protocol {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  animation: home-rise 0.8s 0.12s ease both;
}

.home-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
  animation: home-rise 0.8s 0.16s ease both;
}

.home-hero__visual {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
  animation: home-rise 0.9s 0.12s ease both;
}

.home-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 960px) {
  .home-hero__visual {
    margin-right: -1rem;
  }
}

/* —— Shared section —— */
.home-section {
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
  background: #020617;
}

.home-section--town {
  background:
    linear-gradient(180deg, #020617 0%, #061018 40%, #020617 100%);
}

.home-section--arena {
  background:
    radial-gradient(700px 300px at 20% 50%, rgba(16, 185, 129, 0.08), transparent 60%),
    #020617;
}

.home-section--founding {
  background:
    linear-gradient(160deg, #042f2e 0%, #020617 55%, #0b1220 100%);
}

.home-section__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.home-section__title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f1f5f9;
}

.home-section__lede {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* —— Pillars —— */
.home-pillars {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 768px) {
  .home-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-pillar {
  padding: 1.35rem 1.25rem;
  border-top: 2px solid #34d399;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.4));
}

.home-pillar h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ecfdf5;
}

.home-pillar p {
  margin: 0.65rem 0 0;
  color: #94a3b8;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* —— Builder pipeline —— */
.home-pipeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .home-pipeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.home-pipeline li {
  padding: 1rem 0.9rem;
  border-top: 2px solid rgba(52, 211, 153, 0.55);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.35));
}

.home-pipeline strong {
  display: block;
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ecfdf5;
}

.home-pipeline span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #94a3b8;
}

/* —— Main Street journey —— */
.home-section--street {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(16, 185, 129, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(7, 20, 15, 0.5));
}

.home-journey {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(52, 211, 153, 0.35);
}

.home-journey li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0 1.1rem 1.25rem;
  position: relative;
}

.home-journey__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: -2.15rem;
  border-radius: 999px;
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #022c22;
  background: #34d399;
}

.home-journey strong {
  display: block;
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ecfdf5;
}

.home-journey em {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #94a3b8;
}

.home-street-principle {
  margin: 2.5rem 0 0;
  max-width: 36rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(52, 211, 153, 0.25);
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: #a7f3d0;
}

.home-usecase__district {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #34d399;
}

/* —— District inventory (commercial 18) —— */
.home-districts {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .home-districts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-districts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-district {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.2rem 1.25rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.55));
}

.home-district__mark {
  margin: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #022c22;
  background: #34d399;
}

.home-district__title {
  margin: 0;
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ecfdf5;
}

.home-district__purpose {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #94a3b8;
}

.home-district__biz {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  flex: 1 1 auto;
}

.home-district__biz li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.75);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: #e2e8f0;
}

.home-district__biz li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.35rem;
  height: 0.35rem;
  background: #34d399;
}

.home-district__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
  text-decoration: none;
}

.home-district__cta:hover,
.home-district__cta:focus-visible {
  color: #6ee7b7;
  text-decoration: underline;
  outline: none;
}

.home-district__cta:focus-visible {
  box-shadow: 0 0 0 2px #022c22, 0 0 0 4px #34d399;
  border-radius: 2px;
}

.home-anchor-callout {
  margin-top: 1.75rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.35), rgba(15, 23, 42, 0.7));
}

.home-anchor-callout__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.home-anchor-callout__title {
  margin: 0.45rem 0 0;
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ecfdf5;
}

.home-anchor-callout__body {
  margin: 0.55rem 0 0.85rem;
  max-width: 40rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #94a3b8;
}

/* —— Town —— */
.home-town-visual {
  margin: 0 0 2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.home-town-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  object-position: center;
}

.home-town-copy {
  margin-bottom: 2rem;
}

.home-town-copy .home-btn {
  margin-top: 1.25rem;
}

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

@media (min-width: 768px) {
  .home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-stats > div {
  padding: 1rem 0;
  border-top: 1px solid rgba(52, 211, 153, 0.25);
}

.home-stats dt {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #34d399;
  letter-spacing: -0.02em;
}

.home-stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

/* —— Activity —— */
.home-activity-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.home-activity {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-activity__row {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(51, 65, 85, 0.85);
  background: rgba(15, 23, 42, 0.65);
}

@media (min-width: 768px) {
  .home-activity__row {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    align-items: center;
  }
}

.home-activity__label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.home-activity__service {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: #e2e8f0;
  word-break: break-word;
}

.home-activity__mono {
  margin: 0.2rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.home-activity__ok {
  margin: 0.2rem 0 0;
  color: #34d399;
  font-size: 0.9rem;
}

.home-activity__empty {
  margin: 0;
  color: #64748b;
  padding: 1.25rem;
  border: 1px dashed rgba(71, 85, 105, 0.8);
}

/* —— Arena proof —— */
.home-arena-proof {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .home-arena-proof {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.home-arena-proof__visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  opacity: 0.92;
}

.home-arena-proof__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-arena-proof__note {
  margin: 1rem 0 1.5rem;
  color: #a8b5a4;
  font-size: 0.95rem;
}

/* —— Flow —— */
.home-flow {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .home-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.home-flow li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0.85rem;
  border-top: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(15, 23, 42, 0.5);
}

.home-flow span {
  font-family: Syne, sans-serif;
  font-size: 0.75rem;
  color: #34d399;
}

.home-flow strong {
  color: #f1f5f9;
  font-size: 1rem;
}

.home-flow em {
  font-style: normal;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* —— Use cases —— */
.home-usecases {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.home-usecase {
  display: block;
  padding: 1.15rem 1rem;
  text-decoration: none;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.home-usecase:hover {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(6, 78, 59, 0.25);
  transform: translateY(-2px);
}

.home-usecase h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #ecfdf5;
}

.home-usecase p {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.4;
}

.home-section--bridge {
  background:
    radial-gradient(800px 280px at 70% 20%, rgba(16, 185, 129, 0.1), transparent 55%),
    #020617;
}

.home-example {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  border-left: 3px solid #34d399;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.35), rgba(15, 23, 42, 0.85));
}

.home-example__label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  font-weight: 600;
}

.home-example__title {
  margin: 0.4rem 0 0;
  font-family: Syne, "DM Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ecfdf5;
}

.home-example__body {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: #cbd5e1;
  line-height: 1.55;
  font-size: 0.98rem;
}

.home-example__path {
  margin: 1rem 0 1.15rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.home-example__path span {
  color: #34d399;
  font-weight: 600;
}

/* —— Dual mode —— */
.home-dual {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .home-dual {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}

.home-dual__lane {
  padding: 1.35rem 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.home-dual__lane--live {
  border-color: rgba(52, 211, 153, 0.35);
}

.home-dual__lane h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  color: #f1f5f9;
}

.home-dual__lane ol {
  margin: 0;
  padding-left: 1.1rem;
  color: #94a3b8;
  line-height: 1.8;
}

.home-dual__rule {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(52, 211, 153, 0.5), transparent);
  justify-self: center;
}

@media (max-width: 719px) {
  .home-dual__rule {
    width: 100%;
    height: 1px;
  }
}

.home-dual__cta {
  margin: 1.5rem 0 0;
}

/* —— Founding —— */
.home-founding {
  text-align: center;
}

.home-founding .home-section__lede {
  margin-left: auto;
  margin-right: auto;
}

.home-founding__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem auto 2rem;
  max-width: 40rem;
}

.home-founding__stats dt {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #34d399;
}

.home-founding__stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* —— Buttons / links —— */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-btn--primary {
  background: #34d399;
  color: #022c22;
}

.home-btn--primary:hover {
  background: #6ee7b7;
}

.home-btn--ghost {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.35);
}

.home-btn--ghost:hover {
  border-color: #34d399;
  color: #34d399;
}

.home-btn--lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.home-link-arrow {
  color: #34d399;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.home-link-arrow:hover {
  color: #6ee7b7;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(4%, 6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand,
  .home-hero__title,
  .home-hero__lede,
  .home-hero__protocol,
  .home-hero__ctas,
  .home-hero__visual,
  .home-hero__glow {
    animation: none;
  }
}
