:root {
  --ink: #f7f3ea;
  --muted: #cfc7b7;
  --soft: rgba(247, 243, 234, 0.7);
  --line: rgba(247, 243, 234, 0.16);
  --panel: rgba(13, 18, 20, 0.74);
  --panel-strong: rgba(20, 29, 29, 0.9);
  --green: #a7ce72;
  --cyan: #49b7d9;
  --gold: #f1b65b;
  --rust: #d27f52;
  --night: #080d10;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

#world-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: #080d10;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 16, 0.96), rgba(8, 13, 16, 0.56) 48%, rgba(8, 13, 16, 0.88)),
    linear-gradient(180deg, rgba(8, 13, 16, 0.2), #080d10 92%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(68vw, 820px);
  aspect-ratio: 1;
  background: url("./assets/earthliving-logo.png") center / contain no-repeat;
  opacity: 0.085;
  filter: saturate(1.08) contrast(1.05);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 16, 0.78);
  backdrop-filter: blur(18px);
}

.mobile-preview {
  background: #030708;
}

.mobile-preview .site-header,
.mobile-preview main,
.mobile-preview .site-footer {
  max-width: 430px;
  margin-inline: auto;
}

.mobile-preview .site-header {
  left: 0;
  right: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
}

.mobile-preview .site-nav {
  width: 100%;
  flex-wrap: wrap;
  gap: 10px 16px;
  overflow: visible;
  padding-bottom: 0;
  font-size: 0.86rem;
}

.mobile-preview .hero {
  min-height: auto;
}

.mobile-preview .hero-stats,
.mobile-preview .feature-grid,
.mobile-preview .priority-list,
.mobile-preview .status-list {
  grid-template-columns: 1fr;
}

.mobile-preview h1 {
  font-size: 3.45rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(73, 183, 217, 0.26);
}

.brand span {
  background:
    linear-gradient(90deg, #d9f7a7, #8fd66f, #55c7d8, #f1d38b, #d9f7a7);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Oxanium", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  -webkit-text-fill-color: transparent;
  animation: living-title-flow 10s linear infinite;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--soft);
  font-size: 0.94rem;
}

.site-nav a,
.text-link {
  position: relative;
  text-decoration: none;
}

.site-nav a {
  background:
    linear-gradient(90deg, var(--soft), var(--soft)),
    linear-gradient(90deg, #d9f7a7, #8fd66f, #55c7d8, #f1d38b, #d9f7a7);
  background-size: 100% 100%, 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8fd66f, #55c7d8, #f1d38b);
  opacity: 0;
  transform: scaleX(0.32);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover {
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-shadow: 0 0 18px rgba(167, 206, 114, 0.24);
  -webkit-text-fill-color: transparent;
  animation: living-title-flow 8s linear infinite;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.view-toggle,
.language-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(247, 243, 234, 0.06);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
}

.view-toggle:hover,
.view-toggle[aria-pressed="true"],
.language-toggle:hover {
  border-color: rgba(167, 206, 114, 0.62);
  background: rgba(167, 206, 114, 0.13);
}

.language-toggle {
  gap: 2px;
  padding: 5px;
}

.language-toggle span {
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--soft);
}

.language-toggle[data-language="en"] [data-lang-option="en"],
.language-toggle[data-language="da"] [data-lang-option="da"] {
  color: #07100b;
  background: var(--green);
}

.view-toggle-icon {
  width: 11px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 rgba(247, 243, 234, 0.22);
}

.hero {
  position: relative;
  min-height: calc(100vh - 73px);
  display: block;
  overflow: hidden;
  padding: clamp(70px, 9vw, 112px) clamp(20px, 4vw, 60px) clamp(44px, 6vw, 72px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(8, 13, 16, 0.9));
  pointer-events: none;
}

.hero-content,
.launch-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-domain {
  margin: 0;
  color: var(--soft);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  display: inline-block;
  margin: 0;
  max-width: none;
  padding: 0 0.04em 0.18em;
  color: var(--green);
  background:
    linear-gradient(90deg, #d9f7a7, #8fd66f, #55c7d8, #f1d38b, #d9f7a7);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Oxanium", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(4.4rem, 7.9vw, 8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.01em;
  overflow: visible;
  text-shadow: 0 0 34px rgba(167, 206, 114, 0.18);
  -webkit-text-fill-color: transparent;
  animation: living-title-flow 10s linear infinite;
}

@keyframes living-title-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 260% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1,
  .brand span,
  .site-nav a:hover,
  .site-nav a:focus-visible {
    animation: none;
  }
}

.hero-lede {
  max-width: 820px;
  margin: 26px 0 0;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
}

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

.hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 36px var(--shadow);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(167, 206, 114, 0.78);
  color: #0b100d;
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: rgba(247, 243, 234, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 34px 0 0;
  margin-inline: auto;
}

.hero-stats div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero-stats dt {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 900;
}

.launch-panel,
.feature,
.roadmap-section,
.community-section,
.priority-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px var(--shadow);
  backdrop-filter: blur(18px);
}

.launch-panel {
  position: relative;
  overflow: hidden;
  align-self: end;
  max-width: 640px;
  margin: clamp(34px, 5vw, 54px) auto 0;
  padding: 28px;
  text-align: left;
}

.launch-panel::before {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -76px;
  width: 260px;
  aspect-ratio: 1;
  background: url("./assets/earthliving-logo.png") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 22px;
  border: 1px solid rgba(241, 182, 91, 0.54);
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffd28b;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-panel h2,
.section-heading h2,
.community-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.launch-panel h2,
.launch-panel p,
.status-pill {
  position: relative;
}

.launch-panel h2 {
  font-size: 1.55rem;
}

.launch-panel p,
.feature p,
.section-heading p,
.community-section p,
.timeline p,
.priority-list p,
.roadmap-note {
  color: var(--muted);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 0 clamp(20px, 4vw, 60px);
  border-block: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.035);
}

.signal-strip span {
  flex: 1 1 170px;
  padding: 14px 12px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 4vw, 60px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 780px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid-strong .feature {
  background: linear-gradient(180deg, rgba(247, 243, 234, 0.08), rgba(13, 18, 20, 0.76));
}

.feature {
  min-height: 260px;
  padding: 22px;
}

.feature-kicker {
  color: var(--cyan);
  font-weight: 900;
}

.feature h3,
.timeline h3,
.priority-list h3 {
  margin: 42px 0 10px;
  font-size: 1.28rem;
}

.plan-section {
  border-block: 1px solid rgba(247, 243, 234, 0.08);
  background:
    linear-gradient(90deg, rgba(73, 183, 217, 0.08), transparent 42%),
    linear-gradient(270deg, rgba(241, 182, 91, 0.08), transparent 44%);
}

.priority-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.priority-list article {
  min-height: 250px;
  padding: 20px;
}

.priority-list span {
  color: var(--gold);
  font-weight: 900;
}

.roadmap-section {
  margin-inline: clamp(20px, 4vw, 60px);
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(145deg, rgba(167, 206, 114, 0.1), rgba(13, 18, 20, 0.74) 42%),
    var(--panel);
}

.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(210px, 300px) 1fr;
  gap: 20px;
  align-items: stretch;
  margin: 34px 0 24px;
}

.roadmap-meter {
  display: grid;
  min-height: 220px;
  place-content: center;
  border: 1px solid rgba(167, 206, 114, 0.4);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(167, 206, 114, 0.2), transparent 64%),
    rgba(167, 206, 114, 0.08);
  text-align: center;
}

.roadmap-meter strong {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.85;
}

.roadmap-meter span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.status-item {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(247, 243, 234, 0.06);
}

.status-item span {
  color: var(--muted);
  font-weight: 900;
}

.status-item strong {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
}

.status-item.done strong {
  color: var(--green);
}

.status-item.active strong {
  color: var(--gold);
}

.status-item.waiting strong {
  color: var(--cyan);
}

.text-link {
  color: var(--green);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline-item > span {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--line);
}

.timeline-item.complete > span {
  background: var(--green);
}

.timeline-item.current > span {
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(241, 182, 91, 0.16);
}

.timeline h3 {
  margin: 0 0 6px;
}

.timeline p {
  margin: 0;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-inline: clamp(20px, 4vw, 60px);
  padding: clamp(24px, 5vw, 48px);
}

.community-section p {
  max-width: 700px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 60px);
  border-top: 1px solid var(--line);
  color: var(--soft);
}

@media (max-width: 1050px) {
  .launch-panel {
    align-self: auto;
    max-width: 640px;
  }

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

@media (max-width: 900px) {
  .hero,
  .roadmap-layout,
  .community-section {
    grid-template-columns: 1fr;
  }

  .hero::before {
    content: none;
  }

  .launch-panel {
    align-self: auto;
    max-width: none;
  }

  .feature-grid,
  .status-list {
    grid-template-columns: 1fr;
  }

  .status-item,
  .roadmap-meter {
    min-height: 150px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
    overflow: visible;
    padding-bottom: 0;
  }

  .view-toggle {
    display: none;
  }

  .language-toggle {
    order: 3;
  }

  .hero-mark {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 3.65rem;
  }

  .hero-stats,
  .priority-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
