:root {
  color-scheme: dark;
  --eco-bg: #07080b;
  --eco-bg-soft: #101217;
  --eco-panel: rgba(17, 19, 24, 0.84);
  --eco-panel-strong: rgba(9, 10, 13, 0.96);
  --eco-text: #f4f1e8;
  --eco-muted: #b9b4a9;
  --eco-gold: #d5ac5d;
  --eco-gold-light: #f4dfa8;
  --eco-gold-dark: #79501e;
  --eco-line: rgba(213, 172, 93, 0.24);
  --eco-focus: #f7e6b4;
  --eco-max: 1240px;
  --eco-radius: 22px;
  --eco-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--eco-bg);
}

html {
  scroll-behavior: smooth;
  background: var(--eco-bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--eco-text);
  background: var(--eco-bg);
}

.eco-shell,
.eco-shell * {
  box-sizing: border-box;
}

.eco-shell {
  min-height: 100svh;
  overflow: clip;
  background:
    radial-gradient(circle at 82% 8%, rgba(121, 80, 30, 0.26), transparent 32rem),
    radial-gradient(circle at 12% 30%, rgba(39, 55, 93, 0.18), transparent 34rem),
    linear-gradient(180deg, #050609 0%, #0b0d12 44%, #07080b 100%);
}

html[data-theme="world"] .eco-shell {
  background:
    radial-gradient(circle at 74% 8%, rgba(78, 53, 121, 0.3), transparent 32rem),
    radial-gradient(circle at 12% 42%, rgba(35, 72, 103, 0.2), transparent 34rem),
    linear-gradient(180deg, #05050a, #0c0c15 48%, #06070a);
}

html[data-theme="creaversum"] .eco-shell {
  background:
    radial-gradient(circle at 68% 12%, rgba(98, 43, 126, 0.26), transparent 33rem),
    radial-gradient(circle at 9% 38%, rgba(33, 84, 118, 0.25), transparent 35rem),
    linear-gradient(180deg, #03050a, #080d17 46%, #030408);
}

.eco-skip {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 18px;
  padding: 12px 16px;
  border-radius: 0 0 10px 10px;
  color: #050505;
  background: var(--eco-gold-light);
  font-weight: 850;
}

.eco-skip:focus {
  top: 0;
}

.eco-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(230px, auto) 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(22px, calc((100vw - var(--eco-max)) / 2));
  border-bottom: 1px solid var(--eco-line);
  background: rgba(5, 6, 9, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.eco-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  color: var(--eco-text);
  text-decoration: none;
}

.eco-brand span:last-child {
  display: grid;
  gap: 2px;
}

.eco-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eco-brand small {
  color: var(--eco-gold);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eco-mark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  filter: drop-shadow(0 0 15px rgba(213, 172, 93, 0.28));
}

.eco-mark i,
.eco-mark b {
  position: absolute;
  display: block;
  border: 1px solid var(--eco-gold);
  border-radius: 50%;
}

.eco-mark i:nth-child(1) {
  inset: 2px;
  opacity: 0.5;
}

.eco-mark i:nth-child(2) {
  width: 39px;
  height: 17px;
  transform: rotate(33deg);
  border-width: 2px;
  border-color: var(--eco-gold-light);
}

.eco-mark i:nth-child(3) {
  width: 39px;
  height: 17px;
  transform: rotate(-33deg);
  border-width: 2px;
}

.eco-mark b {
  width: 7px;
  height: 7px;
  border: 0;
  background: var(--eco-gold-light);
  box-shadow: 0 0 18px var(--eco-gold);
}

.eco-primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.eco-primary-nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--eco-muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.eco-primary-nav a:hover,
.eco-primary-nav a[aria-current="page"] {
  border-color: var(--eco-line);
  color: var(--eco-gold-light);
  background: rgba(213, 172, 93, 0.08);
}

.eco-menu-button {
  display: none;
  align-items: center;
  gap: 9px;
  justify-self: end;
  min-height: 44px;
  border: 1px solid var(--eco-line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--eco-text);
  background: rgba(213, 172, 93, 0.06);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 780;
  cursor: pointer;
}

.eco-menu-button i,
.eco-menu-button i::before,
.eco-menu-button i::after {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--eco-gold-light);
  content: "";
}

.eco-menu-button i::before {
  transform: translateY(-5px);
}

.eco-menu-button i::after {
  transform: translateY(4px);
}

.eco-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  align-items: center;
  gap: clamp(38px, 6vw, 94px);
  width: min(var(--eco-max), calc(100% - 44px));
  min-height: min(820px, calc(100svh - 76px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 130px) 0;
}

.eco-hero::before {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: 2%;
  width: min(44vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(213, 172, 93, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(213, 172, 93, 0.025),
    0 0 0 108px rgba(213, 172, 93, 0.018);
  content: "";
}

.eco-eyebrow,
.eco-section-heading > span,
.eco-truth > span {
  display: block;
  margin-bottom: 14px;
  color: var(--eco-gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eco-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 7.2vw, 7.45rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.eco-hero-copy > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d4d0c7;
  font-size: clamp(1.04rem, 1.55vw, 1.32rem);
  line-height: 1.72;
}

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

.eco-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid var(--eco-gold);
  border-radius: 999px;
  color: #07080b;
  background: linear-gradient(135deg, var(--eco-gold-light), var(--eco-gold));
  box-shadow: 0 12px 34px rgba(121, 80, 30, 0.2);
  font-weight: 880;
  text-decoration: none;
}

.eco-button-ghost {
  color: var(--eco-gold-light);
  background: rgba(213, 172, 93, 0.04);
  box-shadow: none;
}

.eco-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 42px rgba(121, 80, 30, 0.3);
}

.eco-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 9px 12px;
  border: 1px solid var(--eco-line);
  border-radius: 999px;
  color: var(--eco-gold-light);
  background: rgba(213, 172, 93, 0.07);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.eco-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6b469;
  box-shadow: 0 0 12px rgba(213, 172, 93, 0.9);
  content: "";
}

.eco-status-sealed::before {
  background: #9aa5b6;
  box-shadow: 0 0 12px rgba(154, 165, 182, 0.55);
}

.eco-hero-symbol {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  align-content: center;
  gap: 26px;
  border: 1px solid var(--eco-line);
  border-radius: min(8vw, 48px);
  background:
    radial-gradient(circle, rgba(213, 172, 93, 0.11), transparent 58%),
    linear-gradient(145deg, rgba(22, 24, 30, 0.84), rgba(6, 7, 10, 0.9));
  box-shadow: var(--eco-shadow);
  overflow: hidden;
  text-align: center;
}

.eco-hero-symbol::before,
.eco-hero-symbol::after {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(213, 172, 93, 0.14);
  border-radius: 50%;
  content: "";
}

.eco-hero-symbol::after {
  width: 57%;
  transform: rotate(47deg) scaleY(0.46);
  border-color: rgba(244, 223, 168, 0.22);
}

.eco-hero-symbol .eco-mark {
  z-index: 2;
  width: 190px;
  height: 190px;
}

.eco-hero-symbol .eco-mark i:nth-child(1) {
  inset: 10px;
}

.eco-hero-symbol .eco-mark i:nth-child(2),
.eco-hero-symbol .eco-mark i:nth-child(3) {
  width: 166px;
  height: 66px;
  border-width: 4px;
}

.eco-hero-symbol .eco-mark b {
  width: 18px;
  height: 18px;
}

.eco-hero-symbol > div {
  z-index: 2;
  display: grid;
  gap: 7px;
}

.eco-hero-symbol strong {
  color: var(--eco-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.eco-hero-symbol span {
  color: var(--eco-muted);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eco-section,
.eco-truth {
  width: min(var(--eco-max), calc(100% - 44px));
  margin: 0 auto;
}

.eco-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.eco-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 18px;
}

.eco-card {
  min-height: 255px;
  padding: 28px;
  border: 1px solid var(--eco-line);
  border-radius: var(--eco-radius);
  background: linear-gradient(145deg, rgba(24, 26, 32, 0.86), rgba(7, 8, 11, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.eco-card-number {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--eco-line);
  border-radius: 999px;
  color: var(--eco-gold-light);
  background: rgba(213, 172, 93, 0.06);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.eco-card h2 {
  margin: 34px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.12;
}

.eco-card p,
.eco-section-heading p,
.eco-truth p,
.eco-truth small {
  color: var(--eco-muted);
  line-height: 1.72;
}

.eco-truth {
  padding: 28px 32px;
  border: 1px solid var(--eco-line);
  border-left: 4px solid var(--eco-gold);
  border-radius: 0 var(--eco-radius) var(--eco-radius) 0;
  background: rgba(213, 172, 93, 0.06);
}

.eco-truth p {
  margin: 0;
  color: #ded8cc;
  font-size: 1.02rem;
}

.eco-truth small {
  display: block;
  margin-top: 12px;
}

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

.eco-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.eco-section-heading p {
  max-width: 740px;
  margin-top: 18px;
}

.eco-kernel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eco-kernel-grid li {
  display: grid;
  min-height: 220px;
  align-content: start;
  gap: 9px;
  padding: 24px;
  border: 1px solid rgba(161, 139, 206, 0.24);
  border-radius: var(--eco-radius);
  background: linear-gradient(145deg, rgba(38, 30, 56, 0.5), rgba(8, 8, 13, 0.9));
}

.eco-kernel-grid span {
  color: var(--eco-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.eco-kernel-grid strong {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.eco-kernel-grid small {
  color: var(--eco-muted);
  line-height: 1.5;
}

.eco-kernel-grid em {
  align-self: end;
  margin-top: 22px;
  color: #aeb6c5;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.eco-ems-stage {
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--eco-line);
}

.eco-contained {
  width: min(var(--eco-max), calc(100% - 44px));
  margin: 0 auto;
  padding-top: clamp(64px, 8vw, 112px);
}

.eco-build-warning {
  width: min(var(--eco-max), calc(100% - 44px));
  margin: 0 auto 50px;
  padding: 24px;
  border: 1px solid #a36d45;
  border-radius: 14px;
  color: #f4d1a8;
  background: rgba(107, 61, 34, 0.24);
}

.eco-map {
  border-top: 1px solid rgba(213, 172, 93, 0.12);
}

.eco-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}

.eco-domain-grid a {
  display: grid;
  min-height: 150px;
  align-content: start;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(213, 172, 93, 0.16);
  border-radius: 16px;
  color: var(--eco-text);
  background: rgba(12, 13, 17, 0.72);
  text-decoration: none;
}

.eco-domain-grid a:hover,
.eco-domain-grid a[aria-current="page"] {
  border-color: rgba(244, 223, 168, 0.5);
  background: rgba(213, 172, 93, 0.08);
  transform: translateY(-2px);
}

.eco-domain-grid span {
  color: var(--eco-gold);
  font-size: 0.7rem;
  font-weight: 860;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eco-domain-grid strong {
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.eco-domain-grid small {
  margin-top: 8px;
  color: var(--eco-muted);
  line-height: 1.4;
}

.eco-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 28px;
  padding: 46px max(22px, calc((100vw - var(--eco-max)) / 2));
  border-top: 1px solid var(--eco-line);
  color: var(--eco-muted);
  background: rgba(2, 3, 5, 0.92);
}

.eco-footer > div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.eco-footer strong {
  color: var(--eco-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.eco-footer p,
.eco-footer small,
.eco-footer span {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.eco-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px 14px;
}

.eco-footer a {
  color: var(--eco-gold-light);
  font-size: 0.82rem;
  font-weight: 730;
  text-decoration: none;
}

.eco-shell a:focus-visible,
.eco-shell button:focus-visible {
  outline: 3px solid var(--eco-focus);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .eco-header {
    grid-template-columns: 1fr auto;
  }

  .eco-menu-button {
    display: inline-flex;
  }

  .eco-primary-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 8px;
  }

  .eco-header[data-menu-open="true"] .eco-primary-nav {
    display: flex;
  }

  .eco-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .eco-hero-symbol {
    min-height: 360px;
  }

  .eco-hero::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .eco-header {
    min-height: 68px;
    gap: 10px;
    padding-block: 10px;
  }

  .eco-brand small {
    display: none;
  }

  .eco-mark {
    width: 40px;
    height: 40px;
  }

  .eco-hero,
  .eco-section,
  .eco-truth,
  .eco-contained {
    width: min(100% - 30px, var(--eco-max));
  }

  .eco-hero {
    padding-block: 58px 72px;
  }

  .eco-hero h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .eco-actions {
    display: grid;
  }

  .eco-button {
    width: 100%;
  }

  .eco-status {
    align-items: flex-start;
    border-radius: 14px;
    line-height: 1.45;
  }

  .eco-hero-symbol {
    min-height: 315px;
    border-radius: 28px;
  }

  .eco-hero-symbol .eco-mark {
    width: 145px;
    height: 145px;
  }

  .eco-hero-symbol .eco-mark i:nth-child(2),
  .eco-hero-symbol .eco-mark i:nth-child(3) {
    width: 124px;
    height: 52px;
  }

  .eco-card {
    min-height: 0;
  }

  .eco-truth {
    padding: 24px;
  }

  .eco-footer {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .eco-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .eco-shell *,
  .eco-shell *::before,
  .eco-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
